class SG_EXPORT osg::IndexArray


Inheritance:


Public Methods

[more] IndexArray(Type arrayType=ArrayType, GLint dataSize=0, GLenum dataType=0)
[more] IndexArray(const Array& array, const CopyOp& copyop=CopyOp::SHALLOW_COPY)
[more]virtual bool isSameKindAs(const Object* obj) const
[more]virtual unsigned int index(unsigned int pos) const = 0

Protected Methods

[more]virtual ~IndexArray()


Inherited from Array:

Public Methods

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
oType getType() const
oGLint getDataSize() const
oGLenum getDataType() const
ovirtual const GLvoid* getDataPointer() const
ovirtual unsigned int getNumElements() const

Public Members

oenum Type

Protected Fields

oType _arrayType
oGLint _dataSize
oGLenum _dataType


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

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

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

ovirtual bool isSameKindAs(const Object* obj) const

ovirtual unsigned int index(unsigned int pos) const = 0

ovirtual ~IndexArray()


Direct child classes:
TemplateIndexArray

Alphabetic index HTML hierarchy of classes or Java



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