Open Inventor Reference
SoCubeDetail Class Reference

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

#include <Inventor/details/SoCubeDetail.h>

Inheritance diagram for SoCubeDetail:
SoDetail

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.
 
- Public Member Functions inherited from SoDetail
virtual ~SoDetail ()
 Destructor.
 
virtual SoType getTypeId () const =0
 Returns the type identifier for a specific instance.
 
bool isOfType (SoType type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
virtual SoDetailcopy () const =0
 Returns an instance that is a copy of this instance.
 

Static Public Member Functions

static void initClass ()
 
- Static Public Member Functions inherited from SoDetail
static SoType getClassTypeId ()
 Returns type identifier for this class.
 
static void initClass ()
 
static void initClasses ()
 Initialize ALL Inventor detail classes.
 

Protected Attributes

int part
 

Additional Inherited Members

- Protected Member Functions inherited from SoDetail
 SoDetail ()
 Constructor is protected since this is an abstract class.
 

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::SoCubeDetail ( )

◆ ~SoCubeDetail()

virtual SoCubeDetail::~SoCubeDetail ( )
virtual

Member Function Documentation

◆ copy()

virtual SoDetail * SoCubeDetail::copy ( ) const
virtual

The caller is responsible for deleting the copy when done.

Implements SoDetail.

◆ getPart()

int SoCubeDetail::getPart ( ) const
inline

Definition at line 99 of file SoCubeDetail.h.

◆ initClass()

static void SoCubeDetail::initClass ( )
static

◆ setPart()

void SoCubeDetail::setPart ( int  _part)
inline

Definition at line 107 of file SoCubeDetail.h.

Member Data Documentation

◆ part

int SoCubeDetail::part
protected

Definition at line 113 of file SoCubeDetail.h.


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