HFrLodClamp

Fields

bool

m_bSegmentSwitch

Functions

HFrLodClamp

HFrLodClamp

void

Reset

~HFrLodClamp

void

Set

ConstFRType

GetType

void

SetSegmentSwitch

HConstFRSimpType *

Create

Detailed Description

class HFrLodClamp : public HConstFRSimpType

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

Public Functions

inline HFrLodClamp()

The default constructor.

inline 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.

virtual void Reset(HConstantFrameRate *pCfr)
inline virtual ~HFrLodClamp()
virtual void Set(HConstantFrameRate *pCfr, int SimpLevel)

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

Parameters
  • pCfr – A pointer to a HConstantFrameRate Object.

  • SimpLevel – Simplification level for the current type

inline virtual ConstFRType GetType()
Returns

The simplification type associated with this class.

inline void SetSegmentSwitch(bool ssl)

Public Members

bool m_bSegmentSwitch

Public Static Functions

static inline HConstFRSimpType *Create(int min, int max)

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

Parameters
  • min – lowest simplification level

  • max – highest simplification level