HFrSolidBBox
Functions
HFrSolidBBox |
|
HFrSolidBBox |
|
~HFrSolidBBox |
|
void | Set |
ConstFRType |
GetType |
void | RegisterCallbacks |
HConstFRSimpType * | Create |
Detailed Description
-
class
HFrSolidBBox
: public HConstFRSimpType This simplification type replaces all shells in the scene with a bounding box. A simplification level of one allows only the display of the outer bounding box that surrounds the complete geometry.
Public Functions
-
inline
HFrSolidBBox
() The default constructor.
-
inline
HFrSolidBBox
(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
~HFrSolidBBox
()
-
virtual void
Set
(HConstantFrameRate *pCfr, int SimpLevel) If SimpLevel is not 0, then this method sets callbacks to suppress 3D geometry and draw a 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
-
inline