266 lines
12 KiB
HTML
266 lines
12 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class SG_EXPORT osg::CullingSet</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::CullingSet</A></H2></H2><BLOCKQUOTE>A CullingSet class which contains a frustum and a list of occluder.</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
|
|
<param name=classes value="CReferenced,MReferenced.html,CCullingSet,MCullingSet.html">
|
|
<param name=before value="M,M">
|
|
<param name=after value="Md_,M">
|
|
<param name=indent value="0,1">
|
|
<param name=arrowdir value="down">
|
|
</APPLET>
|
|
<HR>
|
|
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.35.1">CullingSet</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.35.2">CullingSet</A></B>(const <!1><A HREF="CullingSet.html#DOC.2.35.2">CullingSet</A>& cs, const <!1><A HREF="Matrix.html">Matrix</A>& matrix, const <!1><A HREF="Vec4.html">Vec4</A>& pixelSizeVector)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.35.3">~CullingSet</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.35.5">setCullingMask</A></B>(Mask mask)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.35.6">setFrustum</A></B>(<!1><A HREF="Polytope.html">Polytope</A>& cv)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Polytope.html">Polytope</A>& <B><A HREF="#DOC.2.35.7">getFrustum</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Polytope.html">Polytope</A>& <B><A HREF="#DOC.2.35.8">getFrustum</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.35.9">addOccluder</A></B>(<!1><A HREF="ShadowVolumeOccluder.html">ShadowVolumeOccluder</A>& cv)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.35.10">setPixelSizeVector</A></B>(const <!1><A HREF="Vec4.html">Vec4</A>& v)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec4.html">Vec4</A>& <B><A HREF="#DOC.2.35.11">getPixelSizeVector</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Vec4.html">Vec4</A>& <B><A HREF="#DOC.2.35.12">getPixelSizeVector</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.35.13">setSmallFeatureCullingPixelSize</A></B>(float value)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float& <B><A HREF="#DOC.2.35.14">getSmallFeatureCullingPixelSize</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.35.15">getSmallFeatureCullingPixelSize</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.35.16">pixelSize</A></B>(const <!1><A HREF="Vec3.html">Vec3</A>& v, float <!1><A HREF="BoundingSphere.html#DOC.2.9.11">radius</A>) const
|
|
<DD><I>Compute the pixel of an object at position v, with specified radius</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.35.17">pixelSize</A></B>(const <!1><A HREF="BoundingSphere.html">BoundingSphere</A>& bs) const
|
|
<DD><I>Compute the pixel of an bounding sphere</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.35.18">isCulled</A></B>(const std::vector<<!1><A HREF="Vec3.html">Vec3</A>>& vertices)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.35.19">isCulled</A></B>(const <!1><A HREF="BoundingBox.html">BoundingBox</A>& bb)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.35.20">isCulled</A></B>(const <!1><A HREF="BoundingSphere.html">BoundingSphere</A>& bs)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.35.21">pushCurrentMask</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.35.22">popCurrentMask</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.35.23">disableAndPushOccludersCurrentMask</A></B>(NodePath& nodePath)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.35.24">popOccludersCurrentMask</A></B>(NodePath& nodePath)
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public Members</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef unsigned int Maskenum <B><A HREF="#DOC.2.35.4">MaskValues</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>Mask <B><A HREF="#DOC.2.35.25">_mask</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Polytope.html">Polytope</A> <B><A HREF="#DOC.2.35.26">_frustum</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>OccluderList <B><A HREF="#DOC.2.35.27">_occluderList</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec4.html">Vec4</A> <B><A HREF="#DOC.2.35.28">_pixelSizeVector</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.35.29">_smallFeatureCullingPixelSize</A></B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Referenced.html">Referenced</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Referenced.html">Referenced</A>& <B>operator = </B>(<!1><A HREF="Referenced.html">Referenced</A>&)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>ref</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref_nodelete</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const int <B>referenceCount</B>() const
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>mutable int <B>_refCount</B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>A CullingSet class which contains a frustum and a list of occluder. </BLOCKQUOTE>
|
|
<DL>
|
|
|
|
<A NAME="CullingSet"></A>
|
|
<A NAME="DOC.2.35.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CullingSet()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="CullingSet"></A>
|
|
<A NAME="DOC.2.35.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CullingSet(const <!1><A HREF="CullingSet.html#DOC.2.35.2">CullingSet</A>& cs, const <!1><A HREF="Matrix.html">Matrix</A>& matrix, const <!1><A HREF="Vec4.html">Vec4</A>& pixelSizeVector)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~CullingSet"></A>
|
|
<A NAME="DOC.2.35.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ~CullingSet()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="MaskValues"></A>
|
|
<A NAME="DOC.2.35.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef unsigned int Maskenum MaskValues</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="VIEW_FRUSTUM_CULLING"></A>
|
|
<A NAME="DOC.2.35.4.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> VIEW_FRUSTUM_CULLING</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="SMALL_FEATURE_CULLING"></A>
|
|
<A NAME="DOC.2.35.4.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SMALL_FEATURE_CULLING</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="SHADOW_OCCLUSION_CULLING"></A>
|
|
<A NAME="DOC.2.35.4.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SHADOW_OCCLUSION_CULLING</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="ALL_CULLING"></A>
|
|
<A NAME="DOC.2.35.4.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ALL_CULLING</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="setCullingMask"></A>
|
|
<A NAME="DOC.2.35.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCullingMask(Mask mask)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setFrustum"></A>
|
|
<A NAME="DOC.2.35.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setFrustum(<!1><A HREF="Polytope.html">Polytope</A>& cv)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getFrustum"></A>
|
|
<A NAME="DOC.2.35.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Polytope.html">Polytope</A>& getFrustum()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getFrustum"></A>
|
|
<A NAME="DOC.2.35.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Polytope.html">Polytope</A>& getFrustum() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="addOccluder"></A>
|
|
<A NAME="DOC.2.35.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addOccluder(<!1><A HREF="ShadowVolumeOccluder.html">ShadowVolumeOccluder</A>& cv)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setPixelSizeVector"></A>
|
|
<A NAME="DOC.2.35.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setPixelSizeVector(const <!1><A HREF="Vec4.html">Vec4</A>& v)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getPixelSizeVector"></A>
|
|
<A NAME="DOC.2.35.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec4.html">Vec4</A>& getPixelSizeVector()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getPixelSizeVector"></A>
|
|
<A NAME="DOC.2.35.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Vec4.html">Vec4</A>& getPixelSizeVector() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setSmallFeatureCullingPixelSize"></A>
|
|
<A NAME="DOC.2.35.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setSmallFeatureCullingPixelSize(float value)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getSmallFeatureCullingPixelSize"></A>
|
|
<A NAME="DOC.2.35.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float& getSmallFeatureCullingPixelSize()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getSmallFeatureCullingPixelSize"></A>
|
|
<A NAME="DOC.2.35.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getSmallFeatureCullingPixelSize() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="pixelSize"></A>
|
|
<A NAME="DOC.2.35.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float pixelSize(const <!1><A HREF="Vec3.html">Vec3</A>& v, float <!1><A HREF="BoundingSphere.html#DOC.2.9.11">radius</A>) const </B></TT>
|
|
<DD>Compute the pixel of an object at position v, with specified radius
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="pixelSize"></A>
|
|
<A NAME="DOC.2.35.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float pixelSize(const <!1><A HREF="BoundingSphere.html">BoundingSphere</A>& bs) const </B></TT>
|
|
<DD>Compute the pixel of an bounding sphere
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isCulled"></A>
|
|
<A NAME="DOC.2.35.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool isCulled(const std::vector<<!1><A HREF="Vec3.html">Vec3</A>>& vertices)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isCulled"></A>
|
|
<A NAME="DOC.2.35.19"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool isCulled(const <!1><A HREF="BoundingBox.html">BoundingBox</A>& bb)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isCulled"></A>
|
|
<A NAME="DOC.2.35.20"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool isCulled(const <!1><A HREF="BoundingSphere.html">BoundingSphere</A>& bs)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="pushCurrentMask"></A>
|
|
<A NAME="DOC.2.35.21"></A>
|
|
<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>
|
|
<A NAME="DOC.2.35.22"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void popCurrentMask()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="disableAndPushOccludersCurrentMask"></A>
|
|
<A NAME="DOC.2.35.23"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void disableAndPushOccludersCurrentMask(NodePath& nodePath)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="popOccludersCurrentMask"></A>
|
|
<A NAME="DOC.2.35.24"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void popOccludersCurrentMask(NodePath& nodePath)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_mask"></A>
|
|
<A NAME="DOC.2.35.25"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>Mask _mask</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_frustum"></A>
|
|
<A NAME="DOC.2.35.26"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Polytope.html">Polytope</A> _frustum</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_occluderList"></A>
|
|
<A NAME="DOC.2.35.27"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>OccluderList _occluderList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_pixelSizeVector"></A>
|
|
<A NAME="DOC.2.35.28"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec4.html">Vec4</A> _pixelSizeVector</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_smallFeatureCullingPixelSize"></A>
|
|
<A NAME="DOC.2.35.29"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _smallFeatureCullingPixelSize</B></TT>
|
|
<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>
|