OpenSceneGraph/doc/doc++/osgUtil/FlattenStaticTransformsVisitor.html
2003-01-24 23:36:35 +00:00

129 lines
5.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class OSGUTIL_EXPORT osgUtil::Optimizer::FlattenStaticTransformsVisitor</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class OSGUTIL_EXPORT <A HREF="#DOC.DOCU">FlattenStaticTransformsVisitor</A></H2></H2><BLOCKQUOTE>Flatten Static Trasform nodes by applying their transform to the geometry on the leaves of the scene graph, then removing the now redundant transforms</BLOCKQUOTE>
<HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
<param name=classes value="Mosg::NodeVisitor,M,CFlattenStaticTransformsVisitor,MFlattenStaticTransformsVisitor.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.10.5.1">FlattenStaticTransformsVisitor</A></B>()
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.10.5.2">apply</A></B>(osg::Geode&amp; geode)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.10.5.3">apply</A></B>(osg::Billboard&amp; geode)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.10.5.4">apply</A></B>(osg::Transform&amp; transform)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.10.5.5">removeTransforms</A></B>(osg::Node* nodeWeCannotRemove)
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="FlattenStaticTransformsVisitor.html#DOC.2.10.5.6">TransformStack</A> <B><A HREF="#DOC.2.10.5.10">_transformStack</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="FlattenStaticTransformsVisitor.html#DOC.2.10.5.7">DrawableSet</A> <B><A HREF="#DOC.2.10.5.11">_drawableSet</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="FlattenStaticTransformsVisitor.html#DOC.2.10.5.8">BillboardSet</A> <B><A HREF="#DOC.2.10.5.12">_billboardSet</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="FlattenStaticTransformsVisitor.html#DOC.2.10.5.9">TransformSet</A> <B><A HREF="#DOC.2.10.5.13">_transformSet</A></B>
</DL></P>
<P><DL>
<DT><H3>Protected Members</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector&lt;osg::Transform*&gt; <B><A HREF="#DOC.2.10.5.6">TransformStack</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::set&lt;osg::Drawable*&gt; <B><A HREF="#DOC.2.10.5.7">DrawableSet</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::set&lt;osg::Billboard*&gt; <B><A HREF="#DOC.2.10.5.8">BillboardSet</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::set&lt;osg::Transform*&gt; <B><A HREF="#DOC.2.10.5.9">TransformSet</A></B>
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>Flatten Static Trasform nodes by applying their transform to the
geometry on the leaves of the scene graph, then removing the
now redundant transforms</BLOCKQUOTE>
<DL>
<A NAME="FlattenStaticTransformsVisitor"></A>
<A NAME="DOC.2.10.5.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FlattenStaticTransformsVisitor()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply"></A>
<A NAME="DOC.2.10.5.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Geode&amp; geode)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply"></A>
<A NAME="DOC.2.10.5.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Billboard&amp; geode)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="apply"></A>
<A NAME="DOC.2.10.5.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Transform&amp; transform)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="removeTransforms"></A>
<A NAME="DOC.2.10.5.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool removeTransforms(osg::Node* nodeWeCannotRemove)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="TransformStack"></A>
<A NAME="DOC.2.10.5.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector&lt;osg::Transform*&gt; TransformStack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="DrawableSet"></A>
<A NAME="DOC.2.10.5.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::set&lt;osg::Drawable*&gt; DrawableSet</B></TT>
<DL><DT><DD></DL><P>
<A NAME="BillboardSet"></A>
<A NAME="DOC.2.10.5.8"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::set&lt;osg::Billboard*&gt; BillboardSet</B></TT>
<DL><DT><DD></DL><P>
<A NAME="TransformSet"></A>
<A NAME="DOC.2.10.5.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::set&lt;osg::Transform*&gt; TransformSet</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_transformStack"></A>
<A NAME="DOC.2.10.5.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="FlattenStaticTransformsVisitor.html#DOC.2.10.5.6">TransformStack</A> _transformStack</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_drawableSet"></A>
<A NAME="DOC.2.10.5.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="FlattenStaticTransformsVisitor.html#DOC.2.10.5.7">DrawableSet</A> _drawableSet</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_billboardSet"></A>
<A NAME="DOC.2.10.5.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="FlattenStaticTransformsVisitor.html#DOC.2.10.5.8">BillboardSet</A> _billboardSet</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_transformSet"></A>
<A NAME="DOC.2.10.5.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="FlattenStaticTransformsVisitor.html#DOC.2.10.5.9">TransformSet</A> _transformSet</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>