OpenSceneGraph/doc/doc++/osgUtil/RenderGraph.html

160 lines
7.2 KiB
HTML
Raw Normal View History

2001-09-20 05:19:47 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class OSGUTIL_EXPORT osgUtil::RenderGraph</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class OSGUTIL_EXPORT <A HREF="#DOC.DOCU">osgUtil::RenderGraph</A></H2></H2><HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
<param name=classes value="Mosg::Referenced,M,CRenderGraph,MRenderGraph.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 Fields</H3><DD><DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>osg::ref_ptr&lt;const osg::StateSet&gt; <B><A HREF="#DOC.2.19.2">_stateset</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.19.3">_depth</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>ChildList <B><A HREF="#DOC.2.19.4">_children</A></B>
2001-09-20 05:19:47 +08:00
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>LeafList <B><A HREF="#DOC.2.19.5">_leaves</A></B>
2001-09-20 05:19:47 +08:00
</DL></P>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.19.6">RenderGraph</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.19.7">RenderGraph</A></B>(<!1><A HREF="RenderGraph.html#DOC.2.19.7">RenderGraph</A>* parent, const osg::StateSet* stateset)
2001-09-20 05:19:47 +08:00
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.19.8">~RenderGraph</A></B>()
2001-09-20 05:19:47 +08:00
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.19.9">empty</A></B>() const
2001-12-25 05:56:22 +08:00
<DD><I>return true if all of drawables, lights and children are empty</I>
2001-09-20 05:19:47 +08:00
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const bool <B><A HREF="#DOC.2.19.10">leaves_empty</A></B>() const
2001-09-20 05:19:47 +08:00
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.19.11">reset</A></B>()
2001-09-20 05:19:47 +08:00
<DD><I>reset the internal contents of a RenderGraph, including deleting all children</I>
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.19.12">clean</A></B>()
2001-09-20 05:19:47 +08:00
<DD><I>recursively clean the RenderGraph of all its drawables, lights and depths.</I>
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.19.13">prune</A></B>()
2001-09-20 05:19:47 +08:00
<DD><I>recursively prune the RenderGraph of empty children</I>
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="RenderGraph.html">RenderGraph</A>* <B><A HREF="#DOC.2.19.14">find_or_insert</A></B>(const osg::StateSet* stateset)
2001-09-20 05:19:47 +08:00
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.19.15">addLeaf</A></B>(<!1><A HREF="RenderLeaf.html">RenderLeaf</A>* leaf)
2001-09-20 05:19:47 +08:00
<DD><I>add a render leaf</I>
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>static inline void <B><A HREF="#DOC.2.19.16">moveRenderGraph</A></B>(osg::State&amp; state, <!1><A HREF="RenderGraph.html">RenderGraph</A>* sg_curr, <!1><A HREF="RenderGraph.html">RenderGraph</A>* sg_new)
2001-09-20 05:19:47 +08:00
<DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline static void <B><A HREF="#DOC.2.19.17">moveToRootRenderGraph</A></B>(osg::State&amp; state, <!1><A HREF="RenderGraph.html">RenderGraph</A>* sg_curr)
2001-09-20 05:19:47 +08:00
</DL></P>
<P><DL>
<DT><H3>Public Members</H3><DD><DT>
2002-02-09 18:54:18 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector&lt; osg::ref_ptr&lt;<!1><A HREF="RenderLeaf.html">RenderLeaf</A>&gt; &gt; LeafList <!1><A HREF="RenderGraph.html">RenderGraph</A>* <B><A HREF="#DOC.2.19.1">_parent</A></B>
2001-09-20 05:19:47 +08:00
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<DL>
<A NAME="_parent"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.1"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt; osg::ref_ptr&lt;<!1><A HREF="RenderLeaf.html">RenderLeaf</A>&gt; &gt; LeafList <!1><A HREF="RenderGraph.html">RenderGraph</A>* _parent</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_stateset"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.2"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>osg::ref_ptr&lt;const osg::StateSet&gt; _stateset</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_depth"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.3"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _depth</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_children"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.4"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>ChildList _children</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_leaves"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.5"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>LeafList _leaves</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RenderGraph"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.6"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RenderGraph()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="RenderGraph"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> RenderGraph(<!1><A HREF="RenderGraph.html#DOC.2.19.7">RenderGraph</A>* parent, const osg::StateSet* stateset)</B></TT>
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="~RenderGraph"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.8"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ~RenderGraph()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="empty"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.9"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool empty() const </B></TT>
2001-12-25 05:56:22 +08:00
<DD>return true if all of drawables, lights and children are empty
2001-09-20 05:19:47 +08:00
<DL><DT><DD></DL><P>
<A NAME="leaves_empty"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.10"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool leaves_empty() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="reset"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.11"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void reset()</B></TT>
<DD>reset the internal contents of a RenderGraph, including deleting all children
<DL><DT><DD></DL><P>
<A NAME="clean"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.12"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void clean()</B></TT>
<DD>recursively clean the RenderGraph of all its drawables, lights and depths.
Leaves children intact, and ready to be populated again.
<DL><DT><DD></DL><P>
<A NAME="prune"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.13"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void prune()</B></TT>
<DD>recursively prune the RenderGraph of empty children
<DL><DT><DD></DL><P>
<A NAME="find_or_insert"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.14"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="RenderGraph.html">RenderGraph</A>* find_or_insert(const osg::StateSet* stateset)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="addLeaf"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.15"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void addLeaf(<!1><A HREF="RenderLeaf.html">RenderLeaf</A>* leaf)</B></TT>
<DD>add a render leaf
<DL><DT><DD></DL><P>
<A NAME="moveRenderGraph"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.16"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static inline void moveRenderGraph(osg::State&amp; state, <!1><A HREF="RenderGraph.html">RenderGraph</A>* sg_curr, <!1><A HREF="RenderGraph.html">RenderGraph</A>* sg_new)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="moveToRootRenderGraph"></A>
2002-02-09 18:54:18 +08:00
<A NAME="DOC.2.19.17"></A>
2001-09-20 05:19:47 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline static void moveToRootRenderGraph(osg::State&amp; state, <!1><A HREF="RenderGraph.html">RenderGraph</A>* sg_curr)</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>