OpenSceneGraph/doc/doc++/osg/DrawElementsUShort.html

247 lines
11 KiB
HTML
Raw Normal View History

2003-04-18 00:22:51 +08:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>class SG_EXPORT osg::DrawElementsUShort</TITLE>
2004-08-06 14:53:36 +08:00
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
2003-04-18 00:22:51 +08:00
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::DrawElementsUShort</A></H2></H2><HR>
<H2>Inheritance:</H2>
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=155>
<param name=classes value="MVectorUShort,M,CReferenced,MReferenced.html,CObject,MObject.html,CPrimitiveSet,MPrimitiveSet.html,CDrawElementsUShort,MDrawElementsUShort.html">
<param name=before value="M,M,M,M,M">
<param name=after value="Ml_,Md_SP||,Md_||,MD_,M">
<param name=indent value="2,0,1,2,3">
<param name=arrowdir value="down">
</APPLET>
<HR>
<DL>
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.191.1">DrawElementsUShort</A></B>(GLenum mode=0)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.191.2">DrawElementsUShort</A></B>(const <!1><A HREF="DrawElementsUShort.html#DOC.2.191.2">DrawElementsUShort</A>&amp; <!1><A HREF="Geometry.html#DOC.2.108.13.7">array</A>, const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop=CopyOp::SHALLOW_COPY)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.191.3">DrawElementsUShort</A></B>(GLenum mode, unsigned int no, GLushort* <!1><A HREF="Vec4f.html#DOC.2.274.9">ptr</A>)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.191.4">DrawElementsUShort</A></B>(GLenum mode, unsigned int no)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>template&lt;class InputIterator&gt; <B><A HREF="#DOC.2.191.5">DrawElementsUShort</A></B>(GLenum mode, InputIterator <!1><A HREF="ImpostorSpriteManager.html#DOC.2.125.3">first</A>, InputIterator <!1><A HREF="ImpostorSpriteManager.html#DOC.2.125.4">last</A>)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.191.6">cloneType</A></B>() const
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.191.7">clone</A></B>(const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop) const
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.191.8">isSameKindAs</A></B>(const <!1><A HREF="Object.html">Object</A>* obj) const
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.191.9">libraryName</A></B>() const
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.191.10">className</A></B>() const
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.191.11">draw</A></B>(<!1><A HREF="State.html">State</A>&amp; state, bool useVertexBufferObjects) const
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.191.12">accept</A></B>(Drawable::PrimitiveFunctor&amp; functor) const
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.191.13">accept</A></B>(Drawable::PrimitiveIndexFunctor&amp; functor) const
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual unsigned int <B><A HREF="#DOC.2.191.14">getNumIndices</A></B>() const
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual unsigned int <B><A HREF="#DOC.2.191.15">index</A></B>(unsigned int pos) const
<DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.191.16">offsetIndices</A></B>(int <!1><A HREF="Geometry.html#DOC.2.108.13.11">offset</A>)
</DL></P>
<P><DL>
<DT><H3>Protected Fields</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>mutable <!1><A HREF="DrawElementsUShort.html#DOC.2.191.17">GLObjectList</A> <B><A HREF="#DOC.2.191.18">_vboList</A></B>
2003-04-18 00:22:51 +08:00
</DL></P>
<P><DL>
<DT><H3>Protected Methods</H3><DD><DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.191.19">~DrawElementsUShort</A></B>()
</DL></P>
<P><DL>
<DT><H3>Protected</H3><DD><DT>
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>typedef <!1><A HREF="buffered_value.html">osg::buffered_value</A>&lt;GLuint&gt; <B><A HREF="#DOC.2.191.17">GLObjectList</A></B>
2003-04-18 00:22:51 +08:00
</DL></P>
</DL>
<HR><H3>Inherited from <A HREF="PrimitiveSet.html">PrimitiveSet</A>:</H3>
<DL>
2004-08-06 14:53:36 +08:00
<P><DL>
<DT><H3>Public Classes</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>
2003-04-18 00:22:51 +08:00
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="PrimitiveSet.html#DOC.2.187.1">Type</A> <B>getType</B>() const
2003-04-18 00:22:51 +08:00
<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>Protected Fields</H3><DD><DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="PrimitiveSet.html#DOC.2.187.1">Type</A> <B>_primitiveType</B>
2003-04-18 00:22:51 +08:00
<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>
2004-08-06 14:53:36 +08:00
<P><DL>
<DT><H3>Public Classes</H3><DD><DT>
<IMG ALT="o" SRC=icon2.gif>enum <B>DataVariance</B>
</DL></P>
2003-04-18 00:22:51 +08:00
<P><DL>
<DT><H3>Public Methods</H3><DD><DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif>inline void <B>setDataVariance</B>(<!1><A HREF="Object.html#DOC.2.167.8">DataVariance</A> dv)
2003-04-18 00:22:51 +08:00
<DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Object.html#DOC.2.167.8">DataVariance</A> <B>getDataVariance</B>() const
2003-04-18 00:22:51 +08:00
<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>Protected Fields</H3><DD><DT>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="Object.html#DOC.2.167.8">DataVariance</A> <B>_dataVariance</B>
2003-04-18 00:22:51 +08:00
<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>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Referenced.html">Referenced</A>&amp; <B>operator = </B>(const <!1><A HREF="Referenced.html">Referenced</A>&amp;)
2003-04-18 00:22:51 +08:00
<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>
2004-08-06 14:53:36 +08:00
<IMG ALT="o" SRC=icon2.gif>mutable OpenThreads::Mutex <B>_refMutex</B>
<DT>
2003-04-18 00:22:51 +08:00
<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="DrawElementsUShort"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.1"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DrawElementsUShort(GLenum mode=0)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="DrawElementsUShort"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.2"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DrawElementsUShort(const <!1><A HREF="DrawElementsUShort.html#DOC.2.191.2">DrawElementsUShort</A>&amp; <!1><A HREF="Geometry.html#DOC.2.108.13.7">array</A>, const <!1><A HREF="CopyOp.html">CopyOp</A>&amp; copyop=CopyOp::SHALLOW_COPY)</B></TT>
2003-04-18 00:22:51 +08:00
<DL><DT><DD></DL><P>
<A NAME="DrawElementsUShort"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.3"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DrawElementsUShort(GLenum mode, unsigned int no, GLushort* <!1><A HREF="Vec4f.html#DOC.2.274.9">ptr</A>)</B></TT>
2003-04-18 00:22:51 +08:00
<DL><DT><DD></DL><P>
<A NAME="DrawElementsUShort"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.4"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DrawElementsUShort(GLenum mode, unsigned int no)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="DrawElementsUShort"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.5"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>template&lt;class InputIterator&gt; DrawElementsUShort(GLenum mode, InputIterator <!1><A HREF="ImpostorSpriteManager.html#DOC.2.125.3">first</A>, InputIterator <!1><A HREF="ImpostorSpriteManager.html#DOC.2.125.4">last</A>)</B></TT>
2003-04-18 00:22:51 +08:00
<DL><DT><DD></DL><P>
<A NAME="cloneType"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.6"></A>
2003-04-18 00:22:51 +08:00
<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>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.7"></A>
2003-04-18 00:22:51 +08:00
<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>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.8"></A>
2003-04-18 00:22:51 +08:00
<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>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.9"></A>
2003-04-18 00:22:51 +08:00
<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>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.10"></A>
2003-04-18 00:22:51 +08:00
<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="draw"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.11"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void draw(<!1><A HREF="State.html">State</A>&amp; state, bool useVertexBufferObjects) const </B></TT>
2003-04-18 00:22:51 +08:00
<DL><DT><DD></DL><P>
<A NAME="accept"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.12"></A>
2003-04-18 00:22:51 +08:00
<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>
2004-08-06 14:53:36 +08:00
<A NAME="accept"></A>
<A NAME="DOC.2.191.13"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(Drawable::PrimitiveIndexFunctor&amp; functor) const </B></TT>
<DL><DT><DD></DL><P>
2003-04-18 00:22:51 +08:00
<A NAME="getNumIndices"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.14"></A>
2003-04-18 00:22:51 +08:00
<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>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.15"></A>
2003-04-18 00:22:51 +08:00
<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>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.16"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void offsetIndices(int <!1><A HREF="Geometry.html#DOC.2.108.13.11">offset</A>)</B></TT>
<DL><DT><DD></DL><P>
<A NAME="GLObjectList"></A>
<A NAME="DOC.2.191.17"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>typedef <!1><A HREF="buffered_value.html">osg::buffered_value</A>&lt;GLuint&gt; GLObjectList</B></TT>
<DL><DT><DD></DL><P>
<A NAME="_vboList"></A>
<A NAME="DOC.2.191.18"></A>
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>mutable <!1><A HREF="DrawElementsUShort.html#DOC.2.191.17">GLObjectList</A> _vboList</B></TT>
2003-04-18 00:22:51 +08:00
<DL><DT><DD></DL><P>
<A NAME="~DrawElementsUShort"></A>
2004-08-06 14:53:36 +08:00
<A NAME="DOC.2.191.19"></A>
2003-04-18 00:22:51 +08:00
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~DrawElementsUShort()</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>
2004-08-06 14:53:36 +08:00
This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>.
2003-04-18 00:22:51 +08:00
</BODY>
</HTML>