#include <WP_Model.h>
Inheritance diagram for WPCG::WP_NonAnimatedModel:
Public Methods | |
WP_NonAnimatedModel (const string &name) | |
virtual | ~WP_NonAnimatedModel () |
WP_NonAnimatedModel (const WP_NonAnimatedModel &namodel) | |
WP_NonAnimatedModel & | operator= (const WP_NonAnimatedModel &namodel) |
OPCODE_Model * | getCollisionModel (const WP_Object *object) |
WP_Vertex * | getVertex (const WP_Object *object, unsigned int index) |
virtual void | drawOpenGL (const WP_Matrix3D &matrix, WP_Object *object)=0 |
virtual bool | initModel ()=0 |
Protected Methods | |
bool | finalizeAll () |
Protected Attributes | |
WP_Frame * | frame |
|
|
|
|
|
|
|
this function draws the model according to its world matrix into the 3D scene
Implements WPCG::WP_Model. Implemented in WPCG::WP_MetaBall. |
|
this function finalizes all after the model was read and everything was initialized. It for instance builds the collision mesh Implements WPCG::WP_Model. |
|
Implements WPCG::WP_Model. |
|
Implements WPCG::WP_Model. |
|
this virtual function should be overriden by child objects. In this function the model must be read and the model's internals must be filled (like for example the meshes, the material etc). Every 3d file format stores this information in a different way there this function can be used to substract the necessary data from it. Implements WPCG::WP_Model. Implemented in WPCG::WP_MetaBall. |
|
|
|
|