OpenSceneGraph/doc/doc++/osgUtil/RenderBin.html
2003-04-17 16:22:51 +00:00

391 lines
20 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class OSGUTIL_EXPORT osgUtil::RenderBin</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class OSGUTIL_EXPORT <A HREF="#DOC.DOCU">osgUtil::RenderBin</A></H2></H2><BLOCKQUOTE> RenderBin base class</BLOCKQUOTE>
<HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=95>
<param name=classes value="Mosg::Object,M,CRenderBin,MRenderBin.html,CRenderStage,MRenderStage.html">
<param name=before value="M,M,M^_">
<param name=after value="Md_,M,M">
<param name=indent value="0,1,1">
<param name=arrowdir value="down">
</APPLET>
<HR>
<DL>
<P><DL>
<DT><H3>Public Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.14.40">_binNum</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderBin.html">RenderBin</A>* <B><A HREF="#DOC.2.14.41">_parent</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderStage.html">RenderStage</A>* <B><A HREF="#DOC.2.14.42">_stage</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderBin.html#DOC.2.14.3">RenderBinList</A> <B><A HREF="#DOC.2.14.43">_bins</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderBin.html#DOC.2.14.2">RenderGraphList</A> <B><A HREF="#DOC.2.14.44">_renderGraphList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderBin.html#DOC.2.14.1">RenderLeafList</A> <B><A HREF="#DOC.2.14.45">_renderLeafList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderBin.html#DOC.2.14.8">SortMode</A> <B><A HREF="#DOC.2.14.46">_sortMode</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;<!1><A HREF="RenderBin.html#DOC.2.14.26">SortCallback</A>&gt; <B><A HREF="#DOC.2.14.47">_sortCallback</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;<!1><A HREF="RenderBin.html#DOC.2.14.32">DrawCallback</A>&gt; <B><A HREF="#DOC.2.14.48">_drawCallback</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static <!1><A HREF="RenderBin.html#DOC.2.14.49">RenderBinPrototypeList</A> <B><A HREF="#DOC.2.14.50">s_renderBinPrototypeList</A></B>
</DL></P>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static <!1><A HREF="RenderBin.html">RenderBin</A>* <B><A HREF="#DOC.2.14.4">createRenderBin</A></B>(const std::string&amp; binName)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static <!1><A HREF="RenderBin.html">RenderBin</A>* <B><A HREF="#DOC.2.14.5">getRenderBinPrototype</A></B>(const std::string&amp; binName)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static void <B><A HREF="#DOC.2.14.6">addRenderBinPrototype</A></B>(const std::string&amp; binName, <!1><A HREF="RenderBin.html">RenderBin</A>* proto)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static void <B><A HREF="#DOC.2.14.7">removeRenderBinPrototype</A></B>(<!1><A HREF="RenderBin.html">RenderBin</A>* proto)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.14.9">RenderBin</A></B>(<!1><A HREF="RenderBin.html#DOC.2.14.8">SortMode</A> mode=<!1><A HREF="RenderBin.html#DOC.2.14.8.1">SORT_BY_STATE</A>)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.14.10">RenderBin</A></B>(const <!1><A HREF="RenderBin.html#DOC.2.14.10">RenderBin</A>&amp; rhs, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)
<DD><I>Copy constructor using CopyOp to manage deep vs shallow copy</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Object* <B><A HREF="#DOC.2.14.11">cloneType</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual osg::Object* <B><A HREF="#DOC.2.14.12">clone</A></B>(const osg::CopyOp&amp; copyop) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.14.13">isSameKindAs</A></B>(const osg::Object* obj) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.14.14">libraryName</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.14.15">className</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.14.16">reset</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderBin.html">RenderBin</A>* <B><A HREF="#DOC.2.14.17">find_or_insert</A></B>(int binNum, const std::string&amp; binName)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.18">addRenderGraph</A></B>(<!1><A HREF="RenderGraph.html">RenderGraph</A>* rg)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.19">sort</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.14.20">sortImplementation</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.21">setSortMode</A></B>(<!1><A HREF="RenderBin.html#DOC.2.14.8">SortMode</A> mode)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderBin.html#DOC.2.14.8">SortMode</A> <B><A HREF="#DOC.2.14.22">getSortMode</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.14.23">sortByState</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.14.24">sortFrontToBack</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.14.25">sortBackToFront</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.27">setSortCallback</A></B>(<!1><A HREF="RenderBin.html#DOC.2.14.26">SortCallback</A>* sortCallback)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderBin.html#DOC.2.14.26">SortCallback</A>* <B><A HREF="#DOC.2.14.28">getSortCallback</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="RenderBin.html#DOC.2.14.26">SortCallback</A>* <B><A HREF="#DOC.2.14.29">getSortCallback</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.14.30">draw</A></B>(osg::State&amp; state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&amp; previous)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.14.31">drawImplementation</A></B>(osg::State&amp; state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&amp; previous)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.33">setDrawCallback</A></B>(<!1><A HREF="RenderBin.html#DOC.2.14.32">DrawCallback</A>* drawCallback)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="RenderBin.html#DOC.2.14.32">DrawCallback</A>* <B><A HREF="#DOC.2.14.34">getDrawCallback</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="RenderBin.html#DOC.2.14.32">DrawCallback</A>* <B><A HREF="#DOC.2.14.35">getDrawCallback</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.14.36">getStats</A></B>(osg::Statistics* primStats)
<DD><I>extract stats for current draw list.</I>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.37">getPrims</A></B>(osg::Statistics* primStats)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.14.38">getPrims</A></B>(osg::Statistics* primStats, int nbin)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.14.39">copyLeavesFromRenderGraphListToRenderLeafList</A></B>()
</DL></P>
<P><DL>
<DT><H3>Public Members</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector&lt;<!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&gt; <B><A HREF="#DOC.2.14.1">RenderLeafList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector&lt;<!1><A HREF="RenderGraph.html">RenderGraph</A>*&gt; <B><A HREF="#DOC.2.14.2">RenderGraphList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::map&lt; int, osg::ref_ptr&lt;<!1><A HREF="RenderBin.html">RenderBin</A>&gt; &gt; <B><A HREF="#DOC.2.14.3">RenderBinList</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.14.8">SortMode</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>struct <B><A HREF="#DOC.2.14.26">SortCallback</A></B>: public osg::Referenced
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>struct <B><A HREF="#DOC.2.14.32">DrawCallback</A></B>: public osg::Referenced
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::map&lt; std::string, osg::ref_ptr&lt;<!1><A HREF="RenderBin.html">RenderBin</A>&gt; &gt; <B><A HREF="#DOC.2.14.49">RenderBinPrototypeList</A></B>
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.14.51">~RenderBin</A></B>()
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>
RenderBin base class</BLOCKQUOTE>
<DL>
<A NAME="RenderLeafList"></A>
<A NAME="DOC.2.14.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt;<!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&gt; RenderLeafList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RenderGraphList"></A>
<A NAME="DOC.2.14.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt;<!1><A HREF="RenderGraph.html">RenderGraph</A>*&gt; RenderGraphList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RenderBinList"></A>
<A NAME="DOC.2.14.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::map&lt; int, osg::ref_ptr&lt;<!1><A HREF="RenderBin.html">RenderBin</A>&gt; &gt; RenderBinList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="createRenderBin"></A>
<A NAME="DOC.2.14.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static <!1><A HREF="RenderBin.html">RenderBin</A>* createRenderBin(const std::string&amp; binName)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getRenderBinPrototype"></A>
<A NAME="DOC.2.14.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static <!1><A HREF="RenderBin.html">RenderBin</A>* getRenderBinPrototype(const std::string&amp; binName)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="addRenderBinPrototype"></A>
<A NAME="DOC.2.14.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static void addRenderBinPrototype(const std::string&amp; binName, <!1><A HREF="RenderBin.html">RenderBin</A>* proto)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="removeRenderBinPrototype"></A>
<A NAME="DOC.2.14.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static void removeRenderBinPrototype(<!1><A HREF="RenderBin.html">RenderBin</A>* proto)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="SortMode"></A>
<A NAME="DOC.2.14.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum SortMode</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="SORT_BY_STATE"></A>
<A NAME="DOC.2.14.8.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SORT_BY_STATE</B></TT>
<DL><DT><DD></DL><P>
<A NAME="SORT_FRONT_TO_BACK"></A>
<A NAME="DOC.2.14.8.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SORT_FRONT_TO_BACK</B></TT>
<DL><DT><DD></DL><P>
<A NAME="SORT_BACK_TO_FRONT"></A>
<A NAME="DOC.2.14.8.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> SORT_BACK_TO_FRONT</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="RenderBin"></A>
<A NAME="DOC.2.14.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RenderBin(<!1><A HREF="RenderBin.html#DOC.2.14.8">SortMode</A> mode=<!1><A HREF="RenderBin.html#DOC.2.14.8.1">SORT_BY_STATE</A>)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RenderBin"></A>
<A NAME="DOC.2.14.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RenderBin(const <!1><A HREF="RenderBin.html#DOC.2.14.10">RenderBin</A>&amp; rhs, const osg::CopyOp&amp; copyop=osg::CopyOp::SHALLOW_COPY)</B></TT>
<DD>Copy constructor using CopyOp to manage deep vs shallow copy
<DL><DT><DD></DL><P>
<A NAME="cloneType"></A>
<A NAME="DOC.2.14.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Object* cloneType() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="clone"></A>
<A NAME="DOC.2.14.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual osg::Object* clone(const osg::CopyOp&amp; copyop) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isSameKindAs"></A>
<A NAME="DOC.2.14.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool isSameKindAs(const osg::Object* obj) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="libraryName"></A>
<A NAME="DOC.2.14.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* libraryName() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="className"></A>
<A NAME="DOC.2.14.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* className() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="reset"></A>
<A NAME="DOC.2.14.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void reset()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="find_or_insert"></A>
<A NAME="DOC.2.14.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderBin.html">RenderBin</A>* find_or_insert(int binNum, const std::string&amp; binName)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="addRenderGraph"></A>
<A NAME="DOC.2.14.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void addRenderGraph(<!1><A HREF="RenderGraph.html">RenderGraph</A>* rg)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="sort"></A>
<A NAME="DOC.2.14.19"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void sort()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="sortImplementation"></A>
<A NAME="DOC.2.14.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void sortImplementation()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="setSortMode"></A>
<A NAME="DOC.2.14.21"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setSortMode(<!1><A HREF="RenderBin.html#DOC.2.14.8">SortMode</A> mode)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getSortMode"></A>
<A NAME="DOC.2.14.22"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderBin.html#DOC.2.14.8">SortMode</A> getSortMode() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="sortByState"></A>
<A NAME="DOC.2.14.23"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void sortByState()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="sortFrontToBack"></A>
<A NAME="DOC.2.14.24"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void sortFrontToBack()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="sortBackToFront"></A>
<A NAME="DOC.2.14.25"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void sortBackToFront()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="SortCallback"></A>
<A NAME="DOC.2.14.26"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>struct SortCallback: public osg::Referenced</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="sortImplementation"></A>
<A NAME="DOC.2.14.26.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void sortImplementation(<!1><A HREF="RenderBin.html">RenderBin</A>*) = 0</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="setSortCallback"></A>
<A NAME="DOC.2.14.27"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setSortCallback(<!1><A HREF="RenderBin.html#DOC.2.14.26">SortCallback</A>* sortCallback)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getSortCallback"></A>
<A NAME="DOC.2.14.28"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderBin.html#DOC.2.14.26">SortCallback</A>* getSortCallback()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getSortCallback"></A>
<A NAME="DOC.2.14.29"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="RenderBin.html#DOC.2.14.26">SortCallback</A>* getSortCallback() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="draw"></A>
<A NAME="DOC.2.14.30"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void draw(osg::State&amp; state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&amp; previous)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="drawImplementation"></A>
<A NAME="DOC.2.14.31"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void drawImplementation(osg::State&amp; state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&amp; previous)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="DrawCallback"></A>
<A NAME="DOC.2.14.32"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>struct DrawCallback: public osg::Referenced</B></TT>
<DL><DT><DD></DL><P><DL>
<A NAME="drawImplementation"></A>
<A NAME="DOC.2.14.32.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void drawImplementation(<!1><A HREF="RenderBin.html">RenderBin</A>* bin, osg::State&amp; state, <!1><A HREF="RenderLeaf.html">RenderLeaf</A>*&amp; previous) = 0</B></TT>
<DL><DT><DD></DL><P></DL>
<A NAME="setDrawCallback"></A>
<A NAME="DOC.2.14.33"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setDrawCallback(<!1><A HREF="RenderBin.html#DOC.2.14.32">DrawCallback</A>* drawCallback)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getDrawCallback"></A>
<A NAME="DOC.2.14.34"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderBin.html#DOC.2.14.32">DrawCallback</A>* getDrawCallback()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getDrawCallback"></A>
<A NAME="DOC.2.14.35"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="RenderBin.html#DOC.2.14.32">DrawCallback</A>* getDrawCallback() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getStats"></A>
<A NAME="DOC.2.14.36"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getStats(osg::Statistics* primStats)</B></TT>
<DD>extract stats for current draw list.
<DL><DT><DD></DL><P>
<A NAME="getPrims"></A>
<A NAME="DOC.2.14.37"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void getPrims(osg::Statistics* primStats)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getPrims"></A>
<A NAME="DOC.2.14.38"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getPrims(osg::Statistics* primStats, int nbin)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="copyLeavesFromRenderGraphListToRenderLeafList"></A>
<A NAME="DOC.2.14.39"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void copyLeavesFromRenderGraphListToRenderLeafList()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_binNum"></A>
<A NAME="DOC.2.14.40"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _binNum</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_parent"></A>
<A NAME="DOC.2.14.41"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderBin.html">RenderBin</A>* _parent</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_stage"></A>
<A NAME="DOC.2.14.42"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderStage.html">RenderStage</A>* _stage</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_bins"></A>
<A NAME="DOC.2.14.43"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderBin.html#DOC.2.14.3">RenderBinList</A> _bins</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_renderGraphList"></A>
<A NAME="DOC.2.14.44"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderBin.html#DOC.2.14.2">RenderGraphList</A> _renderGraphList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_renderLeafList"></A>
<A NAME="DOC.2.14.45"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderBin.html#DOC.2.14.1">RenderLeafList</A> _renderLeafList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_sortMode"></A>
<A NAME="DOC.2.14.46"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="RenderBin.html#DOC.2.14.8">SortMode</A> _sortMode</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_sortCallback"></A>
<A NAME="DOC.2.14.47"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;<!1><A HREF="RenderBin.html#DOC.2.14.26">SortCallback</A>&gt; _sortCallback</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_drawCallback"></A>
<A NAME="DOC.2.14.48"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;<!1><A HREF="RenderBin.html#DOC.2.14.32">DrawCallback</A>&gt; _drawCallback</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RenderBinPrototypeList"></A>
<A NAME="DOC.2.14.49"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::map&lt; std::string, osg::ref_ptr&lt;<!1><A HREF="RenderBin.html">RenderBin</A>&gt; &gt; RenderBinPrototypeList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="s_renderBinPrototypeList"></A>
<A NAME="DOC.2.14.50"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static <!1><A HREF="RenderBin.html#DOC.2.14.49">RenderBinPrototypeList</A> s_renderBinPrototypeList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="~RenderBin"></A>
<A NAME="DOC.2.14.51"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~RenderBin()</B></TT>
<DL><DT><DD></DL><P></DL>
<HR>
<DL><DT><B>Direct child classes:
</B><DD><A HREF="RenderStage.html">RenderStage</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://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>