Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoPointDetail Class Reference

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

#include <Inventor/details/SoPointDetail.h>

+ Inheritance diagram for SoPointDetail:

Public Member Functions

virtual SoType getTypeId () const
 Returns the type identifier for this specific instance.
 
 SoPointDetail ()
 Constructor.
 
virtual ~SoPointDetail ()
 Destructor.
 
int32_t getCoordinateIndex () const
 Returns the index of the point within the relevant coordinate node.
 
int32_t getMaterialIndex () const
 Returns the index of the material for the point within the relevant material node.
 
int32_t getNormalIndex () const
 Returns the index of the surface normal at the point within the relevant normal node.
 
int32_t getTextureCoordIndex () const
 Returns the index of the texture coordinates for the point within the relevant normal node.
 
virtual SoDetailcopy () const
 Returns an instance that is a copy of this instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
- Static Public Member Functions inherited from SoDetail
static SoType getClassTypeId ()
 Returns type identifier for this class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Detailed Description

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

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 88 of file SoPointDetail.h.

Constructor & Destructor Documentation

◆ SoPointDetail()

SoPointDetail::SoPointDetail ( )

Constructor.

◆ ~SoPointDetail()

virtual SoPointDetail::~SoPointDetail ( )
virtual

Destructor.

Member Function Documentation

◆ copy()

virtual SoDetail * SoPointDetail::copy ( ) const
virtual

Returns an instance that is a copy of this instance.

The caller is responsible for deleting the copy when it is no longer needed.

Implements SoDetail.

◆ getClassTypeId()

static SoType SoPointDetail::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getCoordinateIndex()

int32_t SoPointDetail::getCoordinateIndex ( ) const
inline

Returns the index of the point within the relevant coordinate node.

Definition at line 105 of file SoPointDetail.h.

◆ getMaterialIndex()

int32_t SoPointDetail::getMaterialIndex ( ) const
inline

Returns the index of the material for the point within the relevant material node.

Definition at line 111 of file SoPointDetail.h.

◆ getNormalIndex()

int32_t SoPointDetail::getNormalIndex ( ) const
inline

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.

Definition at line 117 of file SoPointDetail.h.

◆ getTextureCoordIndex()

int32_t SoPointDetail::getTextureCoordIndex ( ) const
inline

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.

Definition at line 123 of file SoPointDetail.h.

◆ getTypeId()

virtual SoType SoPointDetail::getTypeId ( ) const
virtual

Returns the type identifier for this specific instance.

Implements SoTypedObject.


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