264 lines
11 KiB
HTML
264 lines
11 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class osg::Primitive</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class <A HREF="#DOC.DOCU">osg::Primitive</A></H2></H2><HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=245>
|
|
<param name=classes value="CReferenced,MReferenced.html,CObject,MObject.html,CPrimitive,MPrimitive.html,CDrawElementsUShort,MDrawElementsUShort.html,CDrawElementsUInt,MDrawElementsUInt.html,CDrawElementsUByte,MDrawElementsUByte.html,CDrawArrays,MDrawArrays.html,CDrawArrayLengths,MDrawArrayLengths.html">
|
|
<param name=before value="M,M,M,M|_,MR_,MR_,MR_,Mr_">
|
|
<param name=after value="Md_SP,Md_,M,M,M,M,M,M">
|
|
<param name=indent value="0,1,2,2,2,2,2,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.103.3">Primitive</A></B>(<!1><A HREF="Primitive.html#DOC.2.103.1">Type</A> primType=<!1><A HREF="Primitive.html#DOC.2.103.1.1">PrimitiveType</A>, GLenum mode=0)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.103.4">Primitive</A></B>(const <!1><A HREF="Primitive.html#DOC.2.103.4">Primitive</A>& prim, const <!1><A HREF="CopyOp.html">CopyOp</A>& copyop=CopyOp::SHALLOW_COPY)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.103.5">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.103.6">libraryName</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.103.7">className</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Primitive.html#DOC.2.103.1">Type</A> <B><A HREF="#DOC.2.103.8">getType</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.103.9">setMode</A></B>(GLenum mode)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLenum <B><A HREF="#DOC.2.103.10">getMode</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.103.11">draw</A></B>() const = 0
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.103.12">accept</A></B>(Drawable::PrimitiveFunctor&)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.103.13">offsetIndices</A></B>(int offset) = 0
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Public Members</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.103.1">Type</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.103.2">Mode</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Primitive.html#DOC.2.103.1">Type</A> <B><A HREF="#DOC.2.103.14">_primitiveType</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLenum <B><A HREF="#DOC.2.103.15">_mode</A></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>virtual <!1><A HREF="Object.html">Object</A>* <B>cloneType</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>virtual <!1><A HREF="Object.html">Object</A>* <B>clone</B>(const <!1><A HREF="CopyOp.html">CopyOp</A>&) const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>setDataVariance</B>(const <!1><A HREF="Object.html#DOC.2.90.8">DataVariance</A> dv)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="Object.html#DOC.2.90.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.90.8">DataVariance</A> <B>_dataVariance</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="Referenced.html">Referenced</A>> <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>& <B>operator = </B>(<!1><A HREF="Referenced.html">Referenced</A>&)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>ref</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>unref_nodelete</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const int <B>referenceCount</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="Type"></A>
|
|
<A NAME="DOC.2.103.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum Type</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="PrimitiveType"></A>
|
|
<A NAME="DOC.2.103.1.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> PrimitiveType</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="DrawArraysPrimitiveType"></A>
|
|
<A NAME="DOC.2.103.1.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DrawArraysPrimitiveType</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="DrawArrayLengthsPrimitiveType"></A>
|
|
<A NAME="DOC.2.103.1.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DrawArrayLengthsPrimitiveType</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="DrawElementsUBytePrimitiveType"></A>
|
|
<A NAME="DOC.2.103.1.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DrawElementsUBytePrimitiveType</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="DrawElementsUShortPrimitiveType"></A>
|
|
<A NAME="DOC.2.103.1.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DrawElementsUShortPrimitiveType</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="DrawElementsUIntPrimitiveType"></A>
|
|
<A NAME="DOC.2.103.1.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> DrawElementsUIntPrimitiveType</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="Mode"></A>
|
|
<A NAME="DOC.2.103.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum Mode</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="POINTS"></A>
|
|
<A NAME="DOC.2.103.2.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> POINTS</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="LINES"></A>
|
|
<A NAME="DOC.2.103.2.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> LINES</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="LINE_STRIP"></A>
|
|
<A NAME="DOC.2.103.2.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> LINE_STRIP</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="LINE_LOOP"></A>
|
|
<A NAME="DOC.2.103.2.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> LINE_LOOP</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="TRIANGLES"></A>
|
|
<A NAME="DOC.2.103.2.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TRIANGLES</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="TRIANGLE_STRIP"></A>
|
|
<A NAME="DOC.2.103.2.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TRIANGLE_STRIP</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="TRIANGLE_FAN"></A>
|
|
<A NAME="DOC.2.103.2.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TRIANGLE_FAN</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="QUADS"></A>
|
|
<A NAME="DOC.2.103.2.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> QUADS</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="QUAD_STRIP"></A>
|
|
<A NAME="DOC.2.103.2.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> QUAD_STRIP</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="POLYGON"></A>
|
|
<A NAME="DOC.2.103.2.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> POLYGON</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="Primitive"></A>
|
|
<A NAME="DOC.2.103.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Primitive(<!1><A HREF="Primitive.html#DOC.2.103.1">Type</A> primType=<!1><A HREF="Primitive.html#DOC.2.103.1.1">PrimitiveType</A>, GLenum mode=0)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="Primitive"></A>
|
|
<A NAME="DOC.2.103.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Primitive(const <!1><A HREF="Primitive.html#DOC.2.103.4">Primitive</A>& prim, const <!1><A HREF="CopyOp.html">CopyOp</A>& copyop=CopyOp::SHALLOW_COPY)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isSameKindAs"></A>
|
|
<A NAME="DOC.2.103.5"></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.103.6"></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.103.7"></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="getType"></A>
|
|
<A NAME="DOC.2.103.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Primitive.html#DOC.2.103.1">Type</A> getType() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setMode"></A>
|
|
<A NAME="DOC.2.103.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setMode(GLenum mode)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getMode"></A>
|
|
<A NAME="DOC.2.103.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLenum getMode() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="draw"></A>
|
|
<A NAME="DOC.2.103.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void draw() const = 0</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="accept"></A>
|
|
<A NAME="DOC.2.103.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(Drawable::PrimitiveFunctor&)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="offsetIndices"></A>
|
|
<A NAME="DOC.2.103.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void offsetIndices(int offset) = 0</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_primitiveType"></A>
|
|
<A NAME="DOC.2.103.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Primitive.html#DOC.2.103.1">Type</A> _primitiveType</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_mode"></A>
|
|
<A NAME="DOC.2.103.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLenum _mode</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
<HR>
|
|
<DL><DT><B>Direct child classes:
|
|
</B><DD><A HREF="DrawElementsUShort.html">DrawElementsUShort</A><BR>
|
|
<A HREF="DrawElementsUInt.html">DrawElementsUInt</A><BR>
|
|
<A HREF="DrawElementsUByte.html">DrawElementsUByte</A><BR>
|
|
<A HREF="DrawArrays.html">DrawArrays</A><BR>
|
|
<A HREF="DrawArrayLengths.html">DrawArrayLengths</A><BR>
|
|
</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>
|