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)
[more]void setOccluder(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

Public

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

Protected Fields

[more]ConvexPlanarPolygon _occluder
[more]HoleList _holeList

Protected Methods

[more] ~ConvexPlanarOccluder()


Inherited from Object:

Public Classes

oenum DataVariance

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(DataVariance dv)
oinline DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
oinline Referenced* getUserData()
oinline const Referenced* getUserData() const

Protected Fields

oDataVariance _dataVariance
oref_ptr<Referenced> _userData


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (const Referenced&)
ostatic void setDeleteHandler(DeleteHandler* handler)
ostatic DeleteHandler* getDeleteHandler()
oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline void unref() const

Protected Fields

omutable OpenThreads::Mutex _refMutex
omutable int _refCount


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)

o META_Object(osg, ConvexPlanarOccluder)

ovoid setOccluder(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

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++.