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 SoBevelPropertyElement * | getInstance (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. | |
Stores various beveling attributes.
This element stores various beveling attributes.
Definition at line 40 of file SoBevelPropertyElement.h.
|
inline |
Gets the bevel properties (angle).
Definition at line 76 of file SoBevelPropertyElement.h.
|
static |
Returns the stack id for this element.
|
static |
Returns the type identifier for this class.
|
inlinestatic |
Returns the top (current) instance of the element in the state.
Definition at line 70 of file SoBevelPropertyElement.h.
|
inline |
Gets the bevel properties (radius).
Definition at line 80 of file SoBevelPropertyElement.h.
|
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.
|
inline |
Gets the bevel properties (absolute radius).
Definition at line 84 of file SoBevelPropertyElement.h.
|
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.
|
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.
|
inline |
Gets the bevel properties (enabled flag).
Definition at line 88 of file SoBevelPropertyElement.h.
|
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.
|
virtual |
Prints element (for debugging).
Reimplemented from SoReplacedElement.
|
static |
Sets the bevel radius as an absolute value.
Sets the bevel angle: if 2 adjacent faces make a greater angle, then their common edge is beveled.
|
static |
Sets the bevel radius as a percentage [0.0, 1.0] of the greater value of the length of each edge.
Allows the user to switch on/off the tests applied before the bevel (can increase speed when the tests are not needed).