2002-07-19 03:54:11 +08:00
<!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 >
2002-08-29 22:29:49 +08:00
< 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)
2002-07-19 03:54:11 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< 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)
2002-07-19 03:54:11 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< 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
2002-07-19 03:54:11 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual const char* < B > < A HREF = "#DOC.2.103.6" > libraryName< / A > < / B > () const
2002-07-19 03:54:11 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual const char* < B > < A HREF = "#DOC.2.103.7" > className< / A > < / B > () const
2002-07-19 03:54:11 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< 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
2002-07-19 03:54:11 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > void < B > < A HREF = "#DOC.2.103.9" > setMode< / A > < / B > (GLenum mode)
2002-07-19 03:54:11 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > GLenum < B > < A HREF = "#DOC.2.103.10" > getMode< / A > < / B > () const
2002-07-19 03:54:11 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.103.11" > draw< / A > < / B > () const = 0
2002-07-19 03:54:11 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.103.12" > accept< / A > < / B > (Drawable::PrimitiveFunctor& )
2002-07-19 03:54:11 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > virtual void < B > < A HREF = "#DOC.2.103.13" > offsetIndices< / A > < / B > (int offset) = 0
2002-07-19 03:54:11 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Public Members< / H3 > < DD > < DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > enum < B > < A HREF = "#DOC.2.103.1" > Type< / A > < / B >
2002-07-19 03:54:11 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > enum < B > < A HREF = "#DOC.2.103.2" > Mode< / A > < / B >
2002-07-19 03:54:11 +08:00
< / DL > < / P >
< P > < DL >
< DT > < H3 > Protected Fields< / H3 > < DD > < DT >
2002-08-29 22:29:49 +08:00
< 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 >
2002-07-19 03:54:11 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "[more]" BORDER = 0 SRC = icon1.gif > GLenum < B > < A HREF = "#DOC.2.103.15" > _mode< / A > < / B >
2002-07-19 03:54:11 +08:00
< / 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 >
2002-08-29 22:29:49 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline void < B > setDataVariance< / B > (const <!1> < A HREF = "Object.html#DOC.2.90.8" > DataVariance< / A > dv)
2002-07-19 03:54:11 +08:00
< DT >
2002-08-29 22:29:49 +08:00
< IMG ALT = "o" SRC = icon2.gif > inline const <!1> < A HREF = "Object.html#DOC.2.90.8" > DataVariance< / A > < B > getDataVariance< / B > () const
2002-07-19 03:54:11 +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 > 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 >
2002-08-29 22:29:49 +08:00
< IMG ALT = "o" SRC = icon2.gif > <!1> < A HREF = "Object.html#DOC.2.90.8" > DataVariance< / A > < B > _dataVariance< / B >
2002-07-19 03:54:11 +08:00
< 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 >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.1" > < / A >
2002-07-19 03:54:11 +08:00
< 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 >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.1.1" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > PrimitiveType< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "DrawArraysPrimitiveType" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.1.2" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > DrawArraysPrimitiveType< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "DrawArrayLengthsPrimitiveType" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.1.3" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > DrawArrayLengthsPrimitiveType< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "DrawElementsUBytePrimitiveType" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.1.4" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > DrawElementsUBytePrimitiveType< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "DrawElementsUShortPrimitiveType" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.1.5" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > DrawElementsUShortPrimitiveType< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "DrawElementsUIntPrimitiveType" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.1.6" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > DrawElementsUIntPrimitiveType< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
< A NAME = "Mode" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.2" > < / A >
2002-07-19 03:54:11 +08:00
< 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 >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.2.1" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > POINTS< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "LINES" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.2.2" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > LINES< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "LINE_STRIP" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.2.3" > < / A >
2002-07-19 03:54:11 +08:00
< 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 >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.2.4" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > LINE_LOOP< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "TRIANGLES" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.2.5" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > TRIANGLES< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "TRIANGLE_STRIP" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.2.6" > < / A >
2002-07-19 03:54:11 +08:00
< 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 >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.2.7" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > TRIANGLE_FAN< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "QUADS" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.2.8" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > QUADS< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "QUAD_STRIP" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.2.9" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > QUAD_STRIP< / B > < / TT >
< DL > < DT > < DD > < / DL > < P >
< A NAME = "POLYGON" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.2.10" > < / A >
2002-07-19 03:54:11 +08:00
< DT > < IMG ALT = "o" BORDER = 0 SRC = icon2.gif > < TT > < B > POLYGON< / B > < / TT >
< DL > < DT > < DD > < / DL > < P > < / DL >
< A NAME = "Primitive" > < / A >
2002-08-29 22:29:49 +08:00
< 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 >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "Primitive" > < / A >
2002-08-29 22:29:49 +08:00
< 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 >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "isSameKindAs" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.5" > < / A >
2002-07-19 03:54:11 +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 >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.6" > < / A >
2002-07-19 03:54:11 +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 >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.7" > < / A >
2002-07-19 03:54:11 +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 = "getType" > < / A >
2002-08-29 22:29:49 +08:00
< 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 >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "setMode" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.9" > < / A >
2002-07-19 03:54:11 +08:00
< 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 >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.10" > < / A >
2002-07-19 03:54:11 +08:00
< 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 >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.11" > < / A >
2002-07-19 03:54:11 +08:00
< 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 >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.12" > < / A >
2002-07-19 03:54:11 +08:00
< 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 >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.13" > < / A >
2002-07-19 03:54:11 +08:00
< 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 >
2002-08-29 22:29:49 +08:00
< 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 >
2002-07-19 03:54:11 +08:00
< DL > < DT > < DD > < / DL > < P >
< A NAME = "_mode" > < / A >
2002-08-29 22:29:49 +08:00
< A NAME = "DOC.2.103.15" > < / A >
2002-07-19 03:54:11 +08:00
< 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 >