#include <HConstantFrameRate.h>
Public Member Functions | |
ConstFRType | GetType () |
HFrSolidBBox () | |
HFrSolidBBox (int min, int max) | |
void | Set (HConstantFrameRate *pCfr, int SimpLevel) |
Static Public Member Functions | |
static HConstFRSimpType * | Create (int min, int max) |
static void | RegisterCallbacks () |
registers various callbacks needed for this class |
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.
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.
min | The minimum simplification level. |
max | The maximum simplification level. |
static HConstFRSimpType* HFrSolidBBox::Create | ( | int | min, |
int | max | ||
) | [inline, static] |
Create a new simplification type object. Use this method to avoid object ownership problems.
min | lowest simplification level |
max | highest simplification level |
ConstFRType HFrSolidBBox::GetType | ( | ) | [inline, virtual] |
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.
pCfr | A pointer to a HConstantFrameRate Object. |
SimpLevel | Simplification level for the current type |
Implements HConstFRSimpType.