150 lines
6.2 KiB
HTML
150 lines
6.2 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.8">
|
|
</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.12.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.12.2">setImpostorThresholdRatio</A></B>(const float ratio)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const float <B><A HREF="#DOC.2.12.3">getImpostorThresholdRatio</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.12.4">setMaximumNumberOfNestedImpostors</A></B>(const unsigned int num)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const unsigned int <B><A HREF="#DOC.2.12.5">getMaximumNumberOfNestedImpostors</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.12.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.12.7">apply</A></B>(osg::Node& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.12.8">apply</A></B>(osg::Group& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.12.9">apply</A></B>(osg::LOD& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.12.10">apply</A></B>(osg::Impostor& node)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.12.11">insertImpostors</A></B>()
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>LODList <B><A HREF="#DOC.2.12.13">_lodList</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>float <B><A HREF="#DOC.2.12.14">_impostorThresholdRatio</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.12.15">_maximumNumNestedImpostors</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.12.16">_numNestedImpostors</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Members</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef std::vector< osg::LOD* > LODList GroupList <B><A HREF="#DOC.2.12.12">_groupList</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.12.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.12.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setImpostorThresholdRatio(const float ratio)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getImpostorThresholdRatio"></A>
|
|
<A NAME="DOC.2.12.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const float getImpostorThresholdRatio() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setMaximumNumberOfNestedImpostors"></A>
|
|
<A NAME="DOC.2.12.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMaximumNumberOfNestedImpostors(const unsigned int num)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getMaximumNumberOfNestedImpostors"></A>
|
|
<A NAME="DOC.2.12.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const unsigned int getMaximumNumberOfNestedImpostors() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="reset"></A>
|
|
<A NAME="DOC.2.12.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.12.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.12.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.12.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.12.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.12.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.12.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef std::vector< osg::LOD* > LODList GroupList _groupList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_lodList"></A>
|
|
<A NAME="DOC.2.12.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>LODList _lodList</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_impostorThresholdRatio"></A>
|
|
<A NAME="DOC.2.12.14"></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.12.15"></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.12.16"></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://docpp.sourceforge.net">DOC++</A>.
|
|
</BODY>
|
|
</HTML>
|