1SoNonIndexedShape(3IV)() SoNonIndexedShape(3IV)()
2
3
4
6 SoNonIndexedShape — abstract base class for all non-indexed vertex-
7 based shapes
8
10 SoBase > SoFieldContainer > SoNode > SoShape > SoVertexShape > SoNonIn‐
11 dexedShape
12
14 #include <Inventor/nodes/SoNonIndexedShape.h>
15
16 Fields from class SoNonIndexedShape:
17
18 SoSFInt32 startIndex
19
20 Fields from class SoVertexShape:
21
22 SoSFNode vertexProperty
23
24 Methods from class SoNonIndexedShape:
25
26 static SoType getClassTypeId()
27
28 Methods from class SoNode:
29
30 void setOverride(SbBool state)
31 SbBool isOverride() const
32 SoNode * copy(SbBool copyConnections = FALSE) const
33 virtual SbBool affectsState() const
34 static SoNode * getByName(const SbName &name)
35 static int getByName(const SbName &name, SoNodeList &list)
36
37 Methods from class SoFieldContainer:
38
39 void setToDefaults()
40 SbBool hasDefaultValues() const
41 SbBool fieldsAreEqual(const SoFieldContainer *fc) const
42 void copyFieldValues(const SoFieldContainer *fc, SbBool
43 copyConnections = FALSE)
44 SbBool set(const char *fieldDataString)
45 void get(SbString &fieldDataString)
46 virtual int getFields(SoFieldList &resultList) const
47 virtual SoField * getField(const SbName &fieldName) const
48 SbBool getFieldName(const SoField *field, SbName &fieldName)
49 const
50 SbBool isNotifyEnabled() const
51 SbBool enableNotify(SbBool flag)
52
53 Methods from class SoBase:
54
55 void ref()
56 void unref() const
57 void unrefNoDelete() const
58 void touch()
59 virtual SoType getTypeId() const
60 SbBool isOfType(SoType type) const
61 virtual void setName(const SbName &name)
62 virtual SbName getName() const
63
64
66 This node is the abstract base class for all vertex-based shapes that
67 are not constructed from indices, such as SoFaceSet, SoLineSet, and
68 SoQuadMesh.
69
70 All subclasses of SoNonIndexedShape construct objects by using the
71 coordinates specified in the vertexProperty field (from SoVertexShape),
72 or the current inherited coordinates. The startIndex field defined by
73 this class is now obsolete, and is provided here only for compatibility
74 with old files and programs.
75
76 The subclass decides what to do with this and any subsequent coordi‐
77 nates. The shape is drawn with the current lighting model and drawing
78 style and is transformed by the current transformation matrix.
79
80 Material, normal, and texture coordinate bindings for shapes derived
81 from this class ignore any index specifications. That is, a binding
82 value of PER_FACE_INDEXED is treated the same way as PER_FACE, and so
83 on.
84
85 If there aren't sufficient values in the current coordinates, material,
86 or texture coordinates, errors will occur.
87
89 SoSFInt32 startIndex
90 Obsolete field, provided only for compatibility reasons. Index of
91 first coordinate of shape.
92
93
95 static SoType getClassTypeId()
96 Returns type identifier for this class.
97
98
100 This is an abstract class. See the reference page of a derived class
101 for the format and default values.
102
104 SoFaceSet, SoIndexedShape, SoLineSet, SoPointSet, SoQuadMesh, SoTrian‐
105 gleStripSet, SoVertexProperty
106
107
108
109
110 SoNonIndexedShape(3IV)()