logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SoNonIndexedShape — abstract base class for all non-indexed vertex-based shapes

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.

Fields

SoSFInt32startIndex
          Obsolete field, provided only for compatibility reasons. Index of first coordinate of shape.

File Format/Defaults

       This is an abstract class. See the reference page of a derived class for the format and default values.

Inherits From

       SoBase > SoFieldContainer > SoNode > SoShape > SoVertexShape > SoNonIndexedShape

Methods

staticSoTypegetClassTypeId()
          Returns type identifier for this class.

Name

       SoNonIndexedShape — abstract base class for all non-indexed vertex-based shapes

See Also

SoFaceSet,SoIndexedShape,SoLineSet,SoPointSet,SoQuadMesh,SoTriangleStripSet,SoVertexPropertySoNonIndexedShape(3IV)()

Synopsis

#include<Inventor/nodes/SoNonIndexedShape.h>

          Fields from class SoNonIndexedShape:

     SoSFInt32startIndex

          Fields from class SoVertexShape:

     SoSFNodevertexProperty

          Methods from class SoNonIndexedShape:

     staticSoTypegetClassTypeId()

          Methods from class SoNode:

     voidsetOverride(SbBoolstate)SbBoolisOverride()constSoNode*copy(SbBoolcopyConnections=FALSE)constvirtualSbBoolaffectsState()conststaticSoNode*getByName(constSbName&name)staticintgetByName(constSbName&name,SoNodeList&list)

          Methods from class SoFieldContainer:

     voidsetToDefaults()SbBoolhasDefaultValues()constSbBoolfieldsAreEqual(constSoFieldContainer*fc)constvoidcopyFieldValues(constSoFieldContainer*fc,SbBoolcopyConnections=FALSE)SbBoolset(constchar*fieldDataString)voidget(SbString&fieldDataString)virtualintgetFields(SoFieldList&resultList)constvirtualSoField*getField(constSbName&fieldName)constSbBoolgetFieldName(constSoField*field,SbName&fieldName)constSbBoolisNotifyEnabled()constSbBoolenableNotify(SbBoolflag)

          Methods from class SoBase:

     voidref()voidunref()constvoidunrefNoDelete()constvoidtouch()virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvirtualvoidsetName(constSbName&name)virtualSbNamegetName()const

See Also