| 1 |
NAME SoNonIndexedShape SoNonIndexedShape "" { |
| 2 |
abstract base class for all non-indexed vertex-based shapes |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE nodes/SoNonIndexedShape.h |
| 6 |
|
| 7 |
DESC { |
| 8 |
This node is the abstract base class for all vertex-based shapes that |
| 9 |
are not constructed from indices, such as \cSoFaceSet\., |
| 10 |
\cSoLineSet\., and \cSoQuadMesh\.. |
| 11 |
\p |
| 12 |
All subclasses of \cSoNonIndexedShape\. construct objects by using the |
| 13 |
coordinates specified in the \vvertexProperty\. field (from |
| 14 |
\cSoVertexShape\.), or the current inherited coordinates. |
| 15 |
|
| 16 |
The \vstartIndex\. |
| 17 |
field defined by this class is now obsolete, and is provided |
| 18 |
here only for compatibility with old files and programs. |
| 19 |
\p |
| 20 |
The subclass decides what to do with this |
| 21 |
and any subsequent coordinates. The shape is drawn with the current |
| 22 |
lighting model and drawing style and is transformed by the current |
| 23 |
transformation matrix. |
| 24 |
\p |
| 25 |
Material, normal, and texture coordinate bindings for shapes derived |
| 26 |
from this class ignore any index specifications. That is, a binding |
| 27 |
value of \kPER_FACE_INDEXED\. is treated the same way as \kPER_FACE\., |
| 28 |
and so on. |
| 29 |
\p |
| 30 |
If there aren't sufficient values in the current coordinates, |
| 31 |
material, or texture coordinates, errors will occur. |
| 32 |
} |
| 33 |
|
| 34 |
FIELD startIndex { Obsolete field, provided only for compatibility |
| 35 |
reasons. Index of first coordinate of shape. } |
| 36 |
|
| 37 |
METHOD "" static SoType getClassTypeId() { |
| 38 |
Returns type identifier for this class. |
| 39 |
} |
| 40 |
|
| 41 |
ALSO { |
| 42 |
SoFaceSet, |
| 43 |
SoIndexedShape, |
| 44 |
SoLineSet, |
| 45 |
SoPointSet, |
| 46 |
SoQuadMesh, |
| 47 |
SoTriangleStripSet, |
| 48 |
SoVertexProperty |
| 49 |
} |