Open Inventor Reference
SoCylinderDetail Class Reference

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

#include <Inventor/details/SoCylinderDetail.h>

Inheritance diagram for SoCylinderDetail:
SoDetail

List of all members.

Public Member Functions

 SoCylinderDetail ()
 Constructor and destructor.
virtual ~SoCylinderDetail ()
 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 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 ( )
virtual SoCylinderDetail::~SoCylinderDetail ( ) [virtual]

Member Function Documentation

virtual SoDetail* SoCylinderDetail::copy ( ) const [virtual]

The caller is responsible for deleting the copy when done.

Implements SoDetail.

int SoCylinderDetail::getPart ( ) const [inline]

The returned value is one of the SoCylinder part flags.

Definition at line 90 of file SoCylinderDetail.h.

static void SoCylinderDetail::initClass ( ) [static]

Reimplemented from SoDetail.

void SoCylinderDetail::setPart ( int  _part) [inline]

Definition at line 98 of file SoCylinderDetail.h.


Member Data Documentation

int SoCylinderDetail::part [protected]

Definition at line 104 of file SoCylinderDetail.h.


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