SoPointDetail Class Reference
[Details]

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

#include <Inventor/details/SoPointDetail.h>

Inheritance diagram for SoPointDetail:
SoDetail SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoPointDetail ()
virtual ~SoPointDetail ()
int32_t getCoordinateIndex () const
int32_t getMaterialIndex () const
int32_t getNormalIndex () const
int32_t getTextureCoordIndex () const
virtual SoDetailcopy () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

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

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.

SEE ALSO

SoDetail, SoPickedPoint, SoPrimitiveVertex, SoVertexShape, SoFaceDetail, SoLineDetail

See related examples:

DetailSelection


Constructor & Destructor Documentation

SoPointDetail::SoPointDetail (  ) 

Constructor.

virtual SoPointDetail::~SoPointDetail (  )  [virtual]

Destructor.


Member Function Documentation

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

static SoType SoPointDetail::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoDetail.

int32_t SoPointDetail::getCoordinateIndex (  )  const [inline]

Returns the index of the point within the relevant coordinate node.

int32_t SoPointDetail::getMaterialIndex (  )  const [inline]

Returns the index of the material for the point within the relevant material node.

int32_t SoPointDetail::getNormalIndex (  )  const [inline]

Returns the index of the surface normal at the point within the relevant normal node.

Note that if normals have been generated for a shape, the index may not be into an existing normal node.

int32_t SoPointDetail::getTextureCoordIndex (  )  const [inline]

Returns the index of the texture coordinates for the point within the relevant normal node.

Note that if texture coordinates have been generated for a shape, the index may not be into an existing texture coordinate node.

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

Returns the type identifier for this specific instance.

Implements SoTypedObject.


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

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