1SoPointDetail(3IV)() SoPointDetail(3IV)()
2
3
4
6 SoPointDetail — stores detail information about vertex-based shapes
7 made of points
8
10 SoDetail > SoPointDetail
11
13 #include <Inventor/details/SoPointDetail.h>
14
15 Methods from class SoPointDetail:
16
17 SoPointDetail()
18 virtual ~SoPointDetail()
19 int32_t getCoordinateIndex() const
20 int32_t getMaterialIndex() const
21 int32_t getNormalIndex() const
22 int32_t getTextureCoordIndex() const
23
24 Methods from class SoDetail:
25
26 SoDetail * copy() const
27 static SoType getClassTypeId()
28 virtual SoType getTypeId() const
29 SbBool isOfType(SoType type) const
30
31
33 This class contains detail information about a point in a vertex-based
34 shape made of points. It is used for returning information about an
35 intersection with or primitives generated by a set of points. It is
36 also used by SoFaceDetail and SoLineDetail to return information about
37 the vertices of faces and line segments.
38
40 SoPointDetail()
41 virtual ~SoPointDetail()
42 Constructor and destructor.
43
44 int32_t getCoordinateIndex() const
45 Returns the index of the point within the relevant coordinate node.
46
47 int32_t getMaterialIndex() const
48 Returns the index of the material for the point within the relevant
49 material node.
50
51 int32_t getNormalIndex() const
52 Returns the index of the surface normal at the point within the rel‐
53 evant normal node. Note that if normals have been generated for a
54 shape, the index may not be into an existing normal node.
55
56 int32_t getTextureCoordIndex() const
57 Returns the index of the texture coordinates for the point within
58 the relevant normal node. Note that if texture coordinates have been
59 generated for a shape, the index may not be into an existing texture
60 coordinate node.
61
62
64 SoDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape, SoFaceDe‐
65 tail, SoLineDetail
66
67
68
69
70 SoPointDetail(3IV)()