Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoBevelPropertyElement Class Reference

VSG extension Stores various beveling attributes. More...

#include <Inventor/elements/SoBevelPropertyElement.h>

+ Inheritance diagram for SoBevelPropertyElement:

Public Member Functions

float getAngle () const
 Gets the bevel properties (angle).
 
float getRadius () const
 Gets the bevel properties (radius).
 
SbBool isAbsoluteRadius () const
 Gets the bevel properties (absolute radius).
 
SbBool isEnabled () const
 Gets the bevel properties (enabled flag).
 
SbBool isCoplanarTestEnabled () const
 Method to know if this test is enabled.
 
SbBool isDuplicateTestEnabled () const
 Method to know if this test is enabled.
 
SbBool isOrderingTestEnabled () const
 Method to know if this test is enabled.
 
int getTestsToDoBeforeBevel () const
 Method to know the different tests currently selected; these tests will be performed on each shape before beveling is applied.
 
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
- Public Member Functions inherited from SoElement
virtual void push (SoState *state)
 Pushes element.
 
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Pops element.
 
virtual SoType getTypeId () const
 Returns type identifier for element instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
static void setAngle (SoState *state, SoNode *node, float)
 Sets the bevel angle: if 2 adjacent faces make a greater angle, then their common edge is beveled.
 
static void setRadius (SoState *state, SoNode *node, float=SoBevelProperty::DEFAULT_RADIUS)
 Sets the bevel radius as a percentage [0.0, 1.0] of the greater value of the length of each edge.
 
static void setAbsoluteRadius (SoState *state, SoNode *node, float)
 Sets the bevel radius as an absolute value.
 
static void setTests (SoState *state, SoNode *node, int)
 Allows the user to switch on/off the tests applied before the bevel (can increase speed when the tests are not needed).
 
static const SoBevelPropertyElementgetInstance (SoState *state)
 Returns the top (current) instance of the element in the state.
 
- Static Public Member Functions inherited from SoReplacedElement
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
- Static Public Member Functions inherited from SoElement
static SoType getClassTypeId ()
 Returns type identifier for SoElement class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Detailed Description

VSG extension Stores various beveling attributes.

This element stores various beveling attributes.

SEE ALSO

SoBevelProperty

Definition at line 40 of file SoBevelPropertyElement.h.

Member Function Documentation

◆ getAngle()

float SoBevelPropertyElement::getAngle ( ) const
inline

Gets the bevel properties (angle).

Definition at line 76 of file SoBevelPropertyElement.h.

◆ getClassStackIndex()

static int SoBevelPropertyElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoBevelPropertyElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getInstance()

static const SoBevelPropertyElement * SoBevelPropertyElement::getInstance ( SoState state)
inlinestatic

Returns the top (current) instance of the element in the state.

Definition at line 70 of file SoBevelPropertyElement.h.

◆ getRadius()

float SoBevelPropertyElement::getRadius ( ) const
inline

Gets the bevel properties (radius).

Definition at line 80 of file SoBevelPropertyElement.h.

◆ getTestsToDoBeforeBevel()

int SoBevelPropertyElement::getTestsToDoBeforeBevel ( ) const
inline

Method to know the different tests currently selected; these tests will be performed on each shape before beveling is applied.

Definition at line 108 of file SoBevelPropertyElement.h.

◆ isAbsoluteRadius()

SbBool SoBevelPropertyElement::isAbsoluteRadius ( ) const
inline

Gets the bevel properties (absolute radius).

Definition at line 84 of file SoBevelPropertyElement.h.

◆ isCoplanarTestEnabled()

SbBool SoBevelPropertyElement::isCoplanarTestEnabled ( ) const
inline

Method to know if this test is enabled.

If it is, this test will be performed on each shape before the bevel.

Definition at line 93 of file SoBevelPropertyElement.h.

◆ isDuplicateTestEnabled()

SbBool SoBevelPropertyElement::isDuplicateTestEnabled ( ) const
inline

Method to know if this test is enabled.

If it is, this test will be performed on each shape before the bevel.

Definition at line 98 of file SoBevelPropertyElement.h.

◆ isEnabled()

SbBool SoBevelPropertyElement::isEnabled ( ) const
inline

Gets the bevel properties (enabled flag).

Definition at line 88 of file SoBevelPropertyElement.h.

◆ isOrderingTestEnabled()

SbBool SoBevelPropertyElement::isOrderingTestEnabled ( ) const
inline

Method to know if this test is enabled.

If it is, this test will be performed on each shape before the bevel.

Definition at line 103 of file SoBevelPropertyElement.h.

◆ print()

virtual void SoBevelPropertyElement::print ( FILE *  fp) const
virtual

Prints element (for debugging).

Reimplemented from SoReplacedElement.

◆ setAbsoluteRadius()

static void SoBevelPropertyElement::setAbsoluteRadius ( SoState state,
SoNode node,
float   
)
static

Sets the bevel radius as an absolute value.

◆ setAngle()

static void SoBevelPropertyElement::setAngle ( SoState state,
SoNode node,
float   
)
static

Sets the bevel angle: if 2 adjacent faces make a greater angle, then their common edge is beveled.

◆ setRadius()

static void SoBevelPropertyElement::setRadius ( SoState state,
SoNode node,
float  = SoBevelProperty::DEFAULT_RADIUS 
)
static

Sets the bevel radius as a percentage [0.0, 1.0] of the greater value of the length of each edge.

◆ setTests()

static void SoBevelPropertyElement::setTests ( SoState state,
SoNode node,
int   
)
static

Allows the user to switch on/off the tests applied before the bevel (can increase speed when the tests are not needed).


The documentation for this class was generated from the following file: