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

SoPointDetail — stores detail information about vertex-based shapes made of points

Description

       This  class  contains detail information about a point in a vertex-based shape made of points. It is used
       for returning information about an intersection with or primitives generated by a set of  points.  It  is
       also  used  by  SoFaceDetail  and SoLineDetail to return information about the vertices of faces and line
       segments.

Inherits From

       SoDetail > SoPointDetail

Methods

SoPointDetail()virtual~SoPointDetail()
          Constructor and destructor.

     int32_tgetCoordinateIndex()const
          Returns the index of the point within the relevant coordinate node.

     int32_tgetMaterialIndex()const
          Returns the index of the material for the point within the relevant material node.

     int32_tgetNormalIndex()const
          Returns the index of the surface normal at the point within the relevant normal  node.  Note  that  if
          normals have been generated for a shape, the index may not be into an existing normal node.

     int32_tgetTextureCoordIndex()const
          Returns  the index of the texture coordinates for the point within the relevant normal node. Note that
          if texture coordinates have been generated for a shape, the index may not be into an existing  texture
          coordinate node.

Name

       SoPointDetail — stores detail information about vertex-based shapes made of points

See Also

SoDetail,SoPickedPoint,SoPrimitiveVertex,SoVertexShape,SoFaceDetail,SoLineDetailSoPointDetail(3IV)()

Synopsis

#include<Inventor/details/SoPointDetail.h>

          Methods from class SoPointDetail:

                         SoPointDetail()virtual~SoPointDetail()int32_tgetCoordinateIndex()constint32_tgetMaterialIndex()constint32_tgetNormalIndex()constint32_tgetTextureCoordIndex()const

          Methods from class SoDetail:

     SoDetail*copy()conststaticSoTypegetClassTypeId()virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)const

See Also