Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields

osgAR::RegionCGAL Class Reference

does the estimate computations. More...

Inherits osgExtension::Group.

Inherited by osgAR::DrawablePlacer, osgAR::ErrorBounder, osgAR::Filter, and osgAR::LabelPlacer.


Public Member Functions

 RegionCGAL (const RegionCGAL &, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
void showObject (bool)
 set whether to show the object used for computation or not


Protected Member Functions

void estimate (const osgExtension::MatrixEstimate &MVPW, const osg::Vec3Array *vertices, const osg::NodePath &)
 does the actual computation of the view dependent estimate

void computeInnerHull (void)
 compute the polygonal representation of inner hull

void computeOuterHull (void)
 compute the polygonal representation of outer hull

osg::Vec3Array * getEllipseCenters (void)
 return the centers of the ellipses

osg::Vec3Array * getEllipsePoints (void)
 return the polygonal representation of the ellipses

osg::Vec3Array * getInnerHullPoints (void)
 return the polygonal representation of the inner hull

osg::Vec3Array * getOuterHullPoints (void)
 return the polygonal representation of the outer hull

const osg::Vec3Array * getOuterHullPoints (void) const
 const version that returns the polygonal representation of the outer hull

osg::Vec3 & getCentroid (void)
 return the centroid


Detailed Description

This class is responsible for the actual computation of the error estimate as well as the interior and exterior Hulls for an object.


The documentation for this class was generated from the following files:
Generated on Wed Nov 17 12:22:38 2004 for osgAR by doxygen 1.3.7