Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osg::ConvexPlanarOccluder Class Reference

A class for representing convex clipping volumes made up. More...

Inheritance diagram for osg::ConvexPlanarOccluder:

Inheritance graph
[legend]
List of all members.

Public Types

typedef std::vector< ConvexPlanarPolygon > HoleList

Public Methods

 ConvexPlanarOccluder ()
 ConvexPlanarOccluder (const ConvexPlanarOccluder &cpo, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 META_Object (osg, ConvexPlanarOccluder) void setOccluder(const ConvexPlanarPolygon &cpp)
ConvexPlanarPolygon & getOccluder ()
const ConvexPlanarPolygon & getOccluder () const
void addHole (const ConvexPlanarPolygon &cpp)
HoleList & getHoleList ()
const HoleList & getHoleList () const
void computeAttributes ()
void computeBound (BoundingBox &bb) const
void computeBound (BoundingSphere &bs) const

Protected Methods

 ~ConvexPlanarOccluder ()

Protected Attributes

ConvexPlanarPolygon _occluder
HoleList _holeList

Detailed Description

A class for representing convex clipping volumes made up.

When adding planes, their normals should point inwards (into the volume)


Member Typedef Documentation

typedef std::vector<ConvexPlanarPolygon> osg::ConvexPlanarOccluder::HoleList
 


Constructor & Destructor Documentation

osg::ConvexPlanarOccluder::ConvexPlanarOccluder (    )  [inline]
 

osg::ConvexPlanarOccluder::ConvexPlanarOccluder (  const ConvexPlanarOccluder &    cpo,
const CopyOp &    copyop = CopyOp::SHALLOW_COPY
)  [inline]
 

osg::ConvexPlanarOccluder::~ConvexPlanarOccluder (    )  [inline, protected]
 


Member Function Documentation

void osg::ConvexPlanarOccluder::addHole (  const ConvexPlanarPolygon &    cpp )  [inline]
 

void osg::ConvexPlanarOccluder::computeAttributes (    ) 
 

void osg::ConvexPlanarOccluder::computeBound (  BoundingSphere &    bs )  const
 

void osg::ConvexPlanarOccluder::computeBound (  BoundingBox &    bb )  const
 

const HoleList& osg::ConvexPlanarOccluder::getHoleList (    )  const [inline]
 

HoleList& osg::ConvexPlanarOccluder::getHoleList (    )  [inline]
 

const ConvexPlanarPolygon& osg::ConvexPlanarOccluder::getOccluder (    )  const [inline]
 

ConvexPlanarPolygon& osg::ConvexPlanarOccluder::getOccluder (    )  [inline]
 

osg::ConvexPlanarOccluder::META_Object (  osg   ,
ConvexPlanarOccluder   
)  const [inline]
 


Member Data Documentation

HoleList osg::ConvexPlanarOccluder::_holeList [protected]
 

ConvexPlanarPolygon osg::ConvexPlanarOccluder::_occluder [protected]
 


The documentation for this class was generated from the following file:
Generated at Wed Sep 18 13:55:27 2002 for the Open Scene Graph by doxygen 1.2.16.