Open Inventor Reference
SoCylinderDetail Class Reference

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

#include <Inventor/details/SoCylinderDetail.h>

Inheritance diagram for SoCylinderDetail:
SoDetail

Public Member Functions

 SoCylinderDetail ()
 Constructor and destructor. More...
 
virtual ~SoCylinderDetail ()
 Constructor and destructor. More...
 
int getPart () const
 Returns the part in the detail. More...
 
virtual SoDetailcopy () const
 Returns an instance that is a copy of this instance. More...
 
void setPart (int _part)
 Sets the part of detail for the shape. More...
 
- Public Member Functions inherited from SoDetail
virtual ~SoDetail ()
 Destructor. More...
 
virtual SoType getTypeId () const =0
 Returns the type identifier for a specific instance. More...
 
bool isOfType (SoType type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type. More...
 

Static Public Member Functions

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

Protected Attributes

int part
 

Additional Inherited Members

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

Detailed Description

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).

See Also
SoCylinder, SoDetail, SoPickedPoint, SoPrimitiveVertex

Definition at line 77 of file SoCylinderDetail.h.

Constructor & Destructor Documentation

◆ SoCylinderDetail()

SoCylinderDetail::SoCylinderDetail ( )

◆ ~SoCylinderDetail()

virtual SoCylinderDetail::~SoCylinderDetail ( )
virtual

Member Function Documentation

◆ copy()

virtual SoDetail* SoCylinderDetail::copy ( ) const
virtual

The caller is responsible for deleting the copy when done.

Implements SoDetail.

◆ getPart()

int SoCylinderDetail::getPart ( ) const
inline

The returned value is one of the SoCylinder part flags.

Definition at line 90 of file SoCylinderDetail.h.

◆ initClass()

static void SoCylinderDetail::initClass ( )
static

◆ setPart()

void SoCylinderDetail::setPart ( int  _part)
inline

Definition at line 98 of file SoCylinderDetail.h.

Member Data Documentation

◆ part

int SoCylinderDetail::part
protected

Definition at line 104 of file SoCylinderDetail.h.


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