class SG_EXPORT osg::Array


Inheritance:


Public Classes

[more]enum Type

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]virtual void accept(ConstArrayVisitor&) const
[more]virtual void accept(unsigned int index, ValueVisitor&)
[more]virtual void accept(unsigned int index, ConstValueVisitor&) const
[more]virtual int compare(unsigned int lhs, unsigned int rhs) const
return -1 if lhs element is less than rhs element, 0 is equal, 1 if lhs element is greater than rhs elementreturn -1 if lhs element is less than rhs element, 0 is equal, 1 if lhs element is greater than rhs element
[more]Type getType() const
[more]GLint getDataSize() const
[more]GLenum getDataType() const
[more]virtual const GLvoid* getDataPointer() const
[more]virtual unsigned int getTotalDataSize() const
[more]virtual unsigned int getNumElements() const

Protected Fields

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

Protected Methods

[more]virtual ~Array()


Inherited from Object:

Public Classes

oenum DataVariance

Public Methods

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

Protected Fields

oDataVariance _dataVariance
oref_ptr<Referenced> _userData


Inherited from Referenced:

Public Methods

oinline Referenced& operator = (const Referenced&)
ostatic void setDeleteHandler(DeleteHandler* handler)
ostatic DeleteHandler* getDeleteHandler()
oinline void ref() const
oinline void unref_nodelete() const
oinline int referenceCount() const
oinline void unref() const

Protected Fields

omutable OpenThreads::Mutex _refMutex
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&)

ovirtual void accept(ConstArrayVisitor&) const

ovirtual void accept(unsigned int index, ValueVisitor&)

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

ovirtual int compare(unsigned int lhs, unsigned int rhs) const
return -1 if lhs element is less than rhs element, 0 is equal, 1 if lhs element is greater than rhs elementreturn -1 if lhs element is less than rhs element, 0 is equal, 1 if lhs element is greater than rhs element

oType getType() const

oGLint getDataSize() const

oGLenum getDataType() const

ovirtual const GLvoid* getDataPointer() const

ovirtual unsigned int getTotalDataSize() const

ovirtual unsigned int getNumElements() const

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++.