Open Inventor Reference
SoPointDetail Class Reference

Stores detail information about vertex-based shapes made of points. More...

#include <Inventor/details/SoPointDetail.h>

Inheritance diagram for SoPointDetail:
SoDetail

Public Member Functions

 SoPointDetail ()
 Constructor and destructor. More...
 
virtual ~SoPointDetail ()
 Constructor and destructor. More...
 
int32_t getCoordinateIndex () const
 Returns the index of the point within the relevant coordinate node. More...
 
int32_t getMaterialIndex () const
 Returns the index of the material for the point within the relevant material node. More...
 
int32_t getNormalIndex () const
 Returns the index of the surface normal at the point within the relevant normal node. More...
 
int32_t getTextureCoordIndex () const
 Returns the index of the texture coordinates for the point within the relevant normal node. More...
 
virtual SoDetailcopy () const
 Returns an instance that is a copy of this instance. More...
 
void setCoordinateIndex (int32_t i)
 Each of these sets one of the indices in the detail. More...
 
void setMaterialIndex (int32_t i)
 
void setNormalIndex (int32_t i)
 
void setTextureCoordIndex (int32_t i)
 
void setCoordinateIndex (long i)
 
void setMaterialIndex (long i)
 
void setNormalIndex (long i)
 
void setTextureCoordIndex (long i)
 
- Public Member Functions inherited from SoDetail
virtual ~SoDetail ()
 Destructor. More...
 
virtual SoType getTypeId () const =0
 Returns the type identifier for a specific instance. More...
 
bool isOfType (SoType type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type. More...
 

Static Public Member Functions

static void initClass ()
 
- Static Public Member Functions inherited from SoDetail
static SoType getClassTypeId ()
 Returns type identifier for this class. More...
 
static void initClass ()
 
static void initClasses ()
 Initialize ALL Inventor detail classes. More...
 

Additional Inherited Members

- Protected Member Functions inherited from SoDetail
 SoDetail ()
 Constructor is protected since this is an abstract class. More...
 

Detailed 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.

See Also
SoDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape, SoFaceDetail, SoLineDetail

Definition at line 79 of file SoPointDetail.h.

Constructor & Destructor Documentation

◆ SoPointDetail()

SoPointDetail::SoPointDetail ( )

◆ ~SoPointDetail()

virtual SoPointDetail::~SoPointDetail ( )
virtual

Member Function Documentation

◆ copy()

virtual SoDetail* SoPointDetail::copy ( ) const
virtual

The caller is responsible for deleting the copy when done.

Implements SoDetail.

◆ getCoordinateIndex()

int32_t SoPointDetail::getCoordinateIndex ( ) const
inline

Definition at line 91 of file SoPointDetail.h.

◆ getMaterialIndex()

int32_t SoPointDetail::getMaterialIndex ( ) const
inline

Definition at line 95 of file SoPointDetail.h.

◆ getNormalIndex()

int32_t SoPointDetail::getNormalIndex ( ) const
inline

Note that if normals have been generated for a shape, the index may not be into an existing normal node.

Definition at line 99 of file SoPointDetail.h.

◆ getTextureCoordIndex()

int32_t SoPointDetail::getTextureCoordIndex ( ) const
inline

Note that if texture coordinates have been generated for a shape, the index may not be into an existing texture coordinate node.

Definition at line 104 of file SoPointDetail.h.

◆ initClass()

static void SoPointDetail::initClass ( )
static

◆ setCoordinateIndex() [1/2]

void SoPointDetail::setCoordinateIndex ( int32_t  i)
inline

Definition at line 112 of file SoPointDetail.h.

◆ setCoordinateIndex() [2/2]

void SoPointDetail::setCoordinateIndex ( long  i)
inline
Parameters
iSystem long

Definition at line 118 of file SoPointDetail.h.

◆ setMaterialIndex() [1/2]

void SoPointDetail::setMaterialIndex ( int32_t  i)
inline

Definition at line 113 of file SoPointDetail.h.

◆ setMaterialIndex() [2/2]

void SoPointDetail::setMaterialIndex ( long  i)
inline
Parameters
iSystem long

Definition at line 120 of file SoPointDetail.h.

◆ setNormalIndex() [1/2]

void SoPointDetail::setNormalIndex ( int32_t  i)
inline

Definition at line 114 of file SoPointDetail.h.

◆ setNormalIndex() [2/2]

void SoPointDetail::setNormalIndex ( long  i)
inline
Parameters
iSystem long

Definition at line 122 of file SoPointDetail.h.

◆ setTextureCoordIndex() [1/2]

void SoPointDetail::setTextureCoordIndex ( int32_t  i)
inline

Definition at line 115 of file SoPointDetail.h.

◆ setTextureCoordIndex() [2/2]

void SoPointDetail::setTextureCoordIndex ( long  i)
inline
Parameters
iSystem long

Definition at line 124 of file SoPointDetail.h.


The documentation for this class was generated from the following file: