Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HFrWireframeBBox Class Reference

#include <HConstantFrameRate.h>

List of all members.

Public Member Functions

ConstFRType GetType ()
 HFrWireframeBBox ()
 HFrWireframeBBox (int min, int max)
void Set (HConstantFrameRate *pCfr, int SimpLevel)

Static Public Member Functions

static HConstFRSimpTypeCreate (int min, int max)
static void RegisterCallbacks ()
 registers various callbacks needed for this class

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::HFrWireframeBBox ( ) [inline]

The default constructor.

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

static HConstFRSimpType* HFrWireframeBBox::Create ( int  min,
int  max 
) [inline, static]

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

Parameters:
minlowest simplification level
maxhighest simplification level
ConstFRType HFrWireframeBBox::GetType ( ) [inline, virtual]
Returns:
The simplification type associated with this class.

Implements HConstFRSimpType.

References ConstFRWireframeBBoxType.

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: