#include <HConstantFrameRate.h>

Public Member Functions

ConstFRType GetType ()
 
 HFrWireframeBBox ()
 
 HFrWireframeBBox (int min, int max)
 
void Set (HConstantFrameRate *pCfr, int SimpLevel)
 
- Public Member Functions inherited from HConstFRSimpType
int GetMaxSimpLevel ()
 
int GetMinSimpLevel ()
 
 HConstFRSimpType ()
 
 HConstFRSimpType (int min, int max)
 
virtual void Reset (HConstantFrameRate *pCfr)
 
virtual void Update (HConstantFrameRate *pCfr, int SimpLevel)
 

Static Public Member Functions

static HConstFRSimpTypeCreate (int min, int max)
 
static void RegisterCallbacks ()
 registers various callbacks needed for this class
 
- Static Public Member Functions inherited from HConstFRSimpType
static HConstFRSimpType ** CreateList (int size)
 

Additional Inherited Members

- Public Attributes inherited from HConstFRSimpType
int m_SimpLevelMax
 
int m_SimpLevelMin
 

Detailed Description

This simplification type replaces all shells in the scene with wireframe box. A simplification level of one allows only display of the outer bounding box that surrounds the complete geometry.

Constructor & Destructor Documentation

◆ HFrWireframeBBox() [1/2]

HFrWireframeBBox::HFrWireframeBBox ( )
inline

The default constructor.

◆ HFrWireframeBBox() [2/2]

HFrWireframeBBox::HFrWireframeBBox ( int  min,
int  max 
)
inline

The constructor that allows you the set the minimum and maximum simplification levels.

Parameters
minThe minimum simplification level.
maxThe maximum simplification level.

Member Function Documentation

◆ Create()

static HConstFRSimpType* HFrWireframeBBox::Create ( int  min,
int  max 
)
inlinestatic

Create a new simplification type object. Use this method to avoid object ownership problems.

Parameters
minlowest simplification level
maxhighest simplification level

◆ GetType()

ConstFRType HFrWireframeBBox::GetType ( )
inlinevirtual
Returns
The simplification type associated with this class.

Implements HConstFRSimpType.

References ConstFRWireframeBBoxType.

◆ Set()

void HFrWireframeBBox::Set ( HConstantFrameRate pCfr,
int  SimpLevel 
)
virtual

This method sets callbacks to suppress 3D geometry and draws a wireframe bounding box instead.

Parameters
pCfrA pointer to a HConstantFrameRate Object.
SimpLevelSimplification level for the current type

Implements HConstFRSimpType.


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