SoNonIndexedShape(3IV)NAMESoNonIndexedShape (SoNonIndexedShape) - abstract base class for all non-
indexed vertex-based shapes
INHERITS FROM
SoBase > SoFieldContainer > SoNode > SoShape > SoVertexShape >
SoNonIndexedShapeSYNOPSIS
#include <Inventor_c/nodes/SoNonIndexedShape.h>
Fields from class SoNonIndexedShape:
SoSFInt32 startIndex
Fields from class SoVertexShape:
SoSFNode vertexProperty
Functions from class SoNonIndexedShape:
SoType SoNonIndexedShapeGetClassTypeId()
Functions from class SoNode:
void SoNonIndexedShapeSetOverride(SoNonIndexedShape *this,
SbBool state)
SbBool SoNonIndexedShapeIsOverride(const SoNonIndexedShape
*this)
SoNode * SoNonIndexedShapeCopy(const SoNonIndexedShape *this,
SbBool copyConnections = FALSE)
SbBool SoNonIndexedShapeAffectsState(const SoNonIndexedShape
*this)
SoNode * SoNonIndexedShapeGetByName(const char *name)
int SoNonIndexedShapeGetByNameList(const char *name,
SoNodeList *list)
Functions from class SoFieldContainer:
void SoNonIndexedShapeSetToDflts(SoNonIndexedShape *this)
SbBool SoNonIndexedShapeHasDfltVals(const SoNonIndexedShape
*this)
SbBool SoNonIndexedShapeFldsAreEq(const SoNonIndexedShape
*this, const SoFieldContainer *fc)
void SoNonIndexedShapeCopyFieldVals(SoNonIndexedShape
*this, const SoFieldContainer *fc, SbBool
copyConnections = FALSE)
SbBool SoNonIndexedShapeSet(SoNonIndexedShape *this, const
char *fieldDataString)
void SoNonIndexedShapeGet(SoNonIndexedShape *this,
SbString *fieldDataString)
Page 1SoNonIndexedShape(3IV)
int SoNonIndexedShapeGetFields(const SoNonIndexedShape
*this, SoFieldList *resultList)
SoField * SoNonIndexedShapeGetField(const SoNonIndexedShape
*this, const char *fieldName)
SbBool SoNonIndexedShapeGetFieldName(const SoNonIndexedShape
*this, const SoField *field, SbName *fieldName)
SbBool SoNonIndexedShapeIsNotifyEnabled(const
SoNonIndexedShape *this)
SbBool SoNonIndexedShapeEnableNotify(SoNonIndexedShape
*this, SbBool flag)
Functions from class SoBase:
void SoNonIndexedShapeRef(SoNonIndexedShape *this)
void SoNonIndexedShapeUnref(const SoNonIndexedShape *this)
void SoNonIndexedShapeUnrefNoDelete(const
SoNonIndexedShape *this)
void SoNonIndexedShapeTouch(SoNonIndexedShape *this)
SoType SoNonIndexedShapeGetTypeId(const SoNonIndexedShape
*this)
SbBool SoNonIndexedShapeIsOfType(const SoNonIndexedShape
*this, SoType type)
void SoNonIndexedShapeSetName(SoNonIndexedShape *this,
const char *name)
SbName SoNonIndexedShapeGetName(const SoNonIndexedShape
*this)
DESCRIPTION
This node is the abstract base class for all vertex-based shapes that are
not constructed from indices, such as SoFaceSet, SoLineSet, and
SoQuadMesh.
All subclasses of SoNonIndexedShape construct objects by using the
coordinates specified in the vertexProperty field (from SoVertexShape),
or the current inherited coordinates. The startIndex field defined by
this class is now obsolete, and is provided here only for compatibility
with old files and programs.
The subclass decides what to do with this and any subsequent coordinates.
The shape is drawn with the current lighting model and drawing style and
is transformed by the current transformation matrix.
Material, normal, and texture coordinate bindings for shapes derived from
this class ignore any index specifications. That is, a binding value of
PER_FACE_INDEXED is treated the same way as PER_FACE, and so on.
If there aren't sufficient values in the current coordinates, material,
or texture coordinates, errors will occur.
Page 2SoNonIndexedShape(3IV)FIELDS
SoSFInt32 startIndex
Obsolete field, provided only for compatibility reasons. Index of
first coordinate of shape.
FUNCTIONS
SoType SoNonIndexedShapeGetClassTypeId()
Returns type identifier for this class.
FILE FORMAT/DEFAULTS
This is an abstract class. See the reference page of a derived class for
the format and default values.
SEE ALSO
SoFaceSet, SoIndexedShape, SoLineSet, SoPointSet, SoQuadMesh,
SoTriangleStripSet, SoVertexProperty
Page 3