HFrWireframeBBox

Detailed Description

class HFrWireframeBBox : public HConstFRSimpType

This simplification type replaces all shells in the scene with wireframe box. A simplification level of one allows only display of the outer bounding box that surrounds the complete geometry.

Public Functions

inline HFrWireframeBBox()

The default constructor.

inline HFrWireframeBBox(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 ~HFrWireframeBBox()
virtual void Set(HConstantFrameRate *pCfr, int SimpLevel)

This method sets callbacks to suppress 3D geometry and draws a wireframe bounding box instead.

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.

Public Static Functions

static void RegisterCallbacks()

registers various callbacks needed for this class

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