![]() |
GLVis
v4.2
Accurate and flexible finite element visualization
|
#include <types.hpp>
Public Types | |
| typedef std::vector< T > ::const_iterator | ConstIterator |
Public Member Functions | |
| VertexBuffer (GLenum shape) | |
| ~VertexBuffer () | |
| 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 |
| void | addVertex (const T &vertex) |
| Add a vertex to the buffer. More... | |
| void | addVertices (const std::vector< T > &verts) |
| Add vertices to a buffer. More... | |
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::VertexBuffer< T >::ConstIterator |
|
inline |
|
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 |
Gets the primitive type contained by the vertex buffer.
Implements gl3::IVertexBuffer.
|
inlinevirtual |
Gets the stride between vertices.
Implements gl3::IVertexBuffer.
1.8.5