162 lines
6.8 KiB
HTML
162 lines
6.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class OSGUTIL_EXPORT osgUtil::InsertImpostorsVisitor</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class OSGUTIL_EXPORT <A HREF="#DOC.DOCU">osgUtil::InsertImpostorsVisitor</A></H2></H2><BLOCKQUOTE>Insert impostor nodes into scene graph.</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
|
|
<param name=classes value="Mosg::NodeVisitor,M,CInsertImpostorsVisitor,MInsertImpostorsVisitor.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.8.1">InsertImpostorsVisitor</A></B>()
|
|
<DD><I>default to traversing all children</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.8.2">setImpostorThresholdRatio</A></B>(float ratio)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.8.3">getImpostorThresholdRatio</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.8.4">setMaximumNumberOfNestedImpostors</A></B>(unsigned int num)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.8.5">getMaximumNumberOfNestedImpostors</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.8.6">reset</A></B>()
|
|
<DD><I>empty visitor, make it ready for next traversal</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.8.7">apply</A></B>(osg::Node& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.8.8">apply</A></B>(osg::Group& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.8.9">apply</A></B>(osg::LOD& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.8.10">apply</A></B>(osg::Impostor& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.8.11">insertImpostors</A></B>()
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="InsertImpostorsVisitor.html#DOC.2.8.12">GroupList</A> <B><A HREF="#DOC.2.8.14">_groupList</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="InsertImpostorsVisitor.html#DOC.2.8.13">LODList</A> <B><A HREF="#DOC.2.8.15">_lodList</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.8.16">_impostorThresholdRatio</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.8.17">_maximumNumNestedImpostors</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.8.18">_numNestedImpostors</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector< osg::Group* > <B><A HREF="#DOC.2.8.12">GroupList</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector< osg::LOD* > <B><A HREF="#DOC.2.8.13">LODList</A></B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>Insert impostor nodes into scene graph.
|
|
For example of usage see src/Demos/osgimpostor.</BLOCKQUOTE>
|
|
<DL>
|
|
|
|
<A NAME="InsertImpostorsVisitor"></A>
|
|
<A NAME="DOC.2.8.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> InsertImpostorsVisitor()</B></TT>
|
|
<DD>default to traversing all children
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setImpostorThresholdRatio"></A>
|
|
<A NAME="DOC.2.8.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setImpostorThresholdRatio(float ratio)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getImpostorThresholdRatio"></A>
|
|
<A NAME="DOC.2.8.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getImpostorThresholdRatio() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setMaximumNumberOfNestedImpostors"></A>
|
|
<A NAME="DOC.2.8.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMaximumNumberOfNestedImpostors(unsigned int num)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getMaximumNumberOfNestedImpostors"></A>
|
|
<A NAME="DOC.2.8.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int getMaximumNumberOfNestedImpostors() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="reset"></A>
|
|
<A NAME="DOC.2.8.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void reset()</B></TT>
|
|
<DD>empty visitor, make it ready for next traversal
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.8.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Node& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.8.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Group& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.8.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::LOD& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply"></A>
|
|
<A NAME="DOC.2.8.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void apply(osg::Impostor& node)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="insertImpostors"></A>
|
|
<A NAME="DOC.2.8.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void insertImpostors()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="GroupList"></A>
|
|
<A NAME="DOC.2.8.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector< osg::Group* > GroupList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="LODList"></A>
|
|
<A NAME="DOC.2.8.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector< osg::LOD* > LODList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_groupList"></A>
|
|
<A NAME="DOC.2.8.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="InsertImpostorsVisitor.html#DOC.2.8.12">GroupList</A> _groupList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_lodList"></A>
|
|
<A NAME="DOC.2.8.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="InsertImpostorsVisitor.html#DOC.2.8.13">LODList</A> _lodList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_impostorThresholdRatio"></A>
|
|
<A NAME="DOC.2.8.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _impostorThresholdRatio</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_maximumNumNestedImpostors"></A>
|
|
<A NAME="DOC.2.8.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _maximumNumNestedImpostors</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_numNestedImpostors"></A>
|
|
<A NAME="DOC.2.8.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _numNestedImpostors</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://www.linuxsupportline.com/~doc++">DOC++</A>.
|
|
</BODY>
|
|
</HTML>
|