Open Inventor Reference
SoCubeDetail Class Reference

Stores detail information about the SoCube node. More...

#include <Inventor/details/SoCubeDetail.h>

Inheritance diagram for SoCubeDetail:
SoDetail

List of all members.

Public Member Functions

 SoCubeDetail ()
 Constructor and destructor.
virtual ~SoCubeDetail ()
 Constructor and destructor.
int getPart () const
 Returns the part in the detail.
virtual SoDetailcopy () 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

Detailed Description

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
See Also
SoCube, SoDetail, SoPickedPoint, SoPrimitiveVertex

Definition at line 87 of file SoCubeDetail.h.


Constructor & Destructor Documentation

SoCubeDetail::SoCubeDetail ( )
virtual SoCubeDetail::~SoCubeDetail ( ) [virtual]

Member Function Documentation

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.


Member Data Documentation

int SoCubeDetail::part [protected]

Definition at line 113 of file SoCubeDetail.h.


The documentation for this class was generated from the following file: