SoFaceDetail Class Reference
[Details]

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

#include <Inventor/details/SoFaceDetail.h>

Inheritance diagram for SoFaceDetail:
SoDetail SoTypedObject MoFaceDetail MoFaceDetailI MoFaceDetailIj MoFaceDetailIjk

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoFaceDetail ()
virtual ~SoFaceDetail ()
int32_t getNumPoints () const
const SoPointDetailgetPoint (int i) const
int32_t getFaceIndex () const
int32_t getPartIndex () const
virtual SoDetailcopy () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

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

This class contains detail information about a face in a vertex-based shape made of faces. The information includes the number of points in the face, the points forming the vertices of the face, and the index of the face within the shape.

Note that when an SoFaceDetail is returned from picking (in an SoPickedPoint), it will contain details for all points defining the face that was intersected. However, when an SoFaceDetail is created for a triangle produced during primitive generation (in an SoPrimitiveVertex), it will contain details for only the three vertices of the triangle.

SEE ALSO

SoDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape


Constructor & Destructor Documentation

SoFaceDetail::SoFaceDetail (  ) 

Constructor.

virtual SoFaceDetail::~SoFaceDetail (  )  [virtual]

Destructor.


Member Function Documentation

virtual SoDetail* SoFaceDetail::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.

Reimplemented in MoFaceDetail, MoFaceDetailI, MoFaceDetailIj, and MoFaceDetailIjk.

static SoType SoFaceDetail::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoDetail.

Reimplemented in MoFaceDetail, MoFaceDetailI, MoFaceDetailIj, and MoFaceDetailIjk.

int32_t SoFaceDetail::getFaceIndex (  )  const

Returns the index of the face within the shape.

int32_t SoFaceDetail::getNumPoints (  )  const

Returns the number of points in the face.

int32_t SoFaceDetail::getPartIndex (  )  const

Returns the index of the part containing the face within the shape.

const SoPointDetail* SoFaceDetail::getPoint ( int  i  )  const

Returns information about the point forming the i'th vertex of the face, represented as an SoPointDetail.

virtual SoType SoFaceDetail::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Implements SoTypedObject.

Reimplemented in MoFaceDetail, MoFaceDetailI, MoFaceDetailIj, and MoFaceDetailIjk.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/