| 1 |
NAME SoCubeDetail SoCubeDtl "" { |
| 2 |
stores detail information about the SoCube node |
| 3 |
} |
| 4 |
|
| 5 |
INCLUDE details/SoCubeDetail.h |
| 6 |
|
| 7 |
DESC { |
| 8 |
This class contains detail information about a point on a cube. |
| 9 |
It contains the part of the cube that was hit. |
| 10 |
\p |
| 11 |
Part values are as follows: |
| 12 |
\b |
| 13 |
0 Front |
| 14 |
1 Back |
| 15 |
2 Left |
| 16 |
3 Right |
| 17 |
4 Top |
| 18 |
5 Bottom |
| 19 |
\. |
| 20 |
} |
| 21 |
|
| 22 |
METHOD "" SoCubeDetail() {} |
| 23 |
METHOD "" virtual ~SoCubeDetail() { Constructor and destructor. } |
| 24 |
|
| 25 |
METHOD "" int getPart() const { Returns the part in the detail. } |
| 26 |
|
| 27 |
METHOD "" static SoType getClassTypeId() { |
| 28 |
Returns type identifier for this class. |
| 29 |
} |
| 30 |
|
| 31 |
ALSO { SoCube, SoDetail, SoPickedPoint, SoPrimitiveVertex } |