Open Inventor Reference
SoDetail Class Referenceabstract

Base class for describing detail information about a shape node. More...

#include <Inventor/details/SoDetail.h>

Inheritance diagram for SoDetail:
SoConeDetail SoCubeDetail SoCylinderDetail SoFaceDetail SoLineDetail SoNodeKitDetail SoPointDetail SoTextDetail

Public Member Functions

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 SoType getClassTypeId ()
 Returns type identifier for this class.
 
static void initClass ()
 
static void initClasses ()
 Initialize ALL Inventor detail classes.
 

Protected Member Functions

 SoDetail ()
 Constructor is protected since this is an abstract class.
 

Detailed Description

SoDetail is the abstract base class for all detail classes. A detail contains shape-specific information about a particular shape during picking and primitive generation. Subclasses store information based on the particular type of shape.

See Also
SoConeDetail, SoCubeDetail, SoCylinderDetail, SoDetailList, SoFaceDetail, SoLineDetail, SoNodeKitDetail, SoPickedPoint, SoPointDetail, SoPrimitiveVertex, SoTextDetail

Definition at line 78 of file SoDetail.h.

Constructor & Destructor Documentation

◆ ~SoDetail()

virtual SoDetail::~SoDetail ( )
virtual

◆ SoDetail()

SoDetail::SoDetail ( )
protected

Member Function Documentation

◆ copy()

virtual SoDetail * SoDetail::copy ( ) const
pure virtual

The caller is responsible for deleting the copy when done.

Implemented in SoConeDetail, SoCubeDetail, SoCylinderDetail, SoFaceDetail, SoLineDetail, SoNodeKitDetail, SoPointDetail, and SoTextDetail.

◆ getClassTypeId()

static SoType SoDetail::getClassTypeId ( )
inlinestatic

Definition at line 84 of file SoDetail.h.

◆ getTypeId()

virtual SoType SoDetail::getTypeId ( ) const
pure virtual

◆ initClass()

static void SoDetail::initClass ( )
static

◆ initClasses()

static void SoDetail::initClasses ( )
static

◆ isOfType()

bool SoDetail::isOfType ( SoType  type) const

Otherwise, it returns FALSE.


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