HConstFRSimpType

Fields

int

m_SimpLevelMin

int

m_SimpLevelMax

Functions

HConstFRSimpType

HConstFRSimpType

~HConstFRSimpType

void

Reset

void

Set

void

Update

ConstFRType

GetType

int

GetMinSimpLevel

int

GetMaxSimpLevel

HConstFRSimpType **

CreateList

Detailed Description

class HConstFRSimpType

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.

Subclassed by HFrExtent, HFrLodClamp, HFrLodThreshold, HFrNoSimp, HFrNoSimpAA, HFrSolidBBox, HFrWireframe, HFrWireframeBBox

Public Functions

inline HConstFRSimpType()

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

inline HConstFRSimpType(int min, int max)

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

Parameters
  • min – The minimum simplification level.

  • max – The maximum simplification level.

inline virtual ~HConstFRSimpType()
inline virtual void Reset(HConstantFrameRate *pCfr)
virtual void Set(HConstantFrameRate *pCfr, int SimpLevel) = 0

Set rendering options based on simplification type.

Parameters
  • pCfr – A Pointer to the ConstantFrameRate object.

  • SimpLevel – The simplification level for the current type.

virtual void Update(HConstantFrameRate *pCfr, int SimpLevel)

Update Display and additional framerate related settings.

Parameters
  • pCfr – A Pointer to the ConstantFrameRate object.

  • SimpLevel – The simplification level for the current type.

virtual ConstFRType GetType() = 0
Returns

The simplification type.

inline int GetMinSimpLevel()
Returns

The lowest simplification level.

inline int GetMaxSimpLevel()
Returns

The highest simplification level.

Public Members

int m_SimpLevelMin

Lowest simplification level which is specific to the simplification type.

int m_SimpLevelMax

Highest simplification level which is specific to the simplification type.

Public Static Functions

static inline HConstFRSimpType **CreateList(int size)
Returns

A pointer to an array of HConstFRSimpType objects.