Node to define beveling properties. More...
#include <Inventor/nodes/SoBevelProperty.h>
Public Types | |
enum | Test { COPLANAR_TEST = 0x01, DUPLICATE_TEST = 0x02, ORDERING_TEST = 0x04, ALL_TESTS = 0x07 } |
Public Member Functions | |
virtual SoType | getTypeId () const |
SoBevelProperty () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFFloat | angle |
SoSFFloat | radius |
SoSFBool | absoluteRadius |
SoSFBool | vrmlOutput |
SoSFBitMask | testsBeforeBevel |
This node defines the current beveling properties (used by SoBevelAction) for all subsequent shapes.
You can use it to specify a beveling radius (absolute or relative) and an angle between adjacent faces (like a crease angle) that determines if the edge between those faces will be beveled.
angle | 0.5 |
radius | 0.05 |
absoluteRadius | FALSE |
vrmlOutput | FALSE |
testsBeforeBevel | DUPLICATE_TEST | ORDERING_TEST |
SoBevelAction, SoEdgeFlag, SoVertexFlag
SoBevelProperty::SoBevelProperty | ( | ) |
Constructor.
static SoType SoBevelProperty::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoNode.
virtual SoType SoBevelProperty::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoNode.
Indicates the angle (in radians, between 0 and pi) between two adjacent face normals above which the edge will be beveled.
(If the edge has been unmarked by the current SoEdgeFlag it will not be beveled, regardless of the value of angle).
This defines the bevel radius (the size of the rounded edge or corner).
This value will be interpreted as absolute or relative depending on the absoluteRadius flag (below).
Which tests should be performed in order to "clean up" the shape before it is beveled.
Flag for the type of the output shapes.
If TRUE, the beveled shapes are created using VRML indexed face sets (SoVRMLIndexedFaceSet). Otherwise, the beveled shapes are created using standard Open Inventor indexed face sets (SoIndexedFaceSet).