Stores detail information about the SoCube node. More...
#include <Inventor/details/SoCubeDetail.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoCubeDetail () | |
virtual | ~SoCubeDetail () |
int | getPart () const |
virtual SoDetail * | copy () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
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
SoCubeDetail::SoCubeDetail | ( | ) |
Constructor.
virtual SoCubeDetail::~SoCubeDetail | ( | ) | [virtual] |
Destructor.
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.
static SoType SoCubeDetail::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoDetail.
int SoCubeDetail::getPart | ( | ) | const [inline] |
Returns the part in the detail.
virtual SoType SoCubeDetail::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.