| 1 |
NAME SoPointDetail SoPtDtl "" { |
| 2 |
stores detail information about vertex-based shapes made of points |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE details/SoPointDetail.h |
| 6 |
|
| 7 |
DESC { |
| 8 |
This class contains detail information about a point in a vertex-based |
| 9 |
shape made of points. It is used for returning information about an |
| 10 |
intersection with or primitives generated by a set of points. It is |
| 11 |
also used by \cSoFaceDetail\. and \cSoLineDetail\. to return |
| 12 |
information about the vertices of faces and line segments. |
| 13 |
} |
| 14 |
|
| 15 |
METHOD "" SoPointDetail() {} |
| 16 |
METHOD "" virtual ~SoPointDetail() { Constructor and destructor. } |
| 17 |
|
| 18 |
METHOD getCoordInd int32_t getCoordinateIndex() const { |
| 19 |
Returns the index of the point within the relevant coordinate node. |
| 20 |
} |
| 21 |
|
| 22 |
METHOD getMtlInd int32_t getMaterialIndex() const { |
| 23 |
Returns the index of the material for the point within the relevant |
| 24 |
material node. |
| 25 |
} |
| 26 |
|
| 27 |
METHOD getNormInd int32_t getNormalIndex() const { |
| 28 |
Returns the index of the surface normal at the point within the |
| 29 |
relevant normal node. Note that if normals have been generated for a |
| 30 |
shape, the index may not be into an existing normal node. |
| 31 |
} |
| 32 |
|
| 33 |
METHOD getTexCoordInd int32_t getTextureCoordIndex() const { |
| 34 |
Returns the index of the texture coordinates for the point within the |
| 35 |
relevant normal node. Note that if texture coordinates have been |
| 36 |
generated for a shape, the index may not be into an existing texture |
| 37 |
coordinate node. |
| 38 |
} |
| 39 |
|
| 40 |
ALSO { SoDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape, |
| 41 |
SoFaceDetail, SoLineDetail } |