Open Inventor Reference
|
Stores detail information about the SoCube node. More...
#include <Inventor/details/SoCubeDetail.h>
Public Member Functions | |
SoCubeDetail () | |
Constructor and destructor. | |
virtual | ~SoCubeDetail () |
Constructor and destructor. | |
int | getPart () const |
Returns the part in the detail. | |
virtual SoDetail * | copy () const |
Returns an instance that is a copy of this instance. | |
void | setPart (int _part) |
Sets the part of detail for the shape. | |
Static Public Member Functions | |
static void | initClass () |
Protected Attributes | |
int | part |
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
Definition at line 87 of file SoCubeDetail.h.
SoCubeDetail::SoCubeDetail | ( | ) |
virtual SoCubeDetail::~SoCubeDetail | ( | ) | [virtual] |
virtual SoDetail* SoCubeDetail::copy | ( | ) | const [virtual] |
The caller is responsible for deleting the copy when done.
Implements SoDetail.
int SoCubeDetail::getPart | ( | ) | const [inline] |
Definition at line 99 of file SoCubeDetail.h.
static void SoCubeDetail::initClass | ( | ) | [static] |
Reimplemented from SoDetail.
void SoCubeDetail::setPart | ( | int | _part | ) | [inline] |
Definition at line 107 of file SoCubeDetail.h.
int SoCubeDetail::part [protected] |
Definition at line 113 of file SoCubeDetail.h.