#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 ( )

The default constructor.

◆ HFrWireframeBBox() [2/2]

HFrWireframeBBox::HFrWireframeBBox ( int  min,
int  max 

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

minThe minimum simplification level.
maxThe maximum simplification level.

Member Function Documentation

◆ Create()

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

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

minlowest simplification level
maxhighest simplification level

◆ GetType()

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

Implements HConstFRSimpType.

References ConstFRWireframeBBoxType.

◆ Set()

void HFrWireframeBBox::Set ( HConstantFrameRate pCfr,
int  SimpLevel 

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

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: