class SG_EXPORT osg::ConvexPlanarOccluder

A class for representing convex clipping volumes made up.

Inheritance:


Public Methods

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

Public Members

[more]typedef std::vector<ConvexPlanarPolygon> HoleList

Protected Fields

[more]ConvexPlanarPolygon _occluder
[more]HoleList _holeList

Protected Methods

[more] ~ConvexPlanarOccluder()


Inherited from Object:

Public Methods

ovirtual Object* cloneType() const
ovirtual Object* clone(const CopyOp&) const
ovirtual bool isSameKindAs(const Object*) const
ovirtual const char* libraryName() const
ovirtual const char* className() const
oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
oinline Referenced* getUserData()
oinline const Referenced* getUserData() const

Public Members

oenum DataVariance

Protected Fields

oDataVariance _dataVariance
oref_ptr<Referenced> _userData


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (Referenced&)
oinline void ref() const
oinline void unref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline static int createdCount()
oinline static int deletedCount()

Protected Fields

omutable int _refCount
ostatic int _createdCount
ostatic int _deletedCount


Documentation

A class for representing convex clipping volumes made up. When adding planes, their normals should point inwards (into the volume)
o ConvexPlanarOccluder()

o ConvexPlanarOccluder(const ConvexPlanarOccluder& cpo, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

oMETA_Object (osg, ConvexPlanarOccluder)(const ConvexPlanarPolygon& cpp)

oConvexPlanarPolygon& getOccluder()

oconst ConvexPlanarPolygon& getOccluder() const

otypedef std::vector<ConvexPlanarPolygon> HoleList

ovoid addHole(const ConvexPlanarPolygon& cpp)

oHoleList& getHoleList()

oconst HoleList& getHoleList() const

ovoid computeAttributes()

ovoid computeBound(BoundingBox& bb) const

ovoid computeBound(BoundingSphere& bs) const

o ~ConvexPlanarOccluder()

oConvexPlanarPolygon _occluder

oHoleList _holeList


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.