187 lines
10 KiB
HTML
187 lines
10 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>template<class T> class osg::TriangleFunctor</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>template<class <!1><A HREF="TexGen.html#DOC.2.203.11.2">T</A>> class <A HREF="#DOC.DOCU">osg::TriangleFunctor</A></H2></H2><HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=95>
|
|
<param name=classes value="MT,M,MDrawable::PrimitiveFunctor,M,CTriangleFunctor,MTriangleFunctor.html">
|
|
<param name=before value="M,M,M">
|
|
<param name=after value="Ml_,MD_,M">
|
|
<param name=indent value="0,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.221.1">TriangleFunctor</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.221.2">~TriangleFunctor</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.221.3">setTreatVertexDataAsTemporary</A></B>(bool treatVertexDataAsTemporary)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.221.4">getTreatVertexDataAsTemporary</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.5">setVertexArray</A></B>(unsigned int count, const <!1><A HREF="Vec3.html">Vec3</A>* vertices)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.6">setVertexArray</A></B>(unsigned int, const <!1><A HREF="Vec4.html">Vec4</A>* )
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.7">drawArrays</A></B>(GLenum mode, GLint <!1><A HREF="ImpostorSpriteManager.html#DOC.2.93.3">first</A>, GLsizei count)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.8">drawElements</A></B>(GLenum mode, GLsizei count, const GLubyte* <!1><A HREF="Geometry.html#DOC.2.84.12.6">indices</A>)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.9">drawElements</A></B>(GLenum mode, GLsizei count, const GLushort* <!1><A HREF="Geometry.html#DOC.2.84.12.6">indices</A>)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.10">drawElements</A></B>(GLenum mode, GLsizei count, const GLuint* <!1><A HREF="Geometry.html#DOC.2.84.12.6">indices</A>)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.11">begin</A></B>(GLenum mode)
|
|
<DD><I>begin(),vertex() & end() are convinience methods for adapting non vertex array primitives to vertex array based primitives.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.12">vertex</A></B>(const <!1><A HREF="Vec2.html">Vec2</A>& vert)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.13">vertex</A></B>(const <!1><A HREF="Vec3.html">Vec3</A>& vert)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.14">vertex</A></B>(const <!1><A HREF="Vec4.html">Vec4</A>& vert)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.15">vertex</A></B>(float <!1><A HREF="Viewport.html#DOC.2.233.8">x</A>, float <!1><A HREF="Viewport.html#DOC.2.233.9">y</A>)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.16">vertex</A></B>(float <!1><A HREF="Viewport.html#DOC.2.233.8">x</A>, float <!1><A HREF="Viewport.html#DOC.2.233.9">y</A>, float <!1><A HREF="Vec4.html#DOC.2.229.15">z</A>)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.17">vertex</A></B>(float <!1><A HREF="Viewport.html#DOC.2.233.8">x</A>, float <!1><A HREF="Viewport.html#DOC.2.233.9">y</A>, float <!1><A HREF="Vec4.html#DOC.2.229.15">z</A>, float <!1><A HREF="Vec4.html#DOC.2.229.16">w</A>)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.221.18">end</A></B>()
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.221.19">_vertexArraySize</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const <!1><A HREF="Vec3.html">Vec3</A>* <B><A HREF="#DOC.2.221.20">_vertexArrayPtr</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLenum <B><A HREF="#DOC.2.221.21">_modeCache</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>std::vector<<!1><A HREF="Vec3.html">Vec3</A>> <B><A HREF="#DOC.2.221.22">_vertexCache</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>bool <B><A HREF="#DOC.2.221.23">_treatVertexDataAsTemporary</A></B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
|
|
<A NAME="DOC.DOCU"></A>
|
|
<HR>
|
|
<H2>Documentation</H2>
|
|
<DL>
|
|
|
|
<A NAME="TriangleFunctor"></A>
|
|
<A NAME="DOC.2.221.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TriangleFunctor()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~TriangleFunctor"></A>
|
|
<A NAME="DOC.2.221.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~TriangleFunctor()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setTreatVertexDataAsTemporary"></A>
|
|
<A NAME="DOC.2.221.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTreatVertexDataAsTemporary(bool treatVertexDataAsTemporary)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getTreatVertexDataAsTemporary"></A>
|
|
<A NAME="DOC.2.221.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool getTreatVertexDataAsTemporary() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setVertexArray"></A>
|
|
<A NAME="DOC.2.221.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setVertexArray(unsigned int count, const <!1><A HREF="Vec3.html">Vec3</A>* vertices)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setVertexArray"></A>
|
|
<A NAME="DOC.2.221.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void setVertexArray(unsigned int, const <!1><A HREF="Vec4.html">Vec4</A>* )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="drawArrays"></A>
|
|
<A NAME="DOC.2.221.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void drawArrays(GLenum mode, GLint <!1><A HREF="ImpostorSpriteManager.html#DOC.2.93.3">first</A>, GLsizei count)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="drawElements"></A>
|
|
<A NAME="DOC.2.221.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void drawElements(GLenum mode, GLsizei count, const GLubyte* <!1><A HREF="Geometry.html#DOC.2.84.12.6">indices</A>)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="drawElements"></A>
|
|
<A NAME="DOC.2.221.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void drawElements(GLenum mode, GLsizei count, const GLushort* <!1><A HREF="Geometry.html#DOC.2.84.12.6">indices</A>)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="drawElements"></A>
|
|
<A NAME="DOC.2.221.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void drawElements(GLenum mode, GLsizei count, const GLuint* <!1><A HREF="Geometry.html#DOC.2.84.12.6">indices</A>)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="begin"></A>
|
|
<A NAME="DOC.2.221.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void begin(GLenum mode)</B></TT>
|
|
<DD>begin(),vertex() & end() are convinience methods for adapting
|
|
non vertex array primitives to vertex array based primitives.
|
|
this is done to simplify the implementation of primtive functor
|
|
subclasses - users only need override drawArray and drawElements.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="vertex"></A>
|
|
<A NAME="DOC.2.221.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void vertex(const <!1><A HREF="Vec2.html">Vec2</A>& vert)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="vertex"></A>
|
|
<A NAME="DOC.2.221.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void vertex(const <!1><A HREF="Vec3.html">Vec3</A>& vert)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="vertex"></A>
|
|
<A NAME="DOC.2.221.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void vertex(const <!1><A HREF="Vec4.html">Vec4</A>& vert)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="vertex"></A>
|
|
<A NAME="DOC.2.221.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void vertex(float <!1><A HREF="Viewport.html#DOC.2.233.8">x</A>, float <!1><A HREF="Viewport.html#DOC.2.233.9">y</A>)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="vertex"></A>
|
|
<A NAME="DOC.2.221.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void vertex(float <!1><A HREF="Viewport.html#DOC.2.233.8">x</A>, float <!1><A HREF="Viewport.html#DOC.2.233.9">y</A>, float <!1><A HREF="Vec4.html#DOC.2.229.15">z</A>)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="vertex"></A>
|
|
<A NAME="DOC.2.221.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void vertex(float <!1><A HREF="Viewport.html#DOC.2.233.8">x</A>, float <!1><A HREF="Viewport.html#DOC.2.233.9">y</A>, float <!1><A HREF="Vec4.html#DOC.2.229.15">z</A>, float <!1><A HREF="Vec4.html#DOC.2.229.16">w</A>)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="end"></A>
|
|
<A NAME="DOC.2.221.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void end()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_vertexArraySize"></A>
|
|
<A NAME="DOC.2.221.19"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _vertexArraySize</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_vertexArrayPtr"></A>
|
|
<A NAME="DOC.2.221.20"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const <!1><A HREF="Vec3.html">Vec3</A>* _vertexArrayPtr</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_modeCache"></A>
|
|
<A NAME="DOC.2.221.21"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLenum _modeCache</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_vertexCache"></A>
|
|
<A NAME="DOC.2.221.22"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>std::vector<<!1><A HREF="Vec3.html">Vec3</A>> _vertexCache</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_treatVertexDataAsTemporary"></A>
|
|
<A NAME="DOC.2.221.23"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _treatVertexDataAsTemporary</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>
|