HFrSolidBBox

class HFrSolidBBox

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.

Inherits from: HConstFRSimpType

Methods

HFrSolidBBox::HFrSolidBBox()

The default constructor.

HFrSolidBBox::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.

virtual HFrSolidBBox::~HFrSolidBBox()

virtual

void HFrSolidBBox::Set(HConstantFrameRate *pCfr, int SimpLevel)

virtual

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

ConstFRType HFrSolidBBox::GetType()

virtual

Returns

The simplification type associated with this class.
static void HFrSolidBBox::RegisterCallbacks()

static

registers various callbacks needed for this class

static HConstFRSimpType *HFrSolidBBox::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

static void HFrSolidBBox::draw_solid_bbx_tree(HIC_Rendition *rendition, HIC_Segment_Info *geo3)

private static

static void HFrSolidBBox::draw_solid_bbx(HIC_Rendition *rendition, HIC_Segment_Info *geo3)

private static