OpenSceneGraph/doc/doc++/osg/DrawArrays.html
2003-10-02 14:28:30 +00:00

254 lines
11 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class SG_EXPORT osg::DrawArrays</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::DrawArrays</A></H2></H2><HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
<param name=classes value="CReferenced,MReferenced.html,CObject,MObject.html,CPrimitiveSet,MPrimitiveSet.html,CDrawArrays,MDrawArrays.html">
<param name=before value="M,M,M,M">
<param name=after value="Md_SPSP,Md_SP,Md_,M">
<param name=indent value="0,1,2,3">
<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.156.1">DrawArrays</A></B>(GLenum mode=0)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.156.2">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> <B><A HREF="#DOC.2.156.3">DrawArrays</A></B>(const <!1><A HREF="DrawArrays.html#DOC.2.156.3">DrawArrays</A>&amp; da, const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop=CopyOp::SHALLOW_COPY)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.156.4">cloneType</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.156.5">clone</A></B>(const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.156.6">isSameKindAs</A></B>(const <!1><A HREF="Object.html">Object</A>* obj) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.156.7">libraryName</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.156.8">className</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.156.9">set</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>void <B><A HREF="#DOC.2.156.10">setFirst</A></B>(GLint <!1><A HREF="ImpostorSpriteManager.html#DOC.2.93.3">first</A>)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLint <B><A HREF="#DOC.2.156.11">getFirst</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.156.12">setCount</A></B>(GLsizei count)
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLsizei <B><A HREF="#DOC.2.156.13">getCount</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.156.14">draw</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.156.15">accept</A></B>(Drawable::PrimitiveFunctor&amp; functor) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual unsigned int <B><A HREF="#DOC.2.156.16">getNumIndices</A></B>() const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual unsigned int <B><A HREF="#DOC.2.156.17">index</A></B>(unsigned int pos) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.156.18">offsetIndices</A></B>(int <!1><A HREF="Geometry.html#DOC.2.84.12.9">offset</A>)
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLint <B><A HREF="#DOC.2.156.20">_first</A></B>
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLsizei <B><A HREF="#DOC.2.156.21">_count</A></B>
</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.156.19">~DrawArrays</A></B>()
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="PrimitiveSet.html">PrimitiveSet</A>:</H3>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="PrimitiveSet.html#DOC.2.155.1">Type</A> <B>getType</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>void <B>setMode</B>(GLenum mode)
<DT>
<IMG ALT="o" SRC=icon2.gif>GLenum <B>getMode</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>virtual unsigned int <B>getNumPrimitives</B>() const
</DL></P>
<P><DL>
<DT><H3>Public Members</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>enum <B>Type</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>enum <B>Mode</B>
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="PrimitiveSet.html#DOC.2.155.1">Type</A> <B>_primitiveType</B>
<DT>
<IMG ALT="o" SRC=icon2.gif>GLenum <B>_mode</B>
</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>inline void <B>setDataVariance</B>(<!1><A HREF="Object.html#DOC.2.136.8">DataVariance</A> dv)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Object.html#DOC.2.136.8">DataVariance</A> <B>getDataVariance</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>setUserData</B>(<!1><A HREF="Referenced.html">Referenced</A>* obj)
<DT>
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Referenced.html">Referenced</A>* <B>getUserData</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="Referenced.html">Referenced</A>* <B>getUserData</B>() const
</DL></P>
<P><DL>
<DT><H3>Public Members</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>enum <B>DataVariance</B>
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Object.html#DOC.2.136.8">DataVariance</A> <B>_dataVariance</B>
<DT>
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A>&lt;<!1><A HREF="Referenced.html">Referenced</A>&gt; <B>_userData</B>
</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>inline <!1><A HREF="Referenced.html">Referenced</A>&amp; <B>operator = </B>(<!1><A HREF="Referenced.html">Referenced</A>&amp;)
<DT>
<IMG ALT="o" SRC=icon2.gif>static void <B>setDeleteHandler</B>(<!1><A HREF="DeleteHandler.html">DeleteHandler</A>* handler)
<DT>
<IMG ALT="o" SRC=icon2.gif>static <!1><A HREF="DeleteHandler.html">DeleteHandler</A>* <B>getDeleteHandler</B>()
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>ref</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref_nodelete</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline int <B>referenceCount</B>() const
<DT>
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref</B>() const
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>mutable int <B>_refCount</B>
</DL></P>
</DL>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<DL>
<A NAME="DrawArrays"></A>
<A NAME="DOC.2.156.1"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DrawArrays(GLenum mode=0)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="DrawArrays"></A>
<A NAME="DOC.2.156.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> 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="DrawArrays"></A>
<A NAME="DOC.2.156.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DrawArrays(const <!1><A HREF="DrawArrays.html#DOC.2.156.3">DrawArrays</A>&amp; da, const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop=CopyOp::SHALLOW_COPY)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="cloneType"></A>
<A NAME="DOC.2.156.4"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Object.html">Object</A>* cloneType() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="clone"></A>
<A NAME="DOC.2.156.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Object.html">Object</A>* clone(const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="isSameKindAs"></A>
<A NAME="DOC.2.156.6"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual bool isSameKindAs(const <!1><A HREF="Object.html">Object</A>* obj) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="libraryName"></A>
<A NAME="DOC.2.156.7"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const char* libraryName() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="className"></A>
<A NAME="DOC.2.156.8"></A>
<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="set"></A>
<A NAME="DOC.2.156.9"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void set(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="setFirst"></A>
<A NAME="DOC.2.156.10"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setFirst(GLint <!1><A HREF="ImpostorSpriteManager.html#DOC.2.93.3">first</A>)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getFirst"></A>
<A NAME="DOC.2.156.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLint getFirst() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="setCount"></A>
<A NAME="DOC.2.156.12"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCount(GLsizei count)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="getCount"></A>
<A NAME="DOC.2.156.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLsizei getCount() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="draw"></A>
<A NAME="DOC.2.156.14"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void draw() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="accept"></A>
<A NAME="DOC.2.156.15"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(Drawable::PrimitiveFunctor&amp; functor) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="getNumIndices"></A>
<A NAME="DOC.2.156.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual unsigned int getNumIndices() const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="index"></A>
<A NAME="DOC.2.156.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual unsigned int index(unsigned int pos) const </B></TT>
<DL><DT><DD></DL><P>
<A NAME="offsetIndices"></A>
<A NAME="DOC.2.156.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void offsetIndices(int <!1><A HREF="Geometry.html#DOC.2.84.12.9">offset</A>)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="~DrawArrays"></A>
<A NAME="DOC.2.156.19"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~DrawArrays()</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_first"></A>
<A NAME="DOC.2.156.20"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLint _first</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_count"></A>
<A NAME="DOC.2.156.21"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLsizei _count</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>