1SoFaceDetail(3IV)()                                        SoFaceDetail(3IV)()
2
3
4

NAME

6       SoFaceDetail — stores detail information about vertex-based shapes made
7       of faces
8

INHERITS FROM

10       SoDetail > SoFaceDetail
11

SYNOPSIS

13       #include <Inventor/details/SoFaceDetail.h>
14
15          Methods from class SoFaceDetail:
16
17                            SoFaceDetail()
18     virtual                ~SoFaceDetail()
19     long                   getNumPoints() const
20     const SoPointDetail *  getPoint(int i) const
21     int32_t                getFaceIndex() const
22     int32_t                getPartIndex() const
23     static SoType          getClassTypeId()
24
25          Methods from class SoDetail:
26
27     SoDetail *          copy() const
28     virtual SoType      getTypeId() const
29     SbBool              isOfType(SoType type) const
30
31

DESCRIPTION

33       This class contains detail information about a point on  a  face  in  a
34       vertex-based  shape  made of faces. The information includes the number
35       of points in the face, the points forming the vertices of the face, and
36       the index of the face within the shape.
37
38       Note  that  when  an  SoFaceDetail  is  returned  from  picking  (in an
39       SoPickedPoint), it will contain details for  all  points  defining  the
40       face that was intersected. However, when an SoFaceDetail is created for
41       a triangle produced during primitive generation (in an  SoPrimitiveVer‐
42       tex), it will contain details for only the three vertices of the trian‐
43       gle.
44

METHODS

46                            SoFaceDetail()
47     virtual                ~SoFaceDetail()
48          Constructor and destructor.
49
50     long                   getNumPoints() const
51          Returns the number of points in the face.
52
53     const SoPointDetail *  getPoint(int i) const
54          Returns information about the point forming the i'th vertex  of  the
55          face, represented as an SoPointDetail.
56
57     int32_t                getFaceIndex() const
58          Returns the index of the face within the shape.
59
60     int32_t                getPartIndex() const
61          Returns the index of the part containing the face within the shape.
62
63     static SoType          getClassTypeId()
64          Returns type identifier for this class.
65
66

SEE ALSO

68       SoDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape
69
70
71
72
73                                                           SoFaceDetail(3IV)()
Impressum