166 lines
7.7 KiB
HTML
166 lines
7.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class OSGFX_EXPORT osgFX::Scribe</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class OSGFX_EXPORT <A HREF="#DOC.DOCU">osgFX::Scribe</A></H2></H2><BLOCKQUOTE> This is a two-passes effect; the first pass renders the subgraph as usual while the second pass switches to wireframe mode, sets up lighting and material to obtain a fixed (user-defined) color and then renders the subgraph.</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=95>
|
|
<param name=classes value="Mosg::Group,M,CEffect,MEffect.html,CScribe,MScribe.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 Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.6.1">Scribe</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.6.2">Scribe</A></B>(const <!1><A HREF="Scribe.html#DOC.2.6.2">Scribe</A> &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.6.3">META_Effect</A></B>( <!1><A HREF="osgFX.html">osgFX</A>, <!1><A HREF="Scribe.html">Scribe</A>, "<!1><A HREF="Scribe.html">Scribe</A>", "This is a two-passes effect; the first pass renders the subgraph as usual " "while the second pass switches to wireframe mode, sets up lighting and " "material to obtain a fixed (user-defined) color and then renders the subgraph.\n" "This effect uses the PolygonOffset attribute to avoid Z-fighting, so it " "requires at least OpenGL version 1.1.", "Marco Jez")
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const osg::Vec4& <B><A HREF="#DOC.2.6.9">getWireframeColor</A></B>() const
|
|
<DD><I>get the wireframe color </I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.6.10">setWireframeColor</A></B>(const osg::Vec4 &color)
|
|
<DD><I>set the wireframe color </I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline float <B><A HREF="#DOC.2.6.11">getWireframeLineWidth</A></B>() const
|
|
<DD><I>get the wireframe line width </I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.6.12">setWireframeLineWidth</A></B>(float w)
|
|
<DD><I>set the wireframe line width </I>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.6.4">~Scribe</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Scribe.html">Scribe</A>& <B><A HREF="#DOC.2.6.5">operator=</A></B>(const <!1><A HREF="Scribe.html">Scribe</A> &)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.6.6">define_techniques</A></B>()
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Effect.html">Effect</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual inline bool <B>isSameKindAs</B>(const osg::Object* obj) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual inline const char* <B>libraryName</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual inline const char* <B>className</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual const char* <B>effectName</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual const char* <B>effectDescription</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual const char* <B>effectAuthor</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline virtual void <B>setUpDemo</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual void <B>traverse</B>(osg::NodeVisitor &nv)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline bool <B>getEnabled</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>setEnabled</B>(bool v)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline int <B>getNumTechniques</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Technique.html">Technique</A>* <B>getTechnique</B>(int i)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="Technique.html">Technique</A>* <B>getTechnique</B>(int i) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline int <B>getSelectedTechnique</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>selectTechnique</B>(int i)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>addTechnique</B>(<!1><A HREF="Technique.html">Technique</A>* tech)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>dirtyTechniques</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>inherited_traverse</B>(osg::NodeVisitor &nv)
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public Members</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>enum <B>TechniqueSelection</B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<BLOCKQUOTE>
|
|
This is a two-passes effect; the first pass renders the subgraph as usual
|
|
while the second pass switches to wireframe mode, sets up lighting and
|
|
material to obtain a fixed (user-defined) color and then renders the subgraph.
|
|
This effect uses the PolygonOffset attribute to avoid Z-fighting, so it
|
|
requires at least OpenGL version 1.1.</BLOCKQUOTE>
|
|
<DL>
|
|
|
|
<A NAME="Scribe"></A>
|
|
<A NAME="DOC.2.6.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Scribe()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="Scribe"></A>
|
|
<A NAME="DOC.2.6.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Scribe(const <!1><A HREF="Scribe.html#DOC.2.6.2">Scribe</A> &copy, const osg::CopyOp &copyop = osg::CopyOp::SHALLOW_COPY)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="META_Effect"></A>
|
|
<A NAME="DOC.2.6.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> META_Effect( <!1><A HREF="osgFX.html">osgFX</A>, <!1><A HREF="Scribe.html">Scribe</A>, "<!1><A HREF="Scribe.html">Scribe</A>", "This is a two-passes effect; the first pass renders the subgraph as usual " "while the second pass switches to wireframe mode, sets up lighting and " "material to obtain a fixed (user-defined) color and then renders the subgraph.\n" "This effect uses the PolygonOffset attribute to avoid Z-fighting, so it " "requires at least OpenGL version 1.1.", "Marco Jez")</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~Scribe"></A>
|
|
<A NAME="DOC.2.6.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~Scribe()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator="></A>
|
|
<A NAME="DOC.2.6.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Scribe.html">Scribe</A>& operator=(const <!1><A HREF="Scribe.html">Scribe</A> &)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="define_techniques"></A>
|
|
<A NAME="DOC.2.6.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool define_techniques()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getWireframeColor"></A>
|
|
<A NAME="DOC.2.6.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const osg::Vec4& getWireframeColor() const </B></TT>
|
|
<DD>get the wireframe color
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setWireframeColor"></A>
|
|
<A NAME="DOC.2.6.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setWireframeColor(const osg::Vec4 &color)</B></TT>
|
|
<DD>set the wireframe color
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getWireframeLineWidth"></A>
|
|
<A NAME="DOC.2.6.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline float getWireframeLineWidth() const </B></TT>
|
|
<DD>get the wireframe line width
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setWireframeLineWidth"></A>
|
|
<A NAME="DOC.2.6.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setWireframeLineWidth(float w)</B></TT>
|
|
<DD>set the wireframe line width
|
|
<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>
|