1097 lines
54 KiB
HTML
1097 lines
54 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>class SG_EXPORT osg::GeoSet</TITLE>
|
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.8">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
|
|
<H2>class SG_EXPORT <A HREF="#DOC.DOCU">osg::GeoSet</A></H2></H2><BLOCKQUOTE>Encapsulates OpenGL drawing primitives, geometry and optional binding of normal, color and texture coordinates.</BLOCKQUOTE>
|
|
<HR>
|
|
|
|
<H2>Inheritance:</H2>
|
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=125>
|
|
<param name=classes value="CReferenced,MReferenced.html,CObject,MObject.html,CDrawable,MDrawable.html,CGeoSet,MGeoSet.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.31.5">GeoSet</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <!1><A HREF="Object.html">Object</A>* <B><A HREF="#DOC.2.31.6">clone</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual bool <B><A HREF="#DOC.2.31.7">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.31.8">className</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.31.9">setNumPrims</A></B>( const int n )
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const int <B><A HREF="#DOC.2.31.10">getNumPrims</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.11">setPrimType</A></B>( const <!1><A HREF="GeoSet.html#DOC.2.31.1">PrimitiveType</A> type )
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="GeoSet.html#DOC.2.31.1">PrimitiveType</A> <B><A HREF="#DOC.2.31.12">getPrimType</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.31.13">setPrimLengths</A></B>( int* lens )
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline int* <B><A HREF="#DOC.2.31.14">getPrimLengths</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const int* <B><A HREF="#DOC.2.31.15">getPrimLengths</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.16">computeNumVerts</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const int <B><A HREF="#DOC.2.31.17">getNumCoords</A></B>() const
|
|
<DD><I>get the number of coords required by the defined primitives.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="Vec3.html">Vec3</A>* <B><A HREF="#DOC.2.31.18">getCoords</A></B>()
|
|
<DD><I>get a pointer to Vec3 coord array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="Vec3.html">Vec3</A>* <B><A HREF="#DOC.2.31.19">getCoords</A></B>() const
|
|
<DD><I>get a const pointer to Vec3 coord array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const int <B><A HREF="#DOC.2.31.20">getNumCoordIndices</A></B>() const
|
|
<DD><I>get the number of indices required by the defined primitives.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& <B><A HREF="#DOC.2.31.21">getCoordIndices</A></B>()
|
|
<DD><I>get the coord index array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& <B><A HREF="#DOC.2.31.22">getCoordIndices</A></B>() const
|
|
<DD><I>get the const coord index array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.23">setCoords</A></B>( <!1><A HREF="Vec3.html">Vec3</A>* cp )
|
|
<DD><I>set the coords (ie the geometry) of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.24">setCoords</A></B>( <!1><A HREF="Vec3.html">Vec3</A>* cp, ushort* ci )
|
|
<DD><I>set the coords (ie the geometry) and ushort indices of the geoset.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.25">setCoords</A></B>( <!1><A HREF="Vec3.html">Vec3</A>* cp, uint* ci )
|
|
<DD><I>set the coords (ie the geometry) and uint indices of the geoset.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.26">setCoords</A></B>( <!1><A HREF="Vec3.html">Vec3</A>* cp, <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& ip )
|
|
<DD><I>set the coords (ie the geometry) and indices of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const int <B><A HREF="#DOC.2.31.27">getNumNormals</A></B>() const
|
|
<DD><I>get the number of normals required by the defined primitives and normals binding</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="Vec3.html">Vec3</A>* <B><A HREF="#DOC.2.31.28">getNormals</A></B>()
|
|
<DD><I>get a pointer to Vec3 normal array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="Vec3.html">Vec3</A>* <B><A HREF="#DOC.2.31.29">getNormals</A></B>() const
|
|
<DD><I>get a const pointer to Vec3 normal array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline int <B><A HREF="#DOC.2.31.30">getNumNormalIndices</A></B>() const
|
|
<DD><I>get the number of normal indices required by the defined primitives and normals binding</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& <B><A HREF="#DOC.2.31.31">getNormalIndices</A></B>()
|
|
<DD><I>get the normal index array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& <B><A HREF="#DOC.2.31.32">getNormalIndices</A></B>() const
|
|
<DD><I>get the const normal index array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.33">setNormals</A></B>( <!1><A HREF="Vec3.html">Vec3</A>* np )
|
|
<DD><I>set the normals of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.34">setNormals</A></B>( <!1><A HREF="Vec3.html">Vec3</A>* np, ushort* ni )
|
|
<DD><I>set the normals and normal indices of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.35">setNormals</A></B>( <!1><A HREF="Vec3.html">Vec3</A>* np, uint* ni )
|
|
<DD><I>set the normals and normal indices of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.36">setNormals</A></B>( <!1><A HREF="Vec3.html">Vec3</A>* np, <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& ip )
|
|
<DD><I>set the normals and normal indices of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.37">setNormalBinding</A></B>( const <!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> binding )
|
|
<DD><I>set the normals binding to the vertices/primitives/overall</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> <B><A HREF="#DOC.2.31.38">getNormalBinding</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const int <B><A HREF="#DOC.2.31.39">getNumColors</A></B>() const
|
|
<DD><I>get the number of colors required by the defined primitives and color binding</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="Vec4.html">Vec4</A>* <B><A HREF="#DOC.2.31.40">getColors</A></B>()
|
|
<DD><I>get a pointer to Vec4 color array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="Vec4.html">Vec4</A>* <B><A HREF="#DOC.2.31.41">getColors</A></B>() const
|
|
<DD><I>get a pointer to Vec4 color array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline int <B><A HREF="#DOC.2.31.42">getNumColorIndices</A></B>() const
|
|
<DD><I>get the number of colors indices required by the defined primitives and color binding</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& <B><A HREF="#DOC.2.31.43">getColorIndices</A></B>()
|
|
<DD><I>get the color index array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& <B><A HREF="#DOC.2.31.44">getColorIndices</A></B>() const
|
|
<DD><I>get the const color index array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.45">setColors</A></B>( <!1><A HREF="Vec4.html">Vec4</A>* cp )
|
|
<DD><I>set the colors of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.46">setColors</A></B>( <!1><A HREF="Vec4.html">Vec4</A>* cp, ushort* li )
|
|
<DD><I>set the colors and color indices of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.47">setColors</A></B>( <!1><A HREF="Vec4.html">Vec4</A>* cp, uint* li )
|
|
<DD><I>set the colors and color indices of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.48">setColors</A></B>( <!1><A HREF="Vec4.html">Vec4</A>* cp, <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& ip )
|
|
<DD><I>set the colors and color indices of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.49">setColorBinding</A></B>( <!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> binding )
|
|
<DD><I>set the color binding to the vertices/primitives/overall</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> <B><A HREF="#DOC.2.31.50">getColorBinding</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const int <B><A HREF="#DOC.2.31.51">getNumTextureCoords</A></B>() const
|
|
<DD><I>get the number of texture coords required by the defined primitives and textures binding</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="Vec2.html">Vec2</A>* <B><A HREF="#DOC.2.31.52">getTextureCoords</A></B>()
|
|
<DD><I>get a pointer to Vec4 color array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="Vec2.html">Vec2</A>* <B><A HREF="#DOC.2.31.53">getTextureCoords</A></B>() const
|
|
<DD><I>get a pointer to Vec4 color array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const int <B><A HREF="#DOC.2.31.54">getNumTextureIndices</A></B>() const
|
|
<DD><I>get the number of texture coord indices required by the defined primitives and texture binding</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& <B><A HREF="#DOC.2.31.55">getTextureIndices</A></B>()
|
|
<DD><I>get the texture index array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& <B><A HREF="#DOC.2.31.56">getTextureIndices</A></B>() const
|
|
<DD><I>get the texture index array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.57">setTextureCoords</A></B>( <!1><A HREF="Vec2.html">Vec2</A>* tc )
|
|
<DD><I>set the texture coords of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.58">setTextureCoords</A></B>( <!1><A HREF="Vec2.html">Vec2</A>* tc, ushort* ti )
|
|
<DD><I>set the texture coords and texture coord indices of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.59">setTextureCoords</A></B>( <!1><A HREF="Vec2.html">Vec2</A>* tc, uint* ti )
|
|
<DD><I>set the texture coords and texture coord indices of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.60">setTextureCoords</A></B>( <!1><A HREF="Vec2.html">Vec2</A>* tc, <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& ip )
|
|
<DD><I>set the texture coords and texture indices of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.61">setTextureBinding</A></B>( const <!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> binding )
|
|
<DD><I>set the texture coord binding to the vertices/primitives/overall</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> <B><A HREF="#DOC.2.31.62">getTextureBinding</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const int <B><A HREF="#DOC.2.31.63">getNumInterleavedCoords</A></B>() const
|
|
<DD><I>get the number of texture coords required by the defined primitives and textures binding</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void* <B><A HREF="#DOC.2.31.64">getInterleavedArray</A></B>()
|
|
<DD><I>get a pointer to interleaved float array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const void* <B><A HREF="#DOC.2.31.65">getInterleavedArray</A></B>() const
|
|
<DD><I>get a const pointer to interleaved float array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const int <B><A HREF="#DOC.2.31.66">getNumIterleavedIndices</A></B>() const
|
|
<DD><I>get the number of texture coord indices required by the defined primitives and texture binding</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& <B><A HREF="#DOC.2.31.67">getInterleavedIndices</A></B>()
|
|
<DD><I>get the texture index array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& <B><A HREF="#DOC.2.31.68">getInterleavedIndices</A></B>() const
|
|
<DD><I>get the interleaved index array.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="GeoSet.html#DOC.2.31.3">InterleaveArrayType</A> <B><A HREF="#DOC.2.31.69">getInterleavedFromat</A></B>() const
|
|
<DD><I>get the interleaved array storage format.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.70">setInterleavedArray</A></B>( const <!1><A HREF="GeoSet.html#DOC.2.31.3">InterleaveArrayType</A> format, float* ia )
|
|
<DD><I>set the interleaved arrays of the geoset</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.71">setInterleavedArray</A></B>( const <!1><A HREF="GeoSet.html#DOC.2.31.3">InterleaveArrayType</A> format, float* ia, ushort* iai )
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.72">setInterleavedArray</A></B>( const <!1><A HREF="GeoSet.html#DOC.2.31.3">InterleaveArrayType</A> format, float* ia, uint* iai )
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.73">setInterleavedArray</A></B>( const <!1><A HREF="GeoSet.html#DOC.2.31.3">InterleaveArrayType</A> format, float* ia, <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& iai )
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual void <B><A HREF="#DOC.2.31.74">drawImmediateMode</A></B>(<!1><A HREF="State.html">State</A>& state)
|
|
<DD><I>draw geoset directly ignoring an OpenGL display list which could be attached.</I>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>const bool <B><A HREF="#DOC.2.31.75">check</A></B>() const
|
|
</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.31.1">PrimitiveType</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.31.2">BindingType</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>enum <B><A HREF="#DOC.2.31.3">InterleaveArrayType</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>struct <B><A HREF="#DOC.2.31.4">IndexPointer</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.31.80">_numprims</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GeoSet.html#DOC.2.31.1">PrimitiveType</A> <B><A HREF="#DOC.2.31.81">_primtype</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.31.82">_needprimlen</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.31.83">_oglprimtype</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int* <B><A HREF="#DOC.2.31.84">_primLengths</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned char <B><A HREF="#DOC.2.31.85">_primlength</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned char <B><A HREF="#DOC.2.31.86">_flat_shaded_skip</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.31.87">_numcoords</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec3.html">Vec3</A>* <B><A HREF="#DOC.2.31.88">_coords</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A> <B><A HREF="#DOC.2.31.89">_cindex</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> <B><A HREF="#DOC.2.31.90">_normal_binding</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.31.91">_numnormals</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec3.html">Vec3</A>* <B><A HREF="#DOC.2.31.92">_normals</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A> <B><A HREF="#DOC.2.31.93">_nindex</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> <B><A HREF="#DOC.2.31.94">_color_binding</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.31.95">_numcolors</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec4.html">Vec4</A>* <B><A HREF="#DOC.2.31.96">_colors</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A> <B><A HREF="#DOC.2.31.97">_colindex</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> <B><A HREF="#DOC.2.31.98">_texture_binding</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.31.99">_numtcoords</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="Vec2.html">Vec2</A>* <B><A HREF="#DOC.2.31.100">_tcoords</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A> <B><A HREF="#DOC.2.31.101">_tindex</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void* <B><A HREF="#DOC.2.31.102">_iarray</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A> <B><A HREF="#DOC.2.31.103">_iaindex</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GeoSet.html#DOC.2.31.3">InterleaveArrayType</A> <B><A HREF="#DOC.2.31.104">_iaformat</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>unsigned int <B><A HREF="#DOC.2.31.105">_ogliaformat</A></B>
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>int <B><A HREF="#DOC.2.31.106">_fast_path</A></B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Methods</H3><DD><DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.31.76">GeoSet</A></B>(const <!1><A HREF="GeoSet.html#DOC.2.31.76">GeoSet</A>&)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif><!1><A HREF="GeoSet.html">GeoSet</A>& <B><A HREF="#DOC.2.31.77">operator = </A></B>(const <!1><A HREF="GeoSet.html">GeoSet</A>&)
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual <B><A HREF="#DOC.2.31.78">~GeoSet</A></B>()
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>virtual const bool <B><A HREF="#DOC.2.31.79">computeBound</A></B>() const
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.107">set_fast_path</A></B>( void )
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.108">draw_fast_path</A></B>( void )
|
|
<DT>
|
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>void <B><A HREF="#DOC.2.31.109">draw_alternate_path</A></B>( void )
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Drawable.html">Drawable</A>:</H3>
|
|
<DL>
|
|
<P><DL>
|
|
<DT><H3>Public Methods</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>setStateSet</B>(<!1><A HREF="StateSet.html">StateSet</A>* state)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline <!1><A HREF="StateSet.html">StateSet</A>* <B>getStateSet</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="StateSet.html">StateSet</A>* <B>getStateSet</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setSupportsDisplayList</B>(const bool flag)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const bool <B>getSupportsDisplayList</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>setUseDisplayList</B>(const bool flag)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const bool <B>getUseDisplayList</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>dirtyDisplayList</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>dirtyBound</B>()
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline const <!1><A HREF="BoundingBox.html">BoundingBox</A>& <B>getBound</B>() const
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>inline void <B>draw</B>(<!1><A HREF="State.html">State</A>& state)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>void <B>compile</B>(<!1><A HREF="State.html">State</A>& state)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>static void <B>deleteDisplayList</B>(uint contextID, uint globj)
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>static void <B>flushDeletedDisplayLists</B>(uint contextID)
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Fields</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif><!1><A HREF="ref_ptr.html">ref_ptr</A><<!1><A HREF="StateSet.html">StateSet</A>> <B>_dstate</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>bool <B>_supportsDisplayList</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>bool <B>_useDisplayList</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>mutable <!1><A HREF="BoundingBox.html">BoundingBox</A> <B>_bbox</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>mutable bool <B>_bbox_computed</B>
|
|
</DL></P>
|
|
|
|
<P><DL>
|
|
<DT><H3>Protected Members</H3><DD><DT>
|
|
<IMG ALT="o" SRC=icon2.gif>typedef std::vector<uint> GLObjectList mutable GLObjectList <B>_globjList</B>
|
|
<DT>
|
|
<IMG ALT="o" SRC=icon2.gif>typedef std::map<uint,std::set<uint> >static DeletedDisplayListCache DeletedDisplayListCache <B>s_deletedDisplayListCache</B>
|
|
</DL></P>
|
|
|
|
</DL>
|
|
<HR><H3>Inherited from <A HREF="Object.html">Object</A>:</H3>
|
|
<DL>
|
|
</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 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 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>
|
|
<BLOCKQUOTE>Encapsulates OpenGL drawing primitives, geometry and
|
|
optional binding of normal, color and texture coordinates. Used
|
|
for representing the visible objects in the scene. State attributes
|
|
for a GeoSet are maintained in StateSet which the GeoSet maintains
|
|
a referenced counted pointer to. Both GeoSet's and StateSet's can
|
|
be shared for optimal memory usage and graphics performance.</BLOCKQUOTE>
|
|
<DL>
|
|
|
|
<A NAME="PrimitiveType"></A>
|
|
<A NAME="DOC.2.31.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum PrimitiveType</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="NO_TYPE"></A>
|
|
<A NAME="DOC.2.31.1.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> NO_TYPE</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="POINTS"></A>
|
|
<A NAME="DOC.2.31.1.2"></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.31.1.3"></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.31.1.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> LINE_STRIP</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="FLAT_LINE_STRIP"></A>
|
|
<A NAME="DOC.2.31.1.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FLAT_LINE_STRIP</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="LINE_LOOP"></A>
|
|
<A NAME="DOC.2.31.1.6"></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.31.1.7"></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.31.1.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TRIANGLE_STRIP</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="FLAT_TRIANGLE_STRIP"></A>
|
|
<A NAME="DOC.2.31.1.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FLAT_TRIANGLE_STRIP</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="TRIANGLE_FAN"></A>
|
|
<A NAME="DOC.2.31.1.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> TRIANGLE_FAN</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="FLAT_TRIANGLE_FAN"></A>
|
|
<A NAME="DOC.2.31.1.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> FLAT_TRIANGLE_FAN</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="QUADS"></A>
|
|
<A NAME="DOC.2.31.1.12"></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.31.1.13"></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.31.1.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> POLYGON</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="BindingType"></A>
|
|
<A NAME="DOC.2.31.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum BindingType</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="BIND_OFF"></A>
|
|
<A NAME="DOC.2.31.2.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BIND_OFF</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="BIND_OVERALL"></A>
|
|
<A NAME="DOC.2.31.2.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BIND_OVERALL</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="BIND_PERPRIM"></A>
|
|
<A NAME="DOC.2.31.2.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BIND_PERPRIM</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="BIND_PERVERTEX"></A>
|
|
<A NAME="DOC.2.31.2.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BIND_PERVERTEX</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="BIND_DEFAULT"></A>
|
|
<A NAME="DOC.2.31.2.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> BIND_DEFAULT</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="InterleaveArrayType"></A>
|
|
<A NAME="DOC.2.31.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>enum InterleaveArrayType</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="IA_OFF"></A>
|
|
<A NAME="DOC.2.31.3.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_OFF</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_V2F"></A>
|
|
<A NAME="DOC.2.31.3.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_V2F</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_V3F"></A>
|
|
<A NAME="DOC.2.31.3.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_V3F</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_C4UB_V2F"></A>
|
|
<A NAME="DOC.2.31.3.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_C4UB_V2F</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_C4UB_V3F"></A>
|
|
<A NAME="DOC.2.31.3.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_C4UB_V3F</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_C3F_V3F"></A>
|
|
<A NAME="DOC.2.31.3.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_C3F_V3F</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_N3F_V3F"></A>
|
|
<A NAME="DOC.2.31.3.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_N3F_V3F</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_C4F_N3F_V3F"></A>
|
|
<A NAME="DOC.2.31.3.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_C4F_N3F_V3F</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_T2F_V3F"></A>
|
|
<A NAME="DOC.2.31.3.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_T2F_V3F</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_T4F_V4F"></A>
|
|
<A NAME="DOC.2.31.3.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_T4F_V4F</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_T2F_C4UB_V3F"></A>
|
|
<A NAME="DOC.2.31.3.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_T2F_C4UB_V3F</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_T2F_C3F_V3F"></A>
|
|
<A NAME="DOC.2.31.3.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_T2F_C3F_V3F</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_T2F_N3F_V3F"></A>
|
|
<A NAME="DOC.2.31.3.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_T2F_N3F_V3F</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_T2F_C4F_N3F_V3F"></A>
|
|
<A NAME="DOC.2.31.3.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_T2F_C4F_N3F_V3F</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="IA_T4F_C4F_N3F_V4F"></A>
|
|
<A NAME="DOC.2.31.3.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IA_T4F_C4F_N3F_V4F</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="IndexPointer"></A>
|
|
<A NAME="DOC.2.31.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>struct IndexPointer</B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="_size"></A>
|
|
<A NAME="DOC.2.31.4.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>uint _size</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_is_ushort"></A>
|
|
<A NAME="DOC.2.31.4.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>bool _is_ushort</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME=""></A>
|
|
<A NAME="DOC.2.31.4.3"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>union </B></TT>
|
|
<DL><DT><DD></DL><P><DL>
|
|
|
|
<A NAME="_ushort"></A>
|
|
<A NAME="DOC.2.31.4.3.1"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>ushort* _ushort</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_uint"></A>
|
|
<A NAME="DOC.2.31.4.3.2"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>uint* _uint</B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="IndexPointer"></A>
|
|
<A NAME="DOC.2.31.4.4"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> IndexPointer()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator == "></A>
|
|
<A NAME="DOC.2.31.4.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool operator == (const <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& ip) const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="valid"></A>
|
|
<A NAME="DOC.2.31.4.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool valid() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="null"></A>
|
|
<A NAME="DOC.2.31.4.7"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const bool null() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setToNull"></A>
|
|
<A NAME="DOC.2.31.4.8"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setToNull()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="set"></A>
|
|
<A NAME="DOC.2.31.4.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void set(uint size, ushort* <!1><A HREF="Image.html#DOC.2.36.15">data</A>)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="set"></A>
|
|
<A NAME="DOC.2.31.4.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void set(const uint size, uint* <!1><A HREF="Image.html#DOC.2.36.15">data</A>)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="maxIndex"></A>
|
|
<A NAME="DOC.2.31.4.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const uint maxIndex() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator [] "></A>
|
|
<A NAME="DOC.2.31.4.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const uint operator [] (const uint pos) const </B></TT>
|
|
<DL><DT><DD></DL><P></DL>
|
|
|
|
<A NAME="GeoSet"></A>
|
|
<A NAME="DOC.2.31.5"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> GeoSet()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="clone"></A>
|
|
<A NAME="DOC.2.31.6"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual <!1><A HREF="Object.html">Object</A>* clone() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="isSameKindAs"></A>
|
|
<A NAME="DOC.2.31.7"></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="className"></A>
|
|
<A NAME="DOC.2.31.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="setNumPrims"></A>
|
|
<A NAME="DOC.2.31.9"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setNumPrims( const int n )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNumPrims"></A>
|
|
<A NAME="DOC.2.31.10"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const int getNumPrims() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setPrimType"></A>
|
|
<A NAME="DOC.2.31.11"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setPrimType( const <!1><A HREF="GeoSet.html#DOC.2.31.1">PrimitiveType</A> type )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getPrimType"></A>
|
|
<A NAME="DOC.2.31.12"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="GeoSet.html#DOC.2.31.1">PrimitiveType</A> getPrimType() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setPrimLengths"></A>
|
|
<A NAME="DOC.2.31.13"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void setPrimLengths( int* lens )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getPrimLengths"></A>
|
|
<A NAME="DOC.2.31.14"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline int* getPrimLengths()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getPrimLengths"></A>
|
|
<A NAME="DOC.2.31.15"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const int* getPrimLengths() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="computeNumVerts"></A>
|
|
<A NAME="DOC.2.31.16"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void computeNumVerts()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNumCoords"></A>
|
|
<A NAME="DOC.2.31.17"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const int getNumCoords() const </B></TT>
|
|
<DD>get the number of coords required by the defined primitives.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getCoords"></A>
|
|
<A NAME="DOC.2.31.18"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="Vec3.html">Vec3</A>* getCoords()</B></TT>
|
|
<DD>get a pointer to Vec3 coord array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getCoords"></A>
|
|
<A NAME="DOC.2.31.19"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="Vec3.html">Vec3</A>* getCoords() const </B></TT>
|
|
<DD>get a const pointer to Vec3 coord array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNumCoordIndices"></A>
|
|
<A NAME="DOC.2.31.20"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const int getNumCoordIndices() const </B></TT>
|
|
<DD>get the number of indices required by the defined primitives.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getCoordIndices"></A>
|
|
<A NAME="DOC.2.31.21"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& getCoordIndices()</B></TT>
|
|
<DD>get the coord index array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getCoordIndices"></A>
|
|
<A NAME="DOC.2.31.22"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& getCoordIndices() const </B></TT>
|
|
<DD>get the const coord index array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setCoords"></A>
|
|
<A NAME="DOC.2.31.23"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCoords( <!1><A HREF="Vec3.html">Vec3</A>* cp )</B></TT>
|
|
<DD>set the coords (ie the geometry) of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setCoords"></A>
|
|
<A NAME="DOC.2.31.24"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCoords( <!1><A HREF="Vec3.html">Vec3</A>* cp, ushort* ci )</B></TT>
|
|
<DD>set the coords (ie the geometry) and ushort indices of the geoset.
|
|
To reduce memory footprint and bandwidth for small datasets it is
|
|
recommended the ushort undices are used instead of unit indices.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setCoords"></A>
|
|
<A NAME="DOC.2.31.25"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCoords( <!1><A HREF="Vec3.html">Vec3</A>* cp, uint* ci )</B></TT>
|
|
<DD>set the coords (ie the geometry) and uint indices of the geoset.
|
|
Unless your data set exceeds 65536 indices prefer ushort indices
|
|
over uint indices, only use this unit indices version if neccessary.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setCoords"></A>
|
|
<A NAME="DOC.2.31.26"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setCoords( <!1><A HREF="Vec3.html">Vec3</A>* cp, <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& ip )</B></TT>
|
|
<DD>set the coords (ie the geometry) and indices of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNumNormals"></A>
|
|
<A NAME="DOC.2.31.27"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const int getNumNormals() const </B></TT>
|
|
<DD>get the number of normals required by the defined primitives and normals binding
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNormals"></A>
|
|
<A NAME="DOC.2.31.28"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="Vec3.html">Vec3</A>* getNormals()</B></TT>
|
|
<DD>get a pointer to Vec3 normal array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNormals"></A>
|
|
<A NAME="DOC.2.31.29"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="Vec3.html">Vec3</A>* getNormals() const </B></TT>
|
|
<DD>get a const pointer to Vec3 normal array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNumNormalIndices"></A>
|
|
<A NAME="DOC.2.31.30"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline int getNumNormalIndices() const </B></TT>
|
|
<DD>get the number of normal indices required by the defined primitives and normals binding
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNormalIndices"></A>
|
|
<A NAME="DOC.2.31.31"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& getNormalIndices()</B></TT>
|
|
<DD>get the normal index array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNormalIndices"></A>
|
|
<A NAME="DOC.2.31.32"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& getNormalIndices() const </B></TT>
|
|
<DD>get the const normal index array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setNormals"></A>
|
|
<A NAME="DOC.2.31.33"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setNormals( <!1><A HREF="Vec3.html">Vec3</A>* np )</B></TT>
|
|
<DD>set the normals of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setNormals"></A>
|
|
<A NAME="DOC.2.31.34"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setNormals( <!1><A HREF="Vec3.html">Vec3</A>* np, ushort* ni )</B></TT>
|
|
<DD>set the normals and normal indices of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setNormals"></A>
|
|
<A NAME="DOC.2.31.35"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setNormals( <!1><A HREF="Vec3.html">Vec3</A>* np, uint* ni )</B></TT>
|
|
<DD>set the normals and normal indices of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setNormals"></A>
|
|
<A NAME="DOC.2.31.36"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setNormals( <!1><A HREF="Vec3.html">Vec3</A>* np, <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& ip )</B></TT>
|
|
<DD>set the normals and normal indices of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setNormalBinding"></A>
|
|
<A NAME="DOC.2.31.37"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setNormalBinding( const <!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> binding )</B></TT>
|
|
<DD>set the normals binding to the vertices/primitives/overall
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNormalBinding"></A>
|
|
<A NAME="DOC.2.31.38"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> getNormalBinding() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNumColors"></A>
|
|
<A NAME="DOC.2.31.39"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const int getNumColors() const </B></TT>
|
|
<DD>get the number of colors required by the defined primitives and color binding
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getColors"></A>
|
|
<A NAME="DOC.2.31.40"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="Vec4.html">Vec4</A>* getColors()</B></TT>
|
|
<DD>get a pointer to Vec4 color array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getColors"></A>
|
|
<A NAME="DOC.2.31.41"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="Vec4.html">Vec4</A>* getColors() const </B></TT>
|
|
<DD>get a pointer to Vec4 color array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNumColorIndices"></A>
|
|
<A NAME="DOC.2.31.42"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline int getNumColorIndices() const </B></TT>
|
|
<DD>get the number of colors indices required by the defined primitives and color binding
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getColorIndices"></A>
|
|
<A NAME="DOC.2.31.43"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& getColorIndices()</B></TT>
|
|
<DD>get the color index array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getColorIndices"></A>
|
|
<A NAME="DOC.2.31.44"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& getColorIndices() const </B></TT>
|
|
<DD>get the const color index array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setColors"></A>
|
|
<A NAME="DOC.2.31.45"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setColors( <!1><A HREF="Vec4.html">Vec4</A>* cp )</B></TT>
|
|
<DD>set the colors of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setColors"></A>
|
|
<A NAME="DOC.2.31.46"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setColors( <!1><A HREF="Vec4.html">Vec4</A>* cp, ushort* li )</B></TT>
|
|
<DD>set the colors and color indices of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setColors"></A>
|
|
<A NAME="DOC.2.31.47"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setColors( <!1><A HREF="Vec4.html">Vec4</A>* cp, uint* li )</B></TT>
|
|
<DD>set the colors and color indices of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setColors"></A>
|
|
<A NAME="DOC.2.31.48"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setColors( <!1><A HREF="Vec4.html">Vec4</A>* cp, <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& ip )</B></TT>
|
|
<DD>set the colors and color indices of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setColorBinding"></A>
|
|
<A NAME="DOC.2.31.49"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setColorBinding( <!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> binding )</B></TT>
|
|
<DD>set the color binding to the vertices/primitives/overall
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getColorBinding"></A>
|
|
<A NAME="DOC.2.31.50"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> getColorBinding() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNumTextureCoords"></A>
|
|
<A NAME="DOC.2.31.51"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const int getNumTextureCoords() const </B></TT>
|
|
<DD>get the number of texture coords required by the defined primitives and textures binding
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getTextureCoords"></A>
|
|
<A NAME="DOC.2.31.52"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="Vec2.html">Vec2</A>* getTextureCoords()</B></TT>
|
|
<DD>get a pointer to Vec4 color array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getTextureCoords"></A>
|
|
<A NAME="DOC.2.31.53"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="Vec2.html">Vec2</A>* getTextureCoords() const </B></TT>
|
|
<DD>get a pointer to Vec4 color array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNumTextureIndices"></A>
|
|
<A NAME="DOC.2.31.54"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const int getNumTextureIndices() const </B></TT>
|
|
<DD>get the number of texture coord indices required by the defined primitives and texture binding
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getTextureIndices"></A>
|
|
<A NAME="DOC.2.31.55"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& getTextureIndices()</B></TT>
|
|
<DD>get the texture index array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getTextureIndices"></A>
|
|
<A NAME="DOC.2.31.56"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& getTextureIndices() const </B></TT>
|
|
<DD>get the texture index array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setTextureCoords"></A>
|
|
<A NAME="DOC.2.31.57"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureCoords( <!1><A HREF="Vec2.html">Vec2</A>* tc )</B></TT>
|
|
<DD>set the texture coords of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setTextureCoords"></A>
|
|
<A NAME="DOC.2.31.58"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureCoords( <!1><A HREF="Vec2.html">Vec2</A>* tc, ushort* ti )</B></TT>
|
|
<DD>set the texture coords and texture coord indices of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setTextureCoords"></A>
|
|
<A NAME="DOC.2.31.59"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureCoords( <!1><A HREF="Vec2.html">Vec2</A>* tc, uint* ti )</B></TT>
|
|
<DD>set the texture coords and texture coord indices of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setTextureCoords"></A>
|
|
<A NAME="DOC.2.31.60"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureCoords( <!1><A HREF="Vec2.html">Vec2</A>* tc, <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& ip )</B></TT>
|
|
<DD>set the texture coords and texture indices of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setTextureBinding"></A>
|
|
<A NAME="DOC.2.31.61"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setTextureBinding( const <!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> binding )</B></TT>
|
|
<DD>set the texture coord binding to the vertices/primitives/overall
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getTextureBinding"></A>
|
|
<A NAME="DOC.2.31.62"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> getTextureBinding() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNumInterleavedCoords"></A>
|
|
<A NAME="DOC.2.31.63"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const int getNumInterleavedCoords() const </B></TT>
|
|
<DD>get the number of texture coords required by the defined primitives and textures binding
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getInterleavedArray"></A>
|
|
<A NAME="DOC.2.31.64"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void* getInterleavedArray()</B></TT>
|
|
<DD>get a pointer to interleaved float array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getInterleavedArray"></A>
|
|
<A NAME="DOC.2.31.65"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const void* getInterleavedArray() const </B></TT>
|
|
<DD>get a const pointer to interleaved float array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getNumIterleavedIndices"></A>
|
|
<A NAME="DOC.2.31.66"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const int getNumIterleavedIndices() const </B></TT>
|
|
<DD>get the number of texture coord indices required by the defined primitives and texture binding
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getInterleavedIndices"></A>
|
|
<A NAME="DOC.2.31.67"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& getInterleavedIndices()</B></TT>
|
|
<DD>get the texture index array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getInterleavedIndices"></A>
|
|
<A NAME="DOC.2.31.68"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& getInterleavedIndices() const </B></TT>
|
|
<DD>get the interleaved index array.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="getInterleavedFromat"></A>
|
|
<A NAME="DOC.2.31.69"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="GeoSet.html#DOC.2.31.3">InterleaveArrayType</A> getInterleavedFromat() const </B></TT>
|
|
<DD>get the interleaved array storage format.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setInterleavedArray"></A>
|
|
<A NAME="DOC.2.31.70"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setInterleavedArray( const <!1><A HREF="GeoSet.html#DOC.2.31.3">InterleaveArrayType</A> format, float* ia )</B></TT>
|
|
<DD>set the interleaved arrays of the geoset
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setInterleavedArray"></A>
|
|
<A NAME="DOC.2.31.71"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setInterleavedArray( const <!1><A HREF="GeoSet.html#DOC.2.31.3">InterleaveArrayType</A> format, float* ia, ushort* iai )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setInterleavedArray"></A>
|
|
<A NAME="DOC.2.31.72"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setInterleavedArray( const <!1><A HREF="GeoSet.html#DOC.2.31.3">InterleaveArrayType</A> format, float* ia, uint* iai )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="setInterleavedArray"></A>
|
|
<A NAME="DOC.2.31.73"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void setInterleavedArray( const <!1><A HREF="GeoSet.html#DOC.2.31.3">InterleaveArrayType</A> format, float* ia, <!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A>& iai )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="drawImmediateMode"></A>
|
|
<A NAME="DOC.2.31.74"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual void drawImmediateMode(<!1><A HREF="State.html">State</A>& state)</B></TT>
|
|
<DD>draw geoset directly ignoring an OpenGL display list which could be attached.
|
|
This is the internal draw method which does the drawing itself,
|
|
and is the method to override when deriving from GeoSet for user-drawn objects.
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="check"></A>
|
|
<A NAME="DOC.2.31.75"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>const bool check() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="GeoSet"></A>
|
|
<A NAME="DOC.2.31.76"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> GeoSet(const <!1><A HREF="GeoSet.html#DOC.2.31.76">GeoSet</A>&)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="operator = "></A>
|
|
<A NAME="DOC.2.31.77"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GeoSet.html">GeoSet</A>& operator = (const <!1><A HREF="GeoSet.html">GeoSet</A>&)</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="~GeoSet"></A>
|
|
<A NAME="DOC.2.31.78"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual ~GeoSet()</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="computeBound"></A>
|
|
<A NAME="DOC.2.31.79"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>virtual const bool computeBound() const </B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_numprims"></A>
|
|
<A NAME="DOC.2.31.80"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _numprims</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_primtype"></A>
|
|
<A NAME="DOC.2.31.81"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GeoSet.html#DOC.2.31.1">PrimitiveType</A> _primtype</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_needprimlen"></A>
|
|
<A NAME="DOC.2.31.82"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _needprimlen</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_oglprimtype"></A>
|
|
<A NAME="DOC.2.31.83"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _oglprimtype</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_primLengths"></A>
|
|
<A NAME="DOC.2.31.84"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int* _primLengths</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_primlength"></A>
|
|
<A NAME="DOC.2.31.85"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned char _primlength</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_flat_shaded_skip"></A>
|
|
<A NAME="DOC.2.31.86"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned char _flat_shaded_skip</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_numcoords"></A>
|
|
<A NAME="DOC.2.31.87"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _numcoords</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_coords"></A>
|
|
<A NAME="DOC.2.31.88"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec3.html">Vec3</A>* _coords</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_cindex"></A>
|
|
<A NAME="DOC.2.31.89"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A> _cindex</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_normal_binding"></A>
|
|
<A NAME="DOC.2.31.90"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> _normal_binding</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_numnormals"></A>
|
|
<A NAME="DOC.2.31.91"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _numnormals</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_normals"></A>
|
|
<A NAME="DOC.2.31.92"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec3.html">Vec3</A>* _normals</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_nindex"></A>
|
|
<A NAME="DOC.2.31.93"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A> _nindex</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_color_binding"></A>
|
|
<A NAME="DOC.2.31.94"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> _color_binding</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_numcolors"></A>
|
|
<A NAME="DOC.2.31.95"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _numcolors</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_colors"></A>
|
|
<A NAME="DOC.2.31.96"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec4.html">Vec4</A>* _colors</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_colindex"></A>
|
|
<A NAME="DOC.2.31.97"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A> _colindex</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_texture_binding"></A>
|
|
<A NAME="DOC.2.31.98"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GeoSet.html#DOC.2.31.2">BindingType</A> _texture_binding</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_numtcoords"></A>
|
|
<A NAME="DOC.2.31.99"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _numtcoords</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_tcoords"></A>
|
|
<A NAME="DOC.2.31.100"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="Vec2.html">Vec2</A>* _tcoords</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_tindex"></A>
|
|
<A NAME="DOC.2.31.101"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A> _tindex</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_iarray"></A>
|
|
<A NAME="DOC.2.31.102"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void* _iarray</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_iaindex"></A>
|
|
<A NAME="DOC.2.31.103"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GeoSet.html#DOC.2.31.4">IndexPointer</A> _iaindex</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_iaformat"></A>
|
|
<A NAME="DOC.2.31.104"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B><!1><A HREF="GeoSet.html#DOC.2.31.3">InterleaveArrayType</A> _iaformat</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_ogliaformat"></A>
|
|
<A NAME="DOC.2.31.105"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>unsigned int _ogliaformat</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="_fast_path"></A>
|
|
<A NAME="DOC.2.31.106"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>int _fast_path</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="set_fast_path"></A>
|
|
<A NAME="DOC.2.31.107"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void set_fast_path( void )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="draw_fast_path"></A>
|
|
<A NAME="DOC.2.31.108"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void draw_fast_path( void )</B></TT>
|
|
<DL><DT><DD></DL><P>
|
|
<A NAME="draw_alternate_path"></A>
|
|
<A NAME="DOC.2.31.109"></A>
|
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>void draw_alternate_path( void )</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>
|