Stores detail information about the SoCube node. More...
#include <Inventor/details/SoCubeDetail.h>
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 SoDetail * | copy () 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. | |
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 |
SoCube, SoDetail, SoPickedPoint, SoPrimitiveVertex
Definition at line 93 of file SoCubeDetail.h.
SoCubeDetail::SoCubeDetail | ( | ) |
Constructor.
|
virtual |
Destructor.
|
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 |
Returns the type identifier for this class.
|
inline |
Returns the part in the detail.
Definition at line 110 of file SoCubeDetail.h.
|
virtual |
Returns the type identifier for this specific instance.
Implements SoTypedObject.