class SG_EXPORT osg::Array


Inheritance:


Public Methods

[more] Array(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0)
[more] Array(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more]virtual bool isSameKindAs(const Object* obj) const
[more]virtual const char* libraryName() const
[more]virtual const char* className() const
[more]virtual void accept(ArrayVisitor&)
[more]Type getType() const
[more]GLint getDataSize() const
[more]GLenum getDataType() const
[more]virtual const GLvoid* getDataPointer() const = 0
[more]virtual unsigned int getNumElements() const = 0

Public Members

[more]enum Type

Protected Fields

[more]Type _arrayType
[more]GLint _dataSize
[more]GLenum _dataType

Protected Methods

[more]virtual ~Array()


Inherited from Object:

Public Methods

ovirtual Object* cloneType() const
ovirtual Object* clone(const CopyOp&) const
oinline void setDataVariance(const DataVariance dv)
oinline const DataVariance getDataVariance() const
oinline void setUserData(Referenced* obj)
oinline Referenced* getUserData()
oinline const Referenced* getUserData() const

Public Members

oenum DataVariance

Protected Fields

oDataVariance _dataVariance
oref_ptr<Referenced> _userData


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (Referenced&)
oinline void ref() const
oinline void unref() const
oinline void unref_nodelete() const
oinline const int referenceCount() const

Protected Fields

omutable int _refCount


Documentation

oenum Type

o ArrayType

o ByteArrayType

o ShortArrayType

o IntArrayType

o UByteArrayType

o UShortArrayType

o UIntArrayType

o UByte4ArrayType

o FloatArrayType

o Vec2ArrayType

o Vec3ArrayType

o Vec4ArrayType

o Array(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0)

o Array(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)

ovirtual bool isSameKindAs(const Object* obj) const

ovirtual const char* libraryName() const

ovirtual const char* className() const

ovirtual void accept(ArrayVisitor&)

oType getType() const

oGLint getDataSize() const

oGLenum getDataType() const

ovirtual const GLvoid* getDataPointer() const = 0

ovirtual unsigned int getNumElements() const = 0

ovirtual ~Array()

oType _arrayType

oGLint _dataSize

oGLenum _dataType


Direct child classes:
TemplateArray

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.