GLVis
v4.2
Accurate and flexible finite element visualization
|
#include <types.hpp>
Public Types | |
typedef std::vector< T > ::const_iterator | ConstIterator |
Public Member Functions | |
IndexedVertexBuffer (GLenum shape) | |
~IndexedVertexBuffer () | |
virtual void | clear () |
Clears the data stored in the vertex buffer. More... | |
virtual size_t | count () const |
Gets the number of vertices contained in the buffer. More... | |
virtual GLenum | getShape () const |
Gets the primitive type contained by the vertex buffer. More... | |
virtual size_t | getStride () const |
Gets the stride between vertices. More... | |
ConstIterator | begin () const |
ConstIterator | end () const |
virtual const void * | getData () const |
const std::vector< int > & | getIndices () const |
void | addVertices (const std::vector< T > &verts, const std::vector< int > &ids) |
Public Member Functions inherited from gl3::IVertexBuffer | |
IVertexBuffer () | |
virtual | ~IVertexBuffer () |
int | getHandle () const |
void | setHandle (int dev_hnd) |
typedef std::vector<T>::const_iterator gl3::IndexedVertexBuffer< T >::ConstIterator |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Clears the data stored in the vertex buffer.
Implements gl3::IVertexBuffer.
|
inlinevirtual |
Gets the number of vertices contained in the buffer.
Implements gl3::IVertexBuffer.
|
inline |
|
inlinevirtual |
Implements gl3::IVertexBuffer.
|
inlinevirtual |
Implements gl3::IIndexedBuffer.
|
inlinevirtual |
Gets the primitive type contained by the vertex buffer.
Implements gl3::IVertexBuffer.
|
inlinevirtual |
Gets the stride between vertices.
Implements gl3::IVertexBuffer.