HFrExtent

Functions

HFrExtent

HFrExtent

~HFrExtent

void

SetMultiplier

void

Set

void

SetUseLod

bool

GetUseLod

ConstFRType

GetType

HConstFRSimpType *

Create

Detailed Description

class HFrExtent : public HConstFRSimpType

HFrExtent is a simplification type that tweaks the maximum extent suboption in Set_Heuristics. The maximum extent value is calculated based on the current simplification level and a multiplier.

Public Functions

inline HFrExtent()

The default constructor.

inline HFrExtent(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 ~HFrExtent()
inline void SetMultiplier(int mp)

This method sets the multiplier. The multiplier is use to set the maximum extent for the culling option of ::Set_Heuristics. When the Set method is called, the maximum extent option will be set with a value calculated from the simplication level and the multiplier.

Parameters

mp – The multiplier used in the calculation to set the maximum extent.

virtual void Set(HConstantFrameRate *pCfr, int SimpLevel)

Set rendering options based on simplification type.

Parameters
  • pCfr – A pointer to a HConstantFrameRate Object.

  • SimpLevel – Simplification level for the current type

inline void SetUseLod(bool ul)

This methods enables/disables the use of LOD options for rendering.

Parameters

ul – Pass true if you want to set the LOD options to be set to %15 and 0% for threshold and the fallback to be set to coarsest. Pass false if you don’t want to use set any LOD options.

inline bool GetUseLod() const
inline virtual ConstFRType GetType()
Returns

The simplification type associated with this class.

Public Static Functions

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

Create a new simplification type object. Avoids object ownership problems.

Parameters
  • min – lowest simplification level

  • max – highest simplification level