HFrLodClamp
-
class
HFrLodClamp LOD Simplification type using the CLAMP option. The simplification level corresponds directly to the clamp value rendering option.
Inherits from:
HConstFRSimpType
Methods
-
HFrLodClamp::HFrLodClamp() The default constructor.
-
HFrLodClamp::HFrLodClamp(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.
-
void
HFrLodClamp::Reset(HConstantFrameRate *pCfr) virtual
-
virtual
HFrLodClamp::~HFrLodClamp() virtual
-
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
pCfr: A pointer to a
HConstantFrameRateObject.SimpLevel: Simplification level for the current type
-
ConstFRType
HFrLodClamp::GetType() virtual
Returns
The simplification type associated with this class.
-
void
HFrLodClamp::SetSegmentSwitch(bool ssl)
-
static HConstFRSimpType *
HFrLodClamp::Create(int min, int max) static
Create a new simplification type object. Use this method to avoid object ownership problems.
Parameters
min: lowest simplification level
max: highest simplification level
Variables
-
bool
HFrLodClamp::m_bSegmentSwitch - bool