#include <Vbo.h>
Public Member Functions | |
| Vbo () | |
| Standard Constructor. | |
| Vbo (const string &filename) | |
| Constructor. | |
| Vbo (const Vbo &source) | |
| Copy-constructor. | |
| ~Vbo () | |
| Destructor. | |
| void | renderGl () |
| Draw vbo in OpenGL. | |
| void | selectGl () |
| Draw vbo in OpenGL for picking. | |
| const string & | getFilename () const |
| Gets mesh filename. | |
| virtual string | toString () const |
| Returns a textual representation. | |
| virtual string | className () const |
| Returns the class name of the object. | |
| virtual enum classId | classId () const |
| Returns the class id of the object. | |
| Vbo | operator= (const Vbo &tex) |
| Operator =. | |
Private Attributes | |
| vboEntry * | data |
| Vbo::Vbo | ( | ) |
Standard Constructor.
| Vbo::Vbo | ( | const string & | filename | ) |
Constructor.
If an invalid filename was choosen, a default image will be generated
| filename | The image to be loaded |
| Vbo::Vbo | ( | const Vbo & | source | ) |
Copy-constructor.
Duplicates a texture
| Vbo::~Vbo | ( | ) |
Destructor.
Destroys the Object.
| void Vbo::renderGl | ( | ) |
Draw vbo in OpenGL.
Signals OpenGL to draw this vbo
| void Vbo::selectGl | ( | ) |
Draw vbo in OpenGL for picking.
Signals OpenGL to draw this vbo without normal or texture coordinate information
| const string & Vbo::getFilename | ( | ) | const |
Gets mesh filename.
| string Vbo::toString | ( | ) | const [virtual] |
Returns a textual representation.
| string Vbo::className | ( | ) | const [virtual] |
Returns the class name of the object.
| enum classId Vbo::classId | ( | ) | const [virtual] |
Returns the class id of the object.
1.5.6