#include <HConstantFrameRate.h>

Public Member Functions

ConstFRType GetType ()
 
 HFrLodClamp ()
 
 HFrLodClamp (int min, int max)
 
void Reset (HConstantFrameRate *pCfr)
 
void Set (HConstantFrameRate *pCfr, int SimpLevel)
 
void SetSegmentSwitch (bool ssl)
 
- Public Member Functions inherited from HConstFRSimpType
int GetMaxSimpLevel ()
 
int GetMinSimpLevel ()
 
 HConstFRSimpType ()
 
 HConstFRSimpType (int min, int max)
 
virtual void Update (HConstantFrameRate *pCfr, int SimpLevel)
 

Static Public Member Functions

static HConstFRSimpTypeCreate (int min, int max)
 
- Static Public Member Functions inherited from HConstFRSimpType
static HConstFRSimpType ** CreateList (int size)
 

Public Attributes

bool m_bSegmentSwitch
 
- Public Attributes inherited from HConstFRSimpType
int m_SimpLevelMax
 
int m_SimpLevelMin
 

Detailed Description

LOD Simplification type using the CLAMP option. The simplification level corresponds directly to the clamp value rendering option.

Constructor & Destructor Documentation

◆ HFrLodClamp() [1/2]

HFrLodClamp::HFrLodClamp ( )
inline

The default constructor.

◆ HFrLodClamp() [2/2]

HFrLodClamp::HFrLodClamp ( 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

◆ Create()

static HConstFRSimpType* HFrLodClamp::Create ( int  min,
int  max 
)
inlinestatic

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

Parameters
minlowest simplification level
maxhighest simplification level

◆ GetType()

ConstFRType HFrLodClamp::GetType ( )
inlinevirtual
Returns
The simplification type associated with this class.

Implements HConstFRSimpType.

References ConstFRLodClampType.

◆ Set()

void HFrLodClamp::Set ( HConstantFrameRate pCfr,
int  SimpLevel 
)
virtual

This methods set the LOD clamp value to the SimpLevel. It also sets the tessellation option for cylinders.

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: