osg::DrawElementsUInt Class Reference

Inheritance diagram for osg::DrawElementsUInt:

Inheritance graph
[legend]

List of all members.

Public Types

typedef VectorGLuint vector_type

Public Member Functions

 DrawElementsUInt (GLenum mode=0)
 DrawElementsUInt (const DrawElementsUInt &array, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 DrawElementsUInt (GLenum mode, unsigned int no, GLuint *ptr)
 DrawElementsUInt (GLenum mode, unsigned int no)
template<class InputIterator>
 DrawElementsUInt (GLenum mode, InputIterator first, InputIterator last)
virtual ObjectcloneType () const
 Clone the type of an object, with Object* return type.
virtual Objectclone (const CopyOp &copyop) const
 Clone an object, with Object* return type.
virtual bool isSameKindAs (const Object *obj) const
virtual const char * libraryName () const
 return the name of the object's library.
virtual const char * className () const
 return the name of the object's class type.
virtual const GLvoid * getDataPointer () const
virtual unsigned int getTotalDataSize () const
virtual bool supportsBufferObject () const
virtual void draw (State &state, bool useVertexBufferObjects) const
virtual void accept (PrimitiveFunctor &functor) const
virtual void accept (PrimitiveIndexFunctor &functor) const
virtual unsigned int getNumIndices () const
virtual unsigned int index (unsigned int pos) const
virtual void offsetIndices (int offset)
virtual void computeRange () const

Protected Member Functions

virtual ~DrawElementsUInt ()

Protected Attributes

unsigned int _minIndex
unsigned int _maxIndex


Member Typedef Documentation

typedef VectorGLuint osg::DrawElementsUInt::vector_type

Reimplemented from osg::VectorGLuint.


Constructor & Destructor Documentation

osg::DrawElementsUInt::DrawElementsUInt ( GLenum  mode = 0  )  [inline]

osg::DrawElementsUInt::DrawElementsUInt ( const DrawElementsUInt array,
const CopyOp copyop = CopyOp::SHALLOW_COPY 
) [inline]

osg::DrawElementsUInt::DrawElementsUInt ( GLenum  mode,
unsigned int  no,
GLuint *  ptr 
) [inline]

osg::DrawElementsUInt::DrawElementsUInt ( GLenum  mode,
unsigned int  no 
) [inline]

template<class InputIterator>
osg::DrawElementsUInt::DrawElementsUInt ( GLenum  mode,
InputIterator  first,
InputIterator  last 
) [inline]

virtual osg::DrawElementsUInt::~DrawElementsUInt (  )  [protected, virtual]


Member Function Documentation

virtual Object* osg::DrawElementsUInt::cloneType (  )  const [inline, virtual]

Clone the type of an object, with Object* return type.

Must be defined by derived classes.

Implements osg::Object.

virtual Object* osg::DrawElementsUInt::clone ( const CopyOp  )  const [inline, virtual]

Clone an object, with Object* return type.

Must be defined by derived classes.

Implements osg::Object.

virtual bool osg::DrawElementsUInt::isSameKindAs ( const Object obj  )  const [inline, virtual]

Reimplemented from osg::PrimitiveSet.

virtual const char* osg::DrawElementsUInt::libraryName (  )  const [inline, virtual]

return the name of the object's library.

Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name.

Reimplemented from osg::PrimitiveSet.

virtual const char* osg::DrawElementsUInt::className (  )  const [inline, virtual]

return the name of the object's class type.

Must be defined by derived classes.

Reimplemented from osg::PrimitiveSet.

virtual const GLvoid* osg::DrawElementsUInt::getDataPointer (  )  const [inline, virtual]

Reimplemented from osg::PrimitiveSet.

virtual unsigned int osg::DrawElementsUInt::getTotalDataSize (  )  const [inline, virtual]

Reimplemented from osg::PrimitiveSet.

virtual bool osg::DrawElementsUInt::supportsBufferObject (  )  const [inline, virtual]

Reimplemented from osg::PrimitiveSet.

virtual void osg::DrawElementsUInt::draw ( State state,
bool  useVertexBufferObjects 
) const [virtual]

Implements osg::PrimitiveSet.

virtual void osg::DrawElementsUInt::accept ( PrimitiveFunctor functor  )  const [virtual]

Implements osg::PrimitiveSet.

virtual void osg::DrawElementsUInt::accept ( PrimitiveIndexFunctor functor  )  const [virtual]

Implements osg::PrimitiveSet.

virtual unsigned int osg::DrawElementsUInt::getNumIndices (  )  const [inline, virtual]

Implements osg::PrimitiveSet.

virtual unsigned int osg::DrawElementsUInt::index ( unsigned int  pos  )  const [inline, virtual]

Implements osg::PrimitiveSet.

virtual void osg::DrawElementsUInt::offsetIndices ( int  offset  )  [virtual]

Implements osg::PrimitiveSet.

virtual void osg::DrawElementsUInt::computeRange (  )  const [inline, virtual]

Reimplemented from osg::PrimitiveSet.


Member Data Documentation

unsigned int osg::DrawElementsUInt::_minIndex [mutable, protected]

unsigned int osg::DrawElementsUInt::_maxIndex [mutable, protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:14 2007 for the OpenSceneGraph by doxygen 1.5.3.