Open Inventor Release 2024.2.1
 
Loading...
Searching...
No Matches
SoCubeDetail Class Reference

Stores detail information about the SoCube node. More...

#include <Inventor/details/SoCubeDetail.h>

+ Inheritance diagram for SoCubeDetail:

Public Member Functions

virtual SoType getTypeId () const
 Returns the type identifier for this specific instance.
 
 SoCubeDetail ()
 Constructor.
 
virtual ~SoCubeDetail ()
 Destructor.
 
int getPart () const
 Returns the part in the detail.
 
virtual SoDetailcopy () const
 Returns an instance that is a copy of this instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
- Static Public Member Functions inherited from SoDetail
static SoType getClassTypeId ()
 Returns type identifier for this class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Detailed Description

Stores detail information about the SoCube node.

This class contains detail information about a point on a cube. It contains the part of the cube that was hit.

Part values are as follows:

0 Front
1 Back
2 Left
3 Right
4 Top
5 Bottom

SEE ALSO

SoCube, SoDetail, SoPickedPoint, SoPrimitiveVertex

Definition at line 93 of file SoCubeDetail.h.

Constructor & Destructor Documentation

◆ SoCubeDetail()

SoCubeDetail::SoCubeDetail ( )

Constructor.

◆ ~SoCubeDetail()

virtual SoCubeDetail::~SoCubeDetail ( )
virtual

Destructor.

Member Function Documentation

◆ copy()

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

◆ getClassTypeId()

static SoType SoCubeDetail::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getPart()

int SoCubeDetail::getPart ( ) const
inline

Returns the part in the detail.

Definition at line 110 of file SoCubeDetail.h.

◆ getTypeId()

virtual SoType SoCubeDetail::getTypeId ( ) const
virtual

Returns the type identifier for this specific instance.

Implements SoTypedObject.


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