Open Inventor Reference
SoConeDetail Class Reference

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

#include <Inventor/details/SoConeDetail.h>

Inheritance diagram for SoConeDetail:
SoDetail

Public Member Functions

 SoConeDetail ()
 Constructor and destructor. More...
 
virtual ~SoConeDetail ()
 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 cone. It contains the part of the cone that was hit (sides or bottom).

See Also
SoCone, SoDetail, SoPickedPoint, SoPrimitiveVertex

Definition at line 76 of file SoConeDetail.h.

Constructor & Destructor Documentation

◆ SoConeDetail()

SoConeDetail::SoConeDetail ( )

◆ ~SoConeDetail()

virtual SoConeDetail::~SoConeDetail ( )
virtual

Member Function Documentation

◆ copy()

virtual SoDetail* SoConeDetail::copy ( ) const
virtual

The caller is responsible for deleting the copy when done.

Implements SoDetail.

◆ getPart()

int SoConeDetail::getPart ( ) const
inline

The returned value is one of the SoCone part flags.

Definition at line 89 of file SoConeDetail.h.

◆ initClass()

static void SoConeDetail::initClass ( )
static

◆ setPart()

void SoConeDetail::setPart ( int  _part)
inline

Definition at line 97 of file SoConeDetail.h.

Member Data Documentation

◆ part

int SoConeDetail::part
protected

Definition at line 103 of file SoConeDetail.h.


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