Open Inventor Reference
|
Stores detail information about the SoCylinder node. More...
#include <Inventor/details/SoCylinderDetail.h>
Public Member Functions | |
SoCylinderDetail () | |
Constructor and destructor. | |
virtual | ~SoCylinderDetail () |
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 cylinder. It contains the part of the cylinder that was hit (sides, top, or bottom).
Definition at line 77 of file SoCylinderDetail.h.
SoCylinderDetail::SoCylinderDetail | ( | ) |
virtual SoCylinderDetail::~SoCylinderDetail | ( | ) | [virtual] |
virtual SoDetail* SoCylinderDetail::copy | ( | ) | const [virtual] |
The caller is responsible for deleting the copy when done.
Implements SoDetail.
int SoCylinderDetail::getPart | ( | ) | const [inline] |
The returned value is one of the SoCylinder part flags.
Definition at line 90 of file SoCylinderDetail.h.
static void SoCylinderDetail::initClass | ( | ) | [static] |
Reimplemented from SoDetail.
void SoCylinderDetail::setPart | ( | int | _part | ) | [inline] |
Definition at line 98 of file SoCylinderDetail.h.
int SoCylinderDetail::part [protected] |
Definition at line 104 of file SoCylinderDetail.h.