Class to mark/unmark vertices for beveling. More...
#include <Inventor/nodes/SoVertexFlag.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVertexFlag () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFInt32 | vertexMarked |
SoMFInt32 | vertexUnmarked |
This node specifies the current marked/unmarked vertices for all subsequent shapes. Marked vertices will be beveled by SoBevelAction; unmarked vertices will not. It is defined using int_32t arrays.
For vertex-based shapes, the array elements are simply indices of the selected vertices in the coordinate array.
For SoCube, the following vertices can be marked/unmarked:
For SoCone, at least one value greater than or equal to 0 in the array marks/unmarks the top of the cone (which is the only vertex that can be marked).
For SoCylinder, no vertex can be marked/unmarked.
vertexMarked | -1 |
vertexUnmarked | -1 |
SoBevelAction, SoBevelProperty, SoEdgeFlag
SoVertexFlag::SoVertexFlag | ( | ) |
Constructor.
static SoType SoVertexFlag::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoNode.
virtual SoType SoVertexFlag::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoNode.
These are the fields for marked/unmarked vertices.
If a vertex appears in both arrays, it is unmarked.