2002-07-19 03:54:11 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< HTML >
< HEAD >
< TITLE > class SG_EXPORT osg::Polytope< / TITLE >
< META NAME = "GENERATOR" CONTENT = "DOC++ 3.4.8" >
< / HEAD >
< BODY BGCOLOR = "#ffffff" >
< H2 > class SG_EXPORT < A HREF = "#DOC.DOCU" > osg::Polytope< / A > < / H2 > < / H2 > < BLOCKQUOTE > A Polytope class for representing convex clipping volumes made up.< / BLOCKQUOTE >
< HR >
< DL >
< P > < DL >
< DT > < H3 > Public Methods< / H3 > < DD > < DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline < B > < A HREF = "#DOC.2.114.5" > Polytope< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline < B > < A HREF = "#DOC.2.114.6" > Polytope< / A > < / B > (const <!1> < A HREF = "Polytope.html#DOC.2.114.6" > Polytope< / A > & cv)
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline < B > < A HREF = "#DOC.2.114.7" > Polytope< / A > < / B > (const <!1> < A HREF = "Polytope.html#DOC.2.114.2" > PlaneList< / A > & pl)
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline < B > < A HREF = "#DOC.2.114.8" > ~Polytope< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.114.9" > clear< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "Polytope.html" > Polytope< / A > & < B > < A HREF = "#DOC.2.114.10" > operator = < / A > < / B > (const <!1> < A HREF = "Polytope.html" > Polytope< / A > & cv)
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.114.11" > setToUnitFrustum< / A > < / B > (bool withNear=true, bool withFar=true)
2002-07-19 03:54:11 +08:00
< DD > < I > Create a Polytope with is cube, centered at 0,0,0, with sides of 2 units< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.114.12" > set< / A > < / B > (const <!1> < A HREF = "Polytope.html#DOC.2.114.2" > PlaneList< / A > & pl)
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.114.13" > add< / A > < / B > (const <!1> < A HREF = "Plane.html" > osg::Plane< / A > & pl)
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.114.14" > flip< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DD > < I > flip/reverse the orientation of all the planes< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "Polytope.html#DOC.2.114.2" > PlaneList< / A > & < B > < A HREF = "#DOC.2.114.15" > getPlaneList< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const <!1> < A HREF = "Polytope.html#DOC.2.114.2" > PlaneList< / A > & < B > < A HREF = "#DOC.2.114.16" > getPlaneList< / A > < / B > () const
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.114.17" > setReferenceVertexList< / A > < / B > (<!1> < A HREF = "Polytope.html#DOC.2.114.3" > VertexList< / A > & vertices)
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "Polytope.html#DOC.2.114.3" > VertexList< / A > & < B > < A HREF = "#DOC.2.114.18" > getReferenceVertexList< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline const <!1> < A HREF = "Polytope.html#DOC.2.114.3" > VertexList< / A > & < B > < A HREF = "#DOC.2.114.19" > getReferenceVertexList< / A > < / B > () const
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.114.20" > setupMask< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "Polytope.html#DOC.2.114.1" > ClippingMask< / A > & < B > < A HREF = "#DOC.2.114.21" > getCurrentMask< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "Polytope.html#DOC.2.114.1" > ClippingMask< / A > < B > < A HREF = "#DOC.2.114.22" > getCurrentMask< / A > < / B > () const
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.114.23" > setResultMask< / A > < / B > (<!1> < A HREF = "Polytope.html#DOC.2.114.1" > ClippingMask< / A > mask)
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline <!1> < A HREF = "Polytope.html#DOC.2.114.1" > ClippingMask< / A > < B > < A HREF = "#DOC.2.114.24" > getResultMask< / A > < / B > () const
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "Polytope.html#DOC.2.114.4" > MaskStack< / A > & < B > < A HREF = "#DOC.2.114.25" > getMaskStack< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > const <!1> < A HREF = "Polytope.html#DOC.2.114.4" > MaskStack< / A > & < B > < A HREF = "#DOC.2.114.26" > getMaskStack< / A > < / B > () const
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.114.27" > pushCurrentMask< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.114.28" > popCurrentMask< / A > < / B > ()
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline bool < B > < A HREF = "#DOC.2.114.29" > contains< / A > < / B > (const <!1> < A HREF = "Vec3.html" > osg::Vec3< / A > & v) const
2002-07-19 03:54:11 +08:00
< DD > < I > Check whether a vertex is contained with clipping set< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline bool < B > < A HREF = "#DOC.2.114.30" > contains< / A > < / B > (const std::vector< <!1> < A HREF = "Vec3.html" > Vec3< / A > > & vertices)
2002-07-19 03:54:11 +08:00
< DD > < I > Check whether any part of vertex list is contained with clipping set< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline bool < B > < A HREF = "#DOC.2.114.31" > contains< / A > < / B > (const <!1> < A HREF = "BoundingSphere.html" > osg::BoundingSphere< / A > & bs)
2002-07-19 03:54:11 +08:00
< DD > < I > Check whether any part of a bounding sphere is contained within clipping set.< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline bool < B > < A HREF = "#DOC.2.114.32" > contains< / A > < / B > (const <!1> < A HREF = "BoundingBox.html" > osg::BoundingBox< / A > & bb)
2002-07-19 03:54:11 +08:00
< DD > < I > Check whether any part of a bounding box is contained within clipping set.< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline bool < B > < A HREF = "#DOC.2.114.33" > containsAllOf< / A > < / B > (const std::vector< <!1> < A HREF = "Vec3.html" > Vec3< / A > > & vertices)
2002-07-19 03:54:11 +08:00
< DD > < I > Check whether all of vertex list is contained with clipping set< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline bool < B > < A HREF = "#DOC.2.114.34" > containsAllOf< / A > < / B > (const <!1> < A HREF = "BoundingSphere.html" > osg::BoundingSphere< / A > & bs)
2002-07-19 03:54:11 +08:00
< DD > < I > Check whether the entire bounding sphere is contained within clipping set< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline bool < B > < A HREF = "#DOC.2.114.35" > containsAllOf< / A > < / B > (const <!1> < A HREF = "BoundingBox.html" > osg::BoundingBox< / A > & bb)
2002-07-19 03:54:11 +08:00
< DD > < I > Check whether the entire bounding box is contained within clipping set< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.114.36" > transform< / A > < / B > (const <!1> < A HREF = "Matrix.html" > osg::Matrix< / A > & matrix)
2002-07-19 03:54:11 +08:00
< DD > < I > Transform the clipping set by matrix.< / I >
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > inline void < B > < A HREF = "#DOC.2.114.37" > transformProvidingInverse< / A > < / B > (const <!1> < A HREF = "Matrix.html" > osg::Matrix< / A > & matrix)
2002-07-19 03:54:11 +08:00
< DD > < I > Transform the clipping set by provide a pre inverted matrix.< / I >
< / DL > < / P >
2002-11-08 22:15:17 +08:00
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > typedef unsigned int < B > < A HREF = "#DOC.2.114.1" > ClippingMask< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > typedef std::vector< <!1> < A HREF = "Plane.html" > Plane< / A > > < B > < A HREF = "#DOC.2.114.2" > PlaneList< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > typedef std::vector< <!1> < A HREF = "Vec3.html" > Vec3< / A > > < B > < A HREF = "#DOC.2.114.3" > VertexList< / A > < / B >
< DT >
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > typedef <!1> < A HREF = "fast_back_stack.html" > fast_back_stack< / A > < <!1> < A HREF = "Polytope.html#DOC.2.114.1" > ClippingMask< / A > > < B > < A HREF = "#DOC.2.114.4" > MaskStack< / A > < / B >
< / DL > < / P >
2002-07-19 03:54:11 +08:00
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "Polytope.html#DOC.2.114.4" > MaskStack< / A > < B > < A HREF = "#DOC.2.114.38" > _maskStack< / A > < / B >
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "Polytope.html#DOC.2.114.1" > ClippingMask< / A > < B > < A HREF = "#DOC.2.114.39" > _resultMask< / A > < / B >
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "Polytope.html#DOC.2.114.2" > PlaneList< / A > < B > < A HREF = "#DOC.2.114.40" > _planeList< / A > < / B >
2002-07-19 03:54:11 +08:00
< DT >
2002-11-08 22:15:17 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > <!1> < A HREF = "Polytope.html#DOC.2.114.3" > VertexList< / A > < B > < A HREF = "#DOC.2.114.41" > _referenceVertexList< / A > < / B >
2002-07-19 03:54:11 +08:00
< / DL > < / P >
< / DL >
< A NAME = "DOC.DOCU" > < / A >
< HR >
< H2 > Documentation< / H2 >
< BLOCKQUOTE > A Polytope class for representing convex clipping volumes made up.
When adding planes, their normals should point inwards (into the volume) < / BLOCKQUOTE >
< DL >
2002-11-08 22:15:17 +08:00
< A NAME = "ClippingMask" > < / A >
< A NAME = "DOC.2.114.1" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > typedef unsigned int ClippingMask< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "PlaneList" > < / A >
< A NAME = "DOC.2.114.2" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > typedef std::vector< <!1> < A HREF = "Plane.html" > Plane< / A > > PlaneList< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "VertexList" > < / A >
< A NAME = "DOC.2.114.3" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > typedef std::vector< <!1> < A HREF = "Vec3.html" > Vec3< / A > > VertexList< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "MaskStack" > < / A >
< A NAME = "DOC.2.114.4" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > typedef <!1> < A HREF = "fast_back_stack.html" > fast_back_stack< / A > < <!1> < A HREF = "Polytope.html#DOC.2.114.1" > ClippingMask< / A > > MaskStack< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
2002-07-19 03:54:11 +08:00
< A NAME = "Polytope" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.5" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline Polytope()< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "Polytope" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.6" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline Polytope(const <!1> < A HREF = "Polytope.html#DOC.2.114.6" > Polytope< / A > & cv)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "Polytope" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.7" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline Polytope(const <!1> < A HREF = "Polytope.html#DOC.2.114.2" > PlaneList< / A > & pl)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "~Polytope" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.8" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline ~Polytope()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "clear" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.9" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void clear()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "operator = " > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.10" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "Polytope.html" > Polytope< / A > & operator = (const <!1> < A HREF = "Polytope.html" > Polytope< / A > & cv)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setToUnitFrustum" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.11" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > void setToUnitFrustum(bool withNear=true, bool withFar=true)< / B > < / TT >
< DD > Create a Polytope with is cube, centered at 0,0,0, with sides of 2 units
< DL > < DT > < DD > < / DL > < P >
< A NAME = "set" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.12" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void set(const <!1> < A HREF = "Polytope.html#DOC.2.114.2" > PlaneList< / A > & pl)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "add" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.13" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void add(const <!1> < A HREF = "Plane.html" > osg::Plane< / A > & pl)< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "flip" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.14" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void flip()< / B > < / TT >
< DD > flip/reverse the orientation of all the planes
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getPlaneList" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.15" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "Polytope.html#DOC.2.114.2" > PlaneList< / A > & getPlaneList()< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getPlaneList" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.16" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const <!1> < A HREF = "Polytope.html#DOC.2.114.2" > PlaneList< / A > & getPlaneList() const < / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setReferenceVertexList" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.17" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setReferenceVertexList(<!1> < A HREF = "Polytope.html#DOC.2.114.3" > VertexList< / A > & vertices)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getReferenceVertexList" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.18" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "Polytope.html#DOC.2.114.3" > VertexList< / A > & getReferenceVertexList()< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getReferenceVertexList" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.19" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline const <!1> < A HREF = "Polytope.html#DOC.2.114.3" > VertexList< / A > & getReferenceVertexList() const < / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setupMask" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.20" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setupMask()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getCurrentMask" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.21" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "Polytope.html#DOC.2.114.1" > ClippingMask< / A > & getCurrentMask()< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getCurrentMask" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.22" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "Polytope.html#DOC.2.114.1" > ClippingMask< / A > getCurrentMask() const < / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setResultMask" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.23" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void setResultMask(<!1> < A HREF = "Polytope.html#DOC.2.114.1" > ClippingMask< / A > mask)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getResultMask" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.24" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline <!1> < A HREF = "Polytope.html#DOC.2.114.1" > ClippingMask< / A > getResultMask() const < / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getMaskStack" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.25" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "Polytope.html#DOC.2.114.4" > MaskStack< / A > & getMaskStack()< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "getMaskStack" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.26" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > const <!1> < A HREF = "Polytope.html#DOC.2.114.4" > MaskStack< / A > & getMaskStack() const < / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "pushCurrentMask" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.27" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void pushCurrentMask()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "popCurrentMask" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.28" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void popCurrentMask()< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "contains" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.29" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline bool contains(const <!1> < A HREF = "Vec3.html" > osg::Vec3< / A > & v) const < / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Check whether a vertex is contained with clipping set
< DL > < DT > < DD > < / DL > < P >
< A NAME = "contains" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.30" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline bool contains(const std::vector< <!1> < A HREF = "Vec3.html" > Vec3< / A > > & vertices)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Check whether any part of vertex list is contained with clipping set
< DL > < DT > < DD > < / DL > < P >
< A NAME = "contains" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.31" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline bool contains(const <!1> < A HREF = "BoundingSphere.html" > osg::BoundingSphere< / A > & bs)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Check whether any part of a bounding sphere is contained within clipping set.
Using a mask to determine which planes should be used for the check, and
modifying the mask to turn off planes which wouldn't contribute to clipping
of any internal objects. This feature is used in osgUtil::CullVisitor
to prevent redundant plane checking.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "contains" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.32" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline bool contains(const <!1> < A HREF = "BoundingBox.html" > osg::BoundingBox< / A > & bb)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Check whether any part of a bounding box is contained within clipping set.
Using a mask to determine which planes should be used for the check, and
modifying the mask to turn off planes which wouldn't contribute to clipping
of any internal objects. This feature is used in osgUtil::CullVisitor
to prevent redundant plane checking.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "containsAllOf" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.33" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline bool containsAllOf(const std::vector< <!1> < A HREF = "Vec3.html" > Vec3< / A > > & vertices)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Check whether all of vertex list is contained with clipping set
< DL > < DT > < DD > < / DL > < P >
< A NAME = "containsAllOf" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.34" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline bool containsAllOf(const <!1> < A HREF = "BoundingSphere.html" > osg::BoundingSphere< / A > & bs)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Check whether the entire bounding sphere is contained within clipping set
< DL > < DT > < DD > < / DL > < P >
< A NAME = "containsAllOf" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.35" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline bool containsAllOf(const <!1> < A HREF = "BoundingBox.html" > osg::BoundingBox< / A > & bb)< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DD > Check whether the entire bounding box is contained within clipping set
< DL > < DT > < DD > < / DL > < P >
< A NAME = "transform" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.36" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void transform(const <!1> < A HREF = "Matrix.html" > osg::Matrix< / A > & matrix)< / B > < / TT >
< DD > Transform the clipping set by matrix. Note, this operations carries out
the calculation of the inverse of the matrix since to transforms
planes must be multiplied my the inverse transposed. This
make this operation expensive. If the inverse has been already
calculated elsewhere then use transformProvidingInverse() instead.
See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf
< DL > < DT > < DD > < / DL > < P >
< A NAME = "transformProvidingInverse" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.37" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > inline void transformProvidingInverse(const <!1> < A HREF = "Matrix.html" > osg::Matrix< / A > & matrix)< / B > < / TT >
< DD > Transform the clipping set by provide a pre inverted matrix.
see transform for details.
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_maskStack" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.38" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "Polytope.html#DOC.2.114.4" > MaskStack< / A > _maskStack< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_resultMask" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.39" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "Polytope.html#DOC.2.114.1" > ClippingMask< / A > _resultMask< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_planeList" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.40" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "Polytope.html#DOC.2.114.2" > PlaneList< / A > _planeList< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_referenceVertexList" > < / A >
2002-11-08 22:15:17 +08:00
< A NAME = "DOC.2.114.41" > < / A >
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > <!1> < A HREF = "Polytope.html#DOC.2.114.3" > VertexList< / A > _referenceVertexList< / B > < / TT >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P > < / DL >
< HR > < DL > < DT > < B > This class has no child classes.< / B > < / DL >
< DL > < DT > < DD > < / DL > < P > < P > < I > < A HREF = "index.html" > Alphabetic index< / A > < / I > < I > < A HREF = "HIER.html" > HTML hierarchy of classes< / A > or < A HREF = "HIERjava.html" > Java< / A > < / I > < / P > < HR >
< BR >
This page was generated with the help of < A HREF = "http://docpp.sourceforge.net" > DOC++< / A > .
< / BODY >
< / HTML >