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