Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members  

SoConeDetail Class Reference

The SoConeDetail class contains information about the parts of a SoCone shape. More...

#include <Inventor/details/SoConeDetail.h>

Inheritance diagram for SoConeDetail::

SoDetail List of all members.

Public Methods

 SoConeDetail (void)
virtual ~SoConeDetail ()
virtual SoDetail * copy (void) const
void setPart (const int part)
int getPart (void) const

Static Public Methods

void initClass (void)

Protected Attributes

int part

Detailed Description

The SoConeDetail class contains information about the parts of a SoCone shape.

Instances of this class are used for storing information about hit points on cone geometry after pick operations, and for storing information returned to tesselation callbacks.

See also:
SoCone, SoRayPickAction, SoCallbackAction


Constructor & Destructor Documentation

SoConeDetail::SoConeDetail (  void    ) 
 

Constructor.

SoConeDetail::~SoConeDetail (    )  [virtual]
 

Destructor.


Member Function Documentation

void SoConeDetail::initClass (  void    )  [static]
 

Initialize relevant common data for all instances, like the type system.

Reimplemented from SoDetail.

SoDetail * SoConeDetail::copy (  void    )  const [virtual]
 

Return a deep copy of ourself.

Reimplemented from SoDetail.

void SoConeDetail::setPart (  const int    part ) 
 

Set the part of a cone which was selected. A cone has two different conceptual parts; SoCone::SIDES or SoCone::BOTTOM.

int SoConeDetail::getPart (  void    )  const
 

Returns selected cone part, either SoCone::SIDES or SoCone::BOTTOM.


Member Data Documentation

int SoConeDetail::part [protected]
 

For internal use only.


The documentation for this class was generated from the following files:
Generated on Sat Jan 12 11:40:58 2002 for Coin by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001