level-of-detail model. Contains multiple level-of-detail entries (models) More...
#include <glut-model.h>


Public Member Functions | |
| lod_model_t (void) throw () | |
| ~lod_model_t (void) throw () | |
| void | clear (void) throw () |
| void | render (IN const render_context_t &rc, IN RenderQueue *rq) |
| this method is called to actually draw the object. | |
| rect3d_t | getBoundingBox (void) const throw () |
| here the object must provide a bounding box. | |
| virtual bool | isAnimateable (void) const throw () |
| does this object support animations? Default answer is false. | |
| virtual void | getAnimationState (OUT std::string &state) |
| the object must provide current animation state. | |
| virtual bool | setAnimationState (IN const char *state) |
| the object should update its animation state. | |
| virtual void | getAnimationVerbs (OUT VecString &verbs) |
| the object should return the full list of animation verbs it supports. | |
| virtual bool | setAnimation (IN const char *verb) |
| please update animations based on requested verb. | |
Public Attributes | |
| int | nEntries |
| number of level-of-detail entries | |
| lod_entry_t * | entries |
| array of level-of-detail entries | |
| rect3d_t | boundingBox |
| bounding box | |
level-of-detail model. Contains multiple level-of-detail entries (models)
Definition at line 191 of file glut-model.h.
| glut::lod_model_t::lod_model_t | ( | void | ) | throw () [inline] |
Definition at line 194 of file glut-model.h.
| bool glut::Renderable::isAnimateable | ( | void | ) | const throw () [virtual, inherited] |
does this object support animations? Default answer is false.
(random aside: did you know "animateable" is not a word?)
Definition at line 168 of file renderable.cpp.
| void glut::Renderable::getAnimationState | ( | OUT std::string & | state | ) | [virtual, inherited] |
the object must provide current animation state.
Default implementation returns empty state string.
Definition at line 181 of file renderable.cpp.
| bool glut::Renderable::setAnimationState | ( | IN const char * | state | ) | [virtual, inherited] |
the object should update its animation state.
Returns false if the object doesn't understand the provided state. Default implementation returns false.
Definition at line 192 of file renderable.cpp.
| void glut::Renderable::getAnimationVerbs | ( | OUT VecString & | verbs | ) | [virtual, inherited] |
the object should return the full list of animation verbs it supports.
The default implementation returns an empty list.
Definition at line 205 of file renderable.cpp.
| bool glut::Renderable::setAnimation | ( | IN const char * | verb | ) | [virtual, inherited] |
please update animations based on requested verb.
Returns false if verb is not supported. Default implementation returns false.
Definition at line 216 of file renderable.cpp.
1.7.1