Open Inventor Reference
|
Stores detail information about vertex-based shapes made of points. More...
#include <Inventor/details/SoPointDetail.h>
Public Member Functions | |
SoPointDetail () | |
Constructor and destructor. | |
virtual | ~SoPointDetail () |
Constructor and 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 SoDetail * | copy () const |
Returns an instance that is a copy of this instance. | |
void | setCoordinateIndex (int32_t i) |
Each of these sets one of the indices in the detail. | |
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) |
Static Public Member Functions | |
static void | initClass () |
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.
Definition at line 79 of file SoPointDetail.h.
SoPointDetail::SoPointDetail | ( | ) |
virtual SoPointDetail::~SoPointDetail | ( | ) | [virtual] |
virtual SoDetail* SoPointDetail::copy | ( | ) | const [virtual] |
The caller is responsible for deleting the copy when done.
Implements SoDetail.
int32_t SoPointDetail::getCoordinateIndex | ( | ) | const [inline] |
Definition at line 91 of file SoPointDetail.h.
int32_t SoPointDetail::getMaterialIndex | ( | ) | const [inline] |
Definition at line 95 of file SoPointDetail.h.
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.
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.
static void SoPointDetail::initClass | ( | ) | [static] |
Reimplemented from SoDetail.
void SoPointDetail::setCoordinateIndex | ( | long | i | ) | [inline] |
i | System long |
Definition at line 118 of file SoPointDetail.h.
References setCoordinateIndex().
Referenced by setCoordinateIndex().
void SoPointDetail::setCoordinateIndex | ( | int32_t | i | ) | [inline] |
Definition at line 112 of file SoPointDetail.h.
void SoPointDetail::setMaterialIndex | ( | long | i | ) | [inline] |
i | System long |
Definition at line 120 of file SoPointDetail.h.
References setMaterialIndex().
Referenced by setMaterialIndex().
void SoPointDetail::setMaterialIndex | ( | int32_t | i | ) | [inline] |
Definition at line 113 of file SoPointDetail.h.
void SoPointDetail::setNormalIndex | ( | long | i | ) | [inline] |
i | System long |
Definition at line 122 of file SoPointDetail.h.
References setNormalIndex().
Referenced by setNormalIndex().
void SoPointDetail::setNormalIndex | ( | int32_t | i | ) | [inline] |
Definition at line 114 of file SoPointDetail.h.
void SoPointDetail::setTextureCoordIndex | ( | long | i | ) | [inline] |
i | System long |
Definition at line 124 of file SoPointDetail.h.
References setTextureCoordIndex().
Referenced by setTextureCoordIndex().
void SoPointDetail::setTextureCoordIndex | ( | int32_t | i | ) | [inline] |
Definition at line 115 of file SoPointDetail.h.