274 lines
12 KiB
HTML
274 lines
12 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
|
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE>class SG_EXPORT osg::Array</TITLE>
|
||
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
|
||
|
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::Array</A></H2></H2><HR>
|
||
|
|
||
|
<H2>Inheritance:</H2>
|
||
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=155>
|
||
|
<param name=classes value="CReferenced,MReferenced.html,CObject,MObject.html,CArray,MArray.html,CTemplateArray,MTemplateArray.html,CIndexArray,MIndexArray.html">
|
||
|
<param name=before value="M,M,M,M|_,Mr_">
|
||
|
<param name=after value="Md_SP,Md_,M,M,M">
|
||
|
<param name=indent value="0,1,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.7.2">Array</A></B>(<!1><A HREF="Array.html#DOC.2.7.1">Type</A> arrayType=<!1><A HREF="Array.html#DOC.2.7.1.1">ArrayType</A>, GLint dataSize=0, GLenum dataType=0)
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.7.3">Array</A></B>(const <!1><A HREF="Array.html#DOC.2.7.3">Array</A>& array, 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.7.4">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.7.5">libraryName</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const char* <B><A HREF="#DOC.2.7.6">className</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.7.7">accept</A></B>(<!1><A HREF="ArrayVisitor.html">ArrayVisitor</A>&) = 0
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.7.8">accept</A></B>(<!1><A HREF="ConstArrayVisitor.html">ConstArrayVisitor</A>&) const = 0
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.7.9">accept</A></B>(unsigned int <!1><A HREF="TemplateIndexArray.html#DOC.2.10.14">index</A>, <!1><A HREF="ValueVisitor.html">ValueVisitor</A>&) = 0
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.7.10">accept</A></B>(unsigned int <!1><A HREF="TemplateIndexArray.html#DOC.2.10.14">index</A>, <!1><A HREF="ConstValueVisitor.html">ConstValueVisitor</A>&) const = 0
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Array.html#DOC.2.7.1">Type</A> <B><A HREF="#DOC.2.7.11">getType</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLint <B><A HREF="#DOC.2.7.12">getDataSize</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLenum <B><A HREF="#DOC.2.7.13">getDataType</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const GLvoid* <B><A HREF="#DOC.2.7.14">getDataPointer</A></B>() const = 0
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual unsigned int <B><A HREF="#DOC.2.7.15">getNumElements</A></B>() const = 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.7.1">Type</A></B>
|
||
|
</DL></P>
|
||
|
|
||
|
<P><DL>
|
||
|
<DT><H3>Protected Fields</H3><DD><DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Array.html#DOC.2.7.1">Type</A> <B><A HREF="#DOC.2.7.17">_arrayType</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLint <B><A HREF="#DOC.2.7.18">_dataSize</A></B>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>GLenum <B><A HREF="#DOC.2.7.19">_dataType</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.7.16">~Array</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>(<!1><A HREF="Object.html#DOC.2.117.8">DataVariance</A> dv)
|
||
|
<DT>
|
||
|
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="Object.html#DOC.2.117.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.117.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>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="Type"></A>
|
||
|
<A NAME="DOC.2.7.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="ArrayType"></A>
|
||
|
<A NAME="DOC.2.7.1.1"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ArrayType</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="ByteArrayType"></A>
|
||
|
<A NAME="DOC.2.7.1.2"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ByteArrayType</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="ShortArrayType"></A>
|
||
|
<A NAME="DOC.2.7.1.3"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> ShortArrayType</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="IntArrayType"></A>
|
||
|
<A NAME="DOC.2.7.1.4"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IntArrayType</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="UByteArrayType"></A>
|
||
|
<A NAME="DOC.2.7.1.5"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> UByteArrayType</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="UShortArrayType"></A>
|
||
|
<A NAME="DOC.2.7.1.6"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> UShortArrayType</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="UIntArrayType"></A>
|
||
|
<A NAME="DOC.2.7.1.7"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> UIntArrayType</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="UByte4ArrayType"></A>
|
||
|
<A NAME="DOC.2.7.1.8"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> UByte4ArrayType</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="FloatArrayType"></A>
|
||
|
<A NAME="DOC.2.7.1.9"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FloatArrayType</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="Vec2ArrayType"></A>
|
||
|
<A NAME="DOC.2.7.1.10"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Vec2ArrayType</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="Vec3ArrayType"></A>
|
||
|
<A NAME="DOC.2.7.1.11"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Vec3ArrayType</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="Vec4ArrayType"></A>
|
||
|
<A NAME="DOC.2.7.1.12"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Vec4ArrayType</B></TT>
|
||
|
<DL><DT><DD></DL><P></DL>
|
||
|
|
||
|
<A NAME="Array"></A>
|
||
|
<A NAME="DOC.2.7.2"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Array(<!1><A HREF="Array.html#DOC.2.7.1">Type</A> arrayType=<!1><A HREF="Array.html#DOC.2.7.1.1">ArrayType</A>, GLint dataSize=0, GLenum dataType=0)</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="Array"></A>
|
||
|
<A NAME="DOC.2.7.3"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> Array(const <!1><A HREF="Array.html#DOC.2.7.3">Array</A>& array, 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.7.4"></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.7.5"></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.7.6"></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="accept"></A>
|
||
|
<A NAME="DOC.2.7.7"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(<!1><A HREF="ArrayVisitor.html">ArrayVisitor</A>&) = 0</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="accept"></A>
|
||
|
<A NAME="DOC.2.7.8"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(<!1><A HREF="ConstArrayVisitor.html">ConstArrayVisitor</A>&) const = 0</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="accept"></A>
|
||
|
<A NAME="DOC.2.7.9"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(unsigned int <!1><A HREF="TemplateIndexArray.html#DOC.2.10.14">index</A>, <!1><A HREF="ValueVisitor.html">ValueVisitor</A>&) = 0</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="accept"></A>
|
||
|
<A NAME="DOC.2.7.10"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void accept(unsigned int <!1><A HREF="TemplateIndexArray.html#DOC.2.10.14">index</A>, <!1><A HREF="ConstValueVisitor.html">ConstValueVisitor</A>&) const = 0</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getType"></A>
|
||
|
<A NAME="DOC.2.7.11"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Array.html#DOC.2.7.1">Type</A> getType() const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getDataSize"></A>
|
||
|
<A NAME="DOC.2.7.12"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLint getDataSize() const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getDataType"></A>
|
||
|
<A NAME="DOC.2.7.13"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLenum getDataType() const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getDataPointer"></A>
|
||
|
<A NAME="DOC.2.7.14"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const GLvoid* getDataPointer() const = 0</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="getNumElements"></A>
|
||
|
<A NAME="DOC.2.7.15"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual unsigned int getNumElements() const = 0</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="~Array"></A>
|
||
|
<A NAME="DOC.2.7.16"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~Array()</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_arrayType"></A>
|
||
|
<A NAME="DOC.2.7.17"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Array.html#DOC.2.7.1">Type</A> _arrayType</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_dataSize"></A>
|
||
|
<A NAME="DOC.2.7.18"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLint _dataSize</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="_dataType"></A>
|
||
|
<A NAME="DOC.2.7.19"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>GLenum _dataType</B></TT>
|
||
|
<DL><DT><DD></DL><P></DL>
|
||
|
<HR>
|
||
|
<DL><DT><B>Direct child classes:
|
||
|
</B><DD><A HREF="TemplateArray.html">TemplateArray</A><BR>
|
||
|
<A HREF="IndexArray.html">IndexArray</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>
|