OpenSceneGraph
3.4.0
|
BufferTemplate specialization for std::vector. More...
Public Member Functions | |
BufferTemplate () | |
BufferTemplate (const BufferTemplate< std::vector< T > > &bt, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
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 Object * | cloneType () const |
Clone the type of an object, with Object* return type. | |
virtual Object * | clone (const CopyOp ©op) const |
Clone an object, with Object* return type. | |
virtual const GLvoid * | getDataPointer () const |
virtual unsigned int | getTotalDataSize () const |
const std::vector< T > & | getData () const |
std::vector< T > & | getData () |
void | setData (const std::vector< T > &data) |
Protected Member Functions | |
virtual | ~BufferTemplate () |
BufferTemplate specialization for std::vector.
osg::BufferTemplate< std::vector< T > >::BufferTemplate | ( | ) | [inline] |
osg::BufferTemplate< std::vector< T > >::BufferTemplate | ( | const BufferTemplate< std::vector< T > > & | bt, |
const CopyOp & | copyop = CopyOp::SHALLOW_COPY |
||
) | [inline] |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osg::BufferTemplate< std::vector< T > >::~BufferTemplate | ( | ) | [inline, protected, virtual] |
virtual const char* osg::BufferTemplate< std::vector< T > >::className | ( | ) | const [inline, virtual] |
return the name of the object's class type.
Must be defined by derived classes.
Reimplemented from osg::BufferData.
virtual Object* osg::BufferTemplate< std::vector< T > >::clone | ( | const CopyOp & | ) | const [inline, virtual] |
Clone an object, with Object* return type.
Must be defined by derived classes.
Implements osg::Object.
virtual Object* osg::BufferTemplate< std::vector< T > >::cloneType | ( | ) | const [inline, virtual] |
Clone the type of an object, with Object* return type.
Must be defined by derived classes.
Implements osg::Object.
const std::vector<T>& osg::BufferTemplate< std::vector< T > >::getData | ( | ) | const [inline] |
std::vector<T>& osg::BufferTemplate< std::vector< T > >::getData | ( | ) | [inline] |
virtual const GLvoid* osg::BufferTemplate< std::vector< T > >::getDataPointer | ( | ) | const [inline, virtual] |
Implements osg::BufferData.
virtual unsigned int osg::BufferTemplate< std::vector< T > >::getTotalDataSize | ( | ) | const [inline, virtual] |
Implements osg::BufferData.
virtual bool osg::BufferTemplate< std::vector< T > >::isSameKindAs | ( | const Object * | obj | ) | const [inline, virtual] |
Reimplemented from osg::BufferData.
References NULL.
virtual const char* osg::BufferTemplate< std::vector< T > >::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::BufferData.
void osg::BufferTemplate< std::vector< T > >::setData | ( | const std::vector< T > & | data | ) | [inline] |
References osg::BufferData::dirty().
![]() | Generated at Tue Dec 8 2015 00:14:23 for the OpenSceneGraph by doxygen 1.7.6.1. |