version 3.3

VRS::PrimitiveQuadTreeAreaGL Class Reference

#include <vrs/opengl/primitivequadtreeareagl.h>

Inheritance diagram for VRS::PrimitiveQuadTreeAreaGL:

VRS::Shape VRS::RenderObj VRS::SharedObj VRS::Visitable

List of all members.

Public Member Functions

 VRS_TYPEINFO (PrimitiveQuadTreeAreaGL, Shape)
 VRS_SERIALIZABLE (PrimitiveQuadTreeAreaGL)
 PrimitiveQuadTreeAreaGL (const Bounds &area=Bounds())
void setActiveArea (const Bounds &area)
const BoundsgetActiveArea () const
virtual Bounds boundingBox () const
 Shapes define their bounding box in model coordinates.


Detailed Description

The PrimitiveQuadTreeAreaGL enables to render rectangular areas of an active PrimitiveQuadTreeGL object. The PrimitiveQuadTreeGL object must be above this shape in the scene graph.

Constructor & Destructor Documentation

VRS::PrimitiveQuadTreeAreaGL::PrimitiveQuadTreeAreaGL ( const Bounds area = Bounds()  ) 

Constructs a PrimitveQuadTreeAreaGL instance. By default, the whole active PrimitiveQuadTreeGL object will be rendered.


Member Function Documentation

VRS::PrimitiveQuadTreeAreaGL::VRS_TYPEINFO ( PrimitiveQuadTreeAreaGL  ,
Shape   
)

VRS::PrimitiveQuadTreeAreaGL::VRS_SERIALIZABLE ( PrimitiveQuadTreeAreaGL   ) 

void VRS::PrimitiveQuadTreeAreaGL::setActiveArea ( const Bounds area  ) 

Every leaf node of the active PrimitiveQuadTreeGL object which intersects the given area will be enabled for rendering. If the given area is undefined, all leaf nodes are enabled.

const Bounds& VRS::PrimitiveQuadTreeAreaGL::getActiveArea (  )  const

Returns the active area that will be enabled for rendering.

virtual Bounds VRS::PrimitiveQuadTreeAreaGL::boundingBox (  )  const [virtual]

Shapes define their bounding box in model coordinates.

Implements VRS::Shape.


The documentation for this class was generated from the following file:

Generated on Tue May 22 06:00:24 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact