version 3.3

VRS::PrimitiveQuadTreeDistanceGL Class Reference

#include <vrs/opengl/primitivequadtreedistancegl.h>

Inheritance diagram for VRS::PrimitiveQuadTreeDistanceGL:

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

List of all members.

Public Member Functions

 VRS_TYPEINFO (PrimitiveQuadTreeDistanceGL, Shape)
 VRS_SERIALIZABLE (PrimitiveQuadTreeDistanceGL)
 PrimitiveQuadTreeDistanceGL (double distance=-1.0)
void setDistance (double distance)
double getDistance () const
virtual Bounds boundingBox () const
 Shapes define their bounding box in model coordinates.


Detailed Description

The PrimitiveQuadTreeDistanceGL 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::PrimitiveQuadTreeDistanceGL::PrimitiveQuadTreeDistanceGL ( double  distance = -1.0  ) 

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


Member Function Documentation

VRS::PrimitiveQuadTreeDistanceGL::VRS_TYPEINFO ( PrimitiveQuadTreeDistanceGL  ,
Shape   
)

VRS::PrimitiveQuadTreeDistanceGL::VRS_SERIALIZABLE ( PrimitiveQuadTreeDistanceGL   ) 

void VRS::PrimitiveQuadTreeDistanceGL::setDistance ( double  distance  ) 

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.

double VRS::PrimitiveQuadTreeDistanceGL::getDistance (  )  const

Returns the active area that will be enabled for rendering.

virtual Bounds VRS::PrimitiveQuadTreeDistanceGL::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