485 lines
24 KiB
HTML
485 lines
24 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
|
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE>class SG_EXPORT osg::CullSettings</TITLE>
|
||
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
|
||
|
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::CullSettings</A></H2></H2><HR>
|
||
|
|
||
|
<H2>Inheritance:</H2>
|
||
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
|
||
|
<param name=classes value="CCullSettings,MCullSettings.html,CCullStack,MCullStack.html">
|
||
|
<param name=before value="M,M^_">
|
||
|
<param name=after value="M,M">
|
||
|
<param name=indent value="0,0">
|
||
|
<param name=arrowdir value="down">
|
||
|
</APPLET>
|
||
|
<HR>
|
||
|
|
||
|
<DL>
|
||
|
<P><DL>
|
||
|
<DT><H3>Public Classes</H3><DD><DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.82.18">ComputeNearFarMode</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.82.23">CullingModeValues</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>struct <B><A HREF="#DOC.2.82.37">ClampProjectionMatrixCallback</A></B>: public <!1><A HREF="Referenced.html">osg::Referenced</A>
|
||
|
<DD><I>Callback for overriding the CullVisitor's default clamping of the projection matrix to computed near and far values.</I>
|
||
|
</DL></P>
|
||
|
|
||
|
<P><DL>
|
||
|
<DT><H3>Public Methods</H3><DD><DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.82.1">CullSettings</A></B>()
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.82.2">CullSettings</A></B>(<!1><A HREF="ArgumentParser.html">ArgumentParser</A>& arguments)
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.82.3">CullSettings</A></B>(const <!1><A HREF="CullSettings.html#DOC.2.82.3">CullSettings</A>& cs)
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.82.4">~CullSettings</A></B>()
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="CullSettings.html">CullSettings</A>& <B><A HREF="#DOC.2.82.5">operator = </A></B>(const <!1><A HREF="CullSettings.html">CullSettings</A>& settings)
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.6">setCullSettings</A></B>(const <!1><A HREF="CullSettings.html">CullSettings</A>& settings)
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.7">setDefaults</A></B>()
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.8">readEnvironmentalVariables</A></B>()
|
||
|
<DD><I>read the environmental variables</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.9">readCommandLine</A></B>(<!1><A HREF="ArgumentParser.html">ArgumentParser</A>& arguments)
|
||
|
<DD><I>read the commandline arguments</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.10">setImpostorsActive</A></B>(bool active)
|
||
|
<DD><I>Switch the creation of Impostors on or off.</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.82.11">getImpostorsActive</A></B>() const
|
||
|
<DD><I>Get whether impostors are active or not.</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.12">setImpostorPixelErrorThreshold</A></B>(float numPixels)
|
||
|
<DD><I>Set the impostor error threshold.</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.82.13">getImpostorPixelErrorThreshold</A></B>() const
|
||
|
<DD><I>Get the impostor error threshold</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.14">setDepthSortImpostorSprites</A></B>(bool doDepthSort)
|
||
|
<DD><I>Set whether ImpostorSprite's should be placed in a depth sorted bin for rendering</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.82.15">setDepthSortImpostorSprites</A></B>() const
|
||
|
<DD><I>Get whether ImpostorSprite's are depth sorted bin for rendering</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.16">setNumberOfFrameToKeepImpostorSprites</A></B>(int numFrames)
|
||
|
<DD><I>Set the number of frames that an ImpostorSprite's is kept whilst not being beyond, before being recycled</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.82.17">getNumberOfFrameToKeepImpostorSprites</A></B>() const
|
||
|
<DD><I>Get the number of frames that an ImpostorSprite's is kept whilst not being beyond, before being recycled</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.19">setComputeNearFarMode</A></B>(<!1><A HREF="CullSettings.html#DOC.2.82.18">ComputeNearFarMode</A> cnfm)
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="CullSettings.html#DOC.2.82.18">ComputeNearFarMode</A> <B><A HREF="#DOC.2.82.20">getComputeNearFarMode</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.21">setNearFarRatio</A></B>(double ratio)
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.82.22">getNearFarRatio</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.25">setCullingMode</A></B>(<!1><A HREF="CullSettings.html#DOC.2.82.24">CullingMode</A> mode)
|
||
|
<DD><I>Set the culling mode for the CullVisitor to use</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="CullSettings.html#DOC.2.82.24">CullingMode</A> <B><A HREF="#DOC.2.82.26">getCullingMode</A></B>() const
|
||
|
<DD><I>Returns the current CullingMode</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.27">setCullMask</A></B>(const <!1><A HREF="Node.html#DOC.2.155.37">osg::Node::NodeMask</A> nm)
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Node.html#DOC.2.155.37">osg::Node::NodeMask</A> <B><A HREF="#DOC.2.82.28">getCullMask</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.29">setCullMaskLeft</A></B>(const <!1><A HREF="Node.html#DOC.2.155.37">osg::Node::NodeMask</A> nm)
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Node.html#DOC.2.155.37">osg::Node::NodeMask</A> <B><A HREF="#DOC.2.82.30">getCullMaskLeft</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.31">setCullMaskRight</A></B>(const <!1><A HREF="Node.html#DOC.2.155.37">osg::Node::NodeMask</A> nm)
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Node.html#DOC.2.155.37">osg::Node::NodeMask</A> <B><A HREF="#DOC.2.82.32">getCullMaskRight</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.33">setLODScale</A></B>(float bias)
|
||
|
<DD><I>Set the LOD bias for the CullVisitor to use</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.82.34">getLODScale</A></B>() const
|
||
|
<DD><I>Get the LOD bias</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.35">setSmallFeatureCullingPixelSize</A></B>(float value)
|
||
|
<DD><I>Set the Small Feature Culling Pixel Size</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.82.36">getSmallFeatureCullingPixelSize</A></B>() const
|
||
|
<DD><I>Get the Small Feature Culling Pixel Size</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.82.38">setClampProjectionMatrixCallback</A></B>(<!1><A HREF="CullSettings.html#DOC.2.82.37">ClampProjectionMatrixCallback</A>* cpmc)
|
||
|
<DD><I>set the ClampProjectionMatrixCallback</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="CullSettings.html#DOC.2.82.37">ClampProjectionMatrixCallback</A>* <B><A HREF="#DOC.2.82.39">getClampProjectionMatrixCallback</A></B>()
|
||
|
<DD><I>get the non const ClampProjectionMatrixCallback</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="CullSettings.html#DOC.2.82.37">ClampProjectionMatrixCallback</A>* <B><A HREF="#DOC.2.82.40">getClampProjectionMatrixCallback</A></B>() const
|
||
|
<DD><I>get the const ClampProjectionMatrixCallback</I>
|
||
|
</DL></P>
|
||
|
|
||
|
<P><DL>
|
||
|
<DT><H3>Public</H3><DD><DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef unsigned int <B><A HREF="#DOC.2.82.24">CullingMode</A></B>
|
||
|
</DL></P>
|
||
|
|
||
|
<P><DL>
|
||
|
<DT><H3>Protected Fields</H3><DD><DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="CullSettings.html#DOC.2.82.18">ComputeNearFarMode</A> <B><A HREF="#DOC.2.82.41">_computeNearFar</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="CullSettings.html#DOC.2.82.24">CullingMode</A> <B><A HREF="#DOC.2.82.42">_cullingMode</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.82.43">_LODScale</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.82.44">_smallFeatureCullingPixelSize</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="CullSettings.html#DOC.2.82.37">ClampProjectionMatrixCallback</A>> <B><A HREF="#DOC.2.82.45">_clampProjectionMatrixCallback</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>double <B><A HREF="#DOC.2.82.46">_nearFarRatio</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.82.47">_impostorActive</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.82.48">_depthSortImpostorSprites</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.82.49">_impostorPixelErrorThreshold</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.82.50">_numFramesToKeepImpostorSprites</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>Node::NodeMask <B><A HREF="#DOC.2.82.51">_cullMask</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>Node::NodeMask <B><A HREF="#DOC.2.82.52">_cullMaskLeft</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>Node::NodeMask <B><A HREF="#DOC.2.82.53">_cullMaskRight</A></B>
|
||
|
</DL></P>
|
||
|
|
||
|
</DL>
|
||
|
|
||
|
<A NAME="DOC.DOCU"></A>
|
||
|
<HR>
|
||
|
<H2>Documentation</H2>
|
||
|
<DL>
|
||
|
|
||
|
<A NAME="CullSettings"></A>
|
||
|
<A NAME="DOC.2.82.1"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CullSettings()</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="CullSettings"></A>
|
||
|
<A NAME="DOC.2.82.2"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CullSettings(<!1><A HREF="ArgumentParser.html">ArgumentParser</A>& arguments)</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="CullSettings"></A>
|
||
|
<A NAME="DOC.2.82.3"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CullSettings(const <!1><A HREF="CullSettings.html#DOC.2.82.3">CullSettings</A>& cs)</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="~CullSettings"></A>
|
||
|
<A NAME="DOC.2.82.4"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~CullSettings()</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="operator = "></A>
|
||
|
<A NAME="DOC.2.82.5"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="CullSettings.html">CullSettings</A>& operator = (const <!1><A HREF="CullSettings.html">CullSettings</A>& settings)</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setCullSettings"></A>
|
||
|
<A NAME="DOC.2.82.6"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCullSettings(const <!1><A HREF="CullSettings.html">CullSettings</A>& settings)</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setDefaults"></A>
|
||
|
<A NAME="DOC.2.82.7"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setDefaults()</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="readEnvironmentalVariables"></A>
|
||
|
<A NAME="DOC.2.82.8"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void readEnvironmentalVariables()</B></TT>
|
||
|
<DD>read the environmental variables
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="readCommandLine"></A>
|
||
|
<A NAME="DOC.2.82.9"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void readCommandLine(<!1><A HREF="ArgumentParser.html">ArgumentParser</A>& arguments)</B></TT>
|
||
|
<DD>read the commandline arguments
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setImpostorsActive"></A>
|
||
|
<A NAME="DOC.2.82.10"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setImpostorsActive(bool active)</B></TT>
|
||
|
<DD>Switch the creation of Impostors on or off.
|
||
|
Setting active to false forces the CullVisitor to use the Impostor
|
||
|
LOD children for rendering. Setting active to true forces the
|
||
|
CullVisitor to create the appropriate pre-rendering stages which
|
||
|
render to the ImpostorSprite's texture.
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getImpostorsActive"></A>
|
||
|
<A NAME="DOC.2.82.11"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getImpostorsActive() const </B></TT>
|
||
|
<DD>Get whether impostors are active or not.
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setImpostorPixelErrorThreshold"></A>
|
||
|
<A NAME="DOC.2.82.12"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setImpostorPixelErrorThreshold(float numPixels)</B></TT>
|
||
|
<DD>Set the impostor error threshold.
|
||
|
Used in calculation of whether impostors remain valid.
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getImpostorPixelErrorThreshold"></A>
|
||
|
<A NAME="DOC.2.82.13"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getImpostorPixelErrorThreshold() const </B></TT>
|
||
|
<DD>Get the impostor error threshold
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setDepthSortImpostorSprites"></A>
|
||
|
<A NAME="DOC.2.82.14"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setDepthSortImpostorSprites(bool doDepthSort)</B></TT>
|
||
|
<DD>Set whether ImpostorSprite's should be placed in a depth sorted bin for rendering
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setDepthSortImpostorSprites"></A>
|
||
|
<A NAME="DOC.2.82.15"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool setDepthSortImpostorSprites() const </B></TT>
|
||
|
<DD>Get whether ImpostorSprite's are depth sorted bin for rendering
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setNumberOfFrameToKeepImpostorSprites"></A>
|
||
|
<A NAME="DOC.2.82.16"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setNumberOfFrameToKeepImpostorSprites(int numFrames)</B></TT>
|
||
|
<DD>Set the number of frames that an ImpostorSprite's is kept whilst not being beyond,
|
||
|
before being recycled
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getNumberOfFrameToKeepImpostorSprites"></A>
|
||
|
<A NAME="DOC.2.82.17"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int getNumberOfFrameToKeepImpostorSprites() const </B></TT>
|
||
|
<DD>Get the number of frames that an ImpostorSprite's is kept whilst not being beyond,
|
||
|
before being recycled
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="ComputeNearFarMode"></A>
|
||
|
<A NAME="DOC.2.82.18"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum ComputeNearFarMode</B></TT>
|
||
|
<DL><DT><DD></DL><P><DL>
|
||
|
|
||
|
<A NAME="DO_NOT_COMPUTE_NEAR_FAR"></A>
|
||
|
<A NAME="DOC.2.82.18.1"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DO_NOT_COMPUTE_NEAR_FAR</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES"></A>
|
||
|
<A NAME="DOC.2.82.18.2"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> COMPUTE_NEAR_FAR_USING_BOUNDING_VOLUMES</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="COMPUTE_NEAR_FAR_USING_PRIMITIVES"></A>
|
||
|
<A NAME="DOC.2.82.18.3"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> COMPUTE_NEAR_FAR_USING_PRIMITIVES</B></TT>
|
||
|
<DL><DT><DD></DL><P></DL>
|
||
|
|
||
|
<A NAME="setComputeNearFarMode"></A>
|
||
|
<A NAME="DOC.2.82.19"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setComputeNearFarMode(<!1><A HREF="CullSettings.html#DOC.2.82.18">ComputeNearFarMode</A> cnfm)</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getComputeNearFarMode"></A>
|
||
|
<A NAME="DOC.2.82.20"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="CullSettings.html#DOC.2.82.18">ComputeNearFarMode</A> getComputeNearFarMode() const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setNearFarRatio"></A>
|
||
|
<A NAME="DOC.2.82.21"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setNearFarRatio(double ratio)</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getNearFarRatio"></A>
|
||
|
<A NAME="DOC.2.82.22"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double getNearFarRatio() const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="CullingModeValues"></A>
|
||
|
<A NAME="DOC.2.82.23"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum CullingModeValues</B></TT>
|
||
|
<DL><DT><DD></DL><P><DL>
|
||
|
|
||
|
<A NAME="NO_CULLING"></A>
|
||
|
<A NAME="DOC.2.82.23.1"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> NO_CULLING</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="VIEW_FRUSTUM_SIDES_CULLING"></A>
|
||
|
<A NAME="DOC.2.82.23.2"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> VIEW_FRUSTUM_SIDES_CULLING</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="NEAR_PLANE_CULLING"></A>
|
||
|
<A NAME="DOC.2.82.23.3"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> NEAR_PLANE_CULLING</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="FAR_PLANE_CULLING"></A>
|
||
|
<A NAME="DOC.2.82.23.4"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FAR_PLANE_CULLING</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="VIEW_FRUSTUM_CULLING"></A>
|
||
|
<A NAME="DOC.2.82.23.5"></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.82.23.6"></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.82.23.7"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SHADOW_OCCLUSION_CULLING</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="CLUSTER_CULLING"></A>
|
||
|
<A NAME="DOC.2.82.23.8"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> CLUSTER_CULLING</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="DEFAULT_CULLING"></A>
|
||
|
<A NAME="DOC.2.82.23.9"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DEFAULT_CULLING</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="ENABLE_ALL_CULLING"></A>
|
||
|
<A NAME="DOC.2.82.23.10"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ENABLE_ALL_CULLING</B></TT>
|
||
|
<DL><DT><DD></DL><P></DL>
|
||
|
|
||
|
<A NAME="CullingMode"></A>
|
||
|
<A NAME="DOC.2.82.24"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef unsigned int CullingMode</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setCullingMode"></A>
|
||
|
<A NAME="DOC.2.82.25"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCullingMode(<!1><A HREF="CullSettings.html#DOC.2.82.24">CullingMode</A> mode)</B></TT>
|
||
|
<DD>Set the culling mode for the CullVisitor to use
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getCullingMode"></A>
|
||
|
<A NAME="DOC.2.82.26"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="CullSettings.html#DOC.2.82.24">CullingMode</A> getCullingMode() const </B></TT>
|
||
|
<DD>Returns the current CullingMode
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setCullMask"></A>
|
||
|
<A NAME="DOC.2.82.27"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCullMask(const <!1><A HREF="Node.html#DOC.2.155.37">osg::Node::NodeMask</A> nm)</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getCullMask"></A>
|
||
|
<A NAME="DOC.2.82.28"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Node.html#DOC.2.155.37">osg::Node::NodeMask</A> getCullMask() const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setCullMaskLeft"></A>
|
||
|
<A NAME="DOC.2.82.29"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCullMaskLeft(const <!1><A HREF="Node.html#DOC.2.155.37">osg::Node::NodeMask</A> nm)</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getCullMaskLeft"></A>
|
||
|
<A NAME="DOC.2.82.30"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Node.html#DOC.2.155.37">osg::Node::NodeMask</A> getCullMaskLeft() const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setCullMaskRight"></A>
|
||
|
<A NAME="DOC.2.82.31"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCullMaskRight(const <!1><A HREF="Node.html#DOC.2.155.37">osg::Node::NodeMask</A> nm)</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getCullMaskRight"></A>
|
||
|
<A NAME="DOC.2.82.32"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Node.html#DOC.2.155.37">osg::Node::NodeMask</A> getCullMaskRight() const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setLODScale"></A>
|
||
|
<A NAME="DOC.2.82.33"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setLODScale(float bias)</B></TT>
|
||
|
<DD>Set the LOD bias for the CullVisitor to use
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getLODScale"></A>
|
||
|
<A NAME="DOC.2.82.34"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getLODScale() const </B></TT>
|
||
|
<DD>Get the LOD bias
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="setSmallFeatureCullingPixelSize"></A>
|
||
|
<A NAME="DOC.2.82.35"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setSmallFeatureCullingPixelSize(float value)</B></TT>
|
||
|
<DD>Set the Small Feature Culling Pixel Size
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getSmallFeatureCullingPixelSize"></A>
|
||
|
<A NAME="DOC.2.82.36"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getSmallFeatureCullingPixelSize() const </B></TT>
|
||
|
<DD>Get the Small Feature Culling Pixel Size
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="ClampProjectionMatrixCallback"></A>
|
||
|
<A NAME="DOC.2.82.37"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>struct ClampProjectionMatrixCallback: public <!1><A HREF="Referenced.html">osg::Referenced</A></B></TT>
|
||
|
<DD>Callback for overriding the CullVisitor's default clamping of the projection matrix to computed near and far values.
|
||
|
Note, both Matrixf and Matrixd versions of clampProjectionMatrixImplementation must be implemented as the CullVisitor
|
||
|
can target either Matrix data type, configured at compile time.
|
||
|
<DL><DT><DD></DL><P><DL>
|
||
|
|
||
|
<A NAME="clampProjectionMatrixImplementation"></A>
|
||
|
<A NAME="DOC.2.82.37.1"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool clampProjectionMatrixImplementation(<!1><A HREF="Matrixf.html">osg::Matrixf</A>& projection, double& znear, double& zfar) const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="clampProjectionMatrixImplementation"></A>
|
||
|
<A NAME="DOC.2.82.37.2"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool clampProjectionMatrixImplementation(<!1><A HREF="Matrixd.html">osg::Matrixd</A>& projection, double& znear, double& zfar) const </B></TT>
|
||
|
<DL><DT><DD></DL><P></DL>
|
||
|
|
||
|
<A NAME="setClampProjectionMatrixCallback"></A>
|
||
|
<A NAME="DOC.2.82.38"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setClampProjectionMatrixCallback(<!1><A HREF="CullSettings.html#DOC.2.82.37">ClampProjectionMatrixCallback</A>* cpmc)</B></TT>
|
||
|
<DD>set the ClampProjectionMatrixCallback
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getClampProjectionMatrixCallback"></A>
|
||
|
<A NAME="DOC.2.82.39"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="CullSettings.html#DOC.2.82.37">ClampProjectionMatrixCallback</A>* getClampProjectionMatrixCallback()</B></TT>
|
||
|
<DD>get the non const ClampProjectionMatrixCallback
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getClampProjectionMatrixCallback"></A>
|
||
|
<A NAME="DOC.2.82.40"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="CullSettings.html#DOC.2.82.37">ClampProjectionMatrixCallback</A>* getClampProjectionMatrixCallback() const </B></TT>
|
||
|
<DD>get the const ClampProjectionMatrixCallback
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_computeNearFar"></A>
|
||
|
<A NAME="DOC.2.82.41"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="CullSettings.html#DOC.2.82.18">ComputeNearFarMode</A> _computeNearFar</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_cullingMode"></A>
|
||
|
<A NAME="DOC.2.82.42"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="CullSettings.html#DOC.2.82.24">CullingMode</A> _cullingMode</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_LODScale"></A>
|
||
|
<A NAME="DOC.2.82.43"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _LODScale</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_smallFeatureCullingPixelSize"></A>
|
||
|
<A NAME="DOC.2.82.44"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _smallFeatureCullingPixelSize</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_clampProjectionMatrixCallback"></A>
|
||
|
<A NAME="DOC.2.82.45"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="CullSettings.html#DOC.2.82.37">ClampProjectionMatrixCallback</A>> _clampProjectionMatrixCallback</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_nearFarRatio"></A>
|
||
|
<A NAME="DOC.2.82.46"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>double _nearFarRatio</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_impostorActive"></A>
|
||
|
<A NAME="DOC.2.82.47"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _impostorActive</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_depthSortImpostorSprites"></A>
|
||
|
<A NAME="DOC.2.82.48"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _depthSortImpostorSprites</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_impostorPixelErrorThreshold"></A>
|
||
|
<A NAME="DOC.2.82.49"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _impostorPixelErrorThreshold</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_numFramesToKeepImpostorSprites"></A>
|
||
|
<A NAME="DOC.2.82.50"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _numFramesToKeepImpostorSprites</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_cullMask"></A>
|
||
|
<A NAME="DOC.2.82.51"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>Node::NodeMask _cullMask</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_cullMaskLeft"></A>
|
||
|
<A NAME="DOC.2.82.52"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>Node::NodeMask _cullMaskLeft</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_cullMaskRight"></A>
|
||
|
<A NAME="DOC.2.82.53"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>Node::NodeMask _cullMaskRight</B></TT>
|
||
|
<DL><DT><DD></DL><P></DL>
|
||
|
<HR>
|
||
|
<DL><DT><B>Direct child classes:
|
||
|
</B><DD><A HREF="CullStack.html">CullStack</A><BR>
|
||
|
</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://www.linuxsupportline.com/~doc++">DOC++</A>.
|
||
|
</BODY>
|
||
|
</HTML>
|