268 lines
9.5 KiB
HTML
268 lines
9.5 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>class SG_EXPORT osg::Fog</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.3">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::Fog</A>: public <!1><A HREF="Object.html#DOC.2.36.1">Object</A></H2>
|
|
<BLOCKQUOTE>Fog - encapsulates OpenGL fog state.</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=95>
|
|
<param name=classes value="CReferenced,MReferenced.html,CObject,MObject.html,CFog,MFog.html">
|
|
<param name=before value="M,M,M">
|
|
<param name=after value="Md_SP,Md_,M">
|
|
<param name=indent value="0,1,2">
|
|
<param name=arrowdir value="down">
|
|
</APPLET>
|
|
<HR>
|
|
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Classes</H3><DD><DT>
|
|
<A HREF="#DOC.2.13.1"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>enum <B>FogMode</B>
|
|
<DD><I></I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<A HREF="#DOC.2.13.2"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A> <B>Fog</B>( void )
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.3"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>static <!1><A HREF="Fog.html#DOC.2.13.2">Fog</A>* <B>instance</B>()
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.4"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual <!1><A HREF="Object.html#DOC.2.36.1">Object</A>* <B>clone</B>() const
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.5"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual bool <B>isSameKindAs</B>(<!1><A HREF="Object.html#DOC.2.36.1">Object</A>* obj)
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.6"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual const char* <B>className</B>() const
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.7"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>static void <B>enable</B>( void )
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.8"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>static void <B>disable</B>( void )
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.9"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>apply</B>( void )
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.10"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setMode</B>( <!1><A HREF="osg.html#DOC.2.89">uint</A> mode )
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.11"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="osg.html#DOC.2.89">uint</A> <B>getMode</B>( void )
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.12"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setDensity</B>( float density )
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.13"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>float <B>getDensity</B>( void )
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.14"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setStart</B>( float start )
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.15"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>float <B>getStart</B>( void )
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.16"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setEnd</B>( float end )
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.17"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>float <B>getEnd</B>( void )
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.18"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>void <B>setColor</B>( <!1><A HREF="Vec4.html">Vec4</A> &color )
|
|
<DD><I></I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<A HREF="#DOC.2.13.20"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="osg.html#DOC.2.89">uint</A> <B>_mode</B>
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.21"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>float <B>_density</B>
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.22"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>float <B>_start</B>
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.23"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>float <B>_end</B>
|
|
<DD><I></I>
|
|
<DT>
|
|
<A HREF="#DOC.2.13.24"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A><!1><A HREF="Vec4.html">Vec4</A> <B>_color</B>
|
|
<DD><I></I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Methods</H3><DD><DT>
|
|
<A HREF="#DOC.2.13.19"><IMG ALT="[more]" BORDER=0 SRC=icon1.gif></A>virtual <B>~Fog</B>( void )
|
|
<DD><I></I>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Object.html">Object</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual <!1><A HREF="Object.html#DOC.2.36.1">Object</A>* <B>readClone</B>(<!1><A HREF="Input.html">Input</A>& fr)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>write</B>(<!1><A HREF="Output.html">Output</A>& fw)
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>readLocalData</B>(<!1><A HREF="Input.html">Input</A>&)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual bool <B>writeLocalData</B>(<!1><A HREF="Output.html">Output</A>&)
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Referenced.html">Referenced</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Referenced.html#DOC.2.43.4">Referenced</A>& <B>operator = </B>(<!1><A HREF="Referenced.html#DOC.2.43.4">Referenced</A>&)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>ref</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>unref</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>int <B>referenceCount</B>()
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>int <B>_refCount</B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU">
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>Fog - encapsulates OpenGL fog state. </BLOCKQUOTE>
|
|
<DL>
|
|
|
|
<A NAME="FogMode">
|
|
<A NAME="DOC.2.13.1">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum FogMode</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="LINEAR">
|
|
<A NAME="DOC.2.13.1.1">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> LINEAR</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="EXP">
|
|
<A NAME="DOC.2.13.1.2">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> EXP</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="EXP2">
|
|
<A NAME="DOC.2.13.1.3">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> EXP2</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="Fog">
|
|
<A NAME="DOC.2.13.2">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Fog( void )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="instance">
|
|
<A NAME="DOC.2.13.3">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static <!1><A HREF="Fog.html#DOC.2.13.2">Fog</A>* instance()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="clone">
|
|
<A NAME="DOC.2.13.4">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Object.html#DOC.2.36.1">Object</A>* clone() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isSameKindAs">
|
|
<A NAME="DOC.2.13.5">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool isSameKindAs(<!1><A HREF="Object.html#DOC.2.36.1">Object</A>* obj)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="className">
|
|
<A NAME="DOC.2.13.6">
|
|
<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="enable">
|
|
<A NAME="DOC.2.13.7">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static void enable( void )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="disable">
|
|
<A NAME="DOC.2.13.8">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>static void disable( void )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="apply">
|
|
<A NAME="DOC.2.13.9">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void apply( void )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setMode">
|
|
<A NAME="DOC.2.13.10">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMode( <!1><A HREF="osg.html#DOC.2.89">uint</A> mode )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getMode">
|
|
<A NAME="DOC.2.13.11">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="osg.html#DOC.2.89">uint</A> getMode( void )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setDensity">
|
|
<A NAME="DOC.2.13.12">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setDensity( float density )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getDensity">
|
|
<A NAME="DOC.2.13.13">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getDensity( void )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setStart">
|
|
<A NAME="DOC.2.13.14">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setStart( float start )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getStart">
|
|
<A NAME="DOC.2.13.15">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getStart( void )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setEnd">
|
|
<A NAME="DOC.2.13.16">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setEnd( float end )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getEnd">
|
|
<A NAME="DOC.2.13.17">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float getEnd( void )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setColor">
|
|
<A NAME="DOC.2.13.18">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setColor( <!1><A HREF="Vec4.html">Vec4</A> &color )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~Fog">
|
|
<A NAME="DOC.2.13.19">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~Fog( void )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_mode">
|
|
<A NAME="DOC.2.13.20">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="osg.html#DOC.2.89">uint</A> _mode</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_density">
|
|
<A NAME="DOC.2.13.21">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _density</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_start">
|
|
<A NAME="DOC.2.13.22">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _start</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_end">
|
|
<A NAME="DOC.2.13.23">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>float _end</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_color">
|
|
<A NAME="DOC.2.13.24">
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec4.html">Vec4</A> _color</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><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>
|