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&) = 0
[more]virtual void accept(ConstArrayVisitor&) const = 0
[more]virtual void accept(unsigned int index, ValueVisitor&) = 0
[more]virtual void accept(unsigned int index, ConstValueVisitor&) const = 0
[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 int referenceCount() const
oinline static int createdCount()
oinline static int deletedCount()

Protected Fields

omutable int _refCount
ostatic int _createdCount
ostatic int _deletedCount


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&) = 0

ovirtual void accept(ConstArrayVisitor&) const = 0

ovirtual void accept(unsigned int index, ValueVisitor&) = 0

ovirtual void accept(unsigned int index, ConstValueVisitor&) const = 0

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
IndexArray

Alphabetic index HTML hierarchy of classes or Java



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