Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HFrSolidBBox Class Reference

#include <HConstantFrameRate.h>

Inheritance diagram for HFrSolidBBox:

HConstFRSimpType

List of all members.

Public Member Functions

ConstFRType GetType ()
 HFrSolidBBox (int min, int max)
 HFrSolidBBox ()
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 a bounding box. A simplification level of one allows only the display of the outer bounding box that surrounds the complete geometry.

Constructor & Destructor Documentation

HFrSolidBBox::HFrSolidBBox (  )  [inline]

The default constructor.

HFrSolidBBox::HFrSolidBBox ( int  min,
int  max 
) [inline]

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

Parameters:
min The minimum simplification level.
max The maximum simplification level.


Member Function Documentation

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

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

Parameters:
min lowest simplification level
max highest simplification level

ConstFRType HFrSolidBBox::GetType (  )  [inline, virtual]

Returns:
The simplification type associated with this class.

Implements HConstFRSimpType.

References ConstFRSolidBBoxType.

void HFrSolidBBox::Set ( HConstantFrameRate pCfr,
int  SimpLevel 
) [virtual]

If SimpLevel is not 0, then this method sets callbacks to suppress 3D geometry and draw a bounding box instead.

Parameters:
pCfr A pointer to a HConstantFrameRate Object.
SimpLevel Simplification level for the current type

Implements HConstFRSimpType.


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