Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HConstFRSimpType Class Reference

#include <HConstantFrameRate.h>

List of all members.

Public Member Functions

int GetMaxSimpLevel ()
int GetMinSimpLevel ()
virtual ConstFRType GetType ()=0
 HConstFRSimpType ()
 HConstFRSimpType (int min, int max)
virtual void Reset (HConstantFrameRate *pCfr)
virtual void Set (HConstantFrameRate *pCfr, int SimpLevel)=0
virtual void Update (HConstantFrameRate *pCfr, int SimpLevel)

Static Public Member Functions

static HConstFRSimpType ** CreateList (int size)

Public Attributes

int m_SimpLevelMax
int m_SimpLevelMin

Detailed Description

This abstract base class is used to represent an element of the framerate simplication list. When the constant framerate functionality is enabled, the system uses a list of object simplification types to determine which steps to take in simplifying the scene to increase rendering speed.


Constructor & Destructor Documentation

HConstFRSimpType::HConstFRSimpType ( ) [inline]

Default constructor that sets the minimum and maximum simplication levels to 0.

HConstFRSimpType::HConstFRSimpType ( 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** HConstFRSimpType::CreateList ( int  size) [inline, static]
Returns:
A pointer to an array of HConstFRSimpType objects.
int HConstFRSimpType::GetMaxSimpLevel ( ) [inline]
Returns:
The highest simplification level.
int HConstFRSimpType::GetMinSimpLevel ( ) [inline]
Returns:
The lowest simplification level.
virtual ConstFRType HConstFRSimpType::GetType ( ) [pure virtual]
Returns:
The simplification type.

Implemented in HFrWireframe, HFrWireframeBBox, HFrSolidBBox, HFrLodThreshold, HFrLodClamp, HFrNoSimp, HFrNoSimpAA, and HFrExtent.

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

Set rendering options based on simplification type.

Parameters:
pCfrA Pointer to the ConstantFrameRate object.
SimpLevelThe simplification level for the current type.

Implemented in HFrWireframe, HFrWireframeBBox, HFrSolidBBox, HFrLodThreshold, HFrLodClamp, HFrNoSimp, HFrNoSimpAA, and HFrExtent.

virtual void HConstFRSimpType::Update ( HConstantFrameRate pCfr,
int  SimpLevel 
) [virtual]

Update Display and additional framerate related settings.

Parameters:
pCfrA Pointer to the ConstantFrameRate object.
SimpLevelThe simplification level for the current type.

Reimplemented in HFrNoSimpAA.


Member Data Documentation

Highest simplification level which is specific to the simplification type.

Lowest simplification level which is specific to the simplification type.


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