#include <gr_renderable_model.h>
|
virtual Abstract_renderable & | get_rendering_interface () const =0 |
| Returns a reference to the rendering interface used to render this model. More...
|
|
virtual void | update_rendering_representation () const =0 throw (kjb::KJB_error) |
| Updates the rendering interface so that it reflects the paremeter values of this model to the rendering interface used to render this model. More...
|
|
void | set_rendering_representation_dirty () const |
| This method is called to whenever the model parameters where changed without updating the rendering interface accordingly. This means that the rendering interface has to be updated before calling any rendering method, otherwise the rendering will not match the parameter values of the model. More...
|
|
kjb::Renderable_model::Renderable_model |
( |
bool |
istatus = false | ) |
|
|
inline |
Constructor.
specifies whether the rendering interface matches the model parameters or needs to be updated
virtual kjb::Renderable_model::~Renderable_model |
( |
| ) |
|
|
inlinevirtual |
void kjb::Renderable_model::force_update |
( |
| ) |
const |
|
inline |
void Renderable_model::render_occluded_wireframe |
( |
| ) |
const |
throw | ( | kjb::KJB_error |
| ) | | |
|
virtual |
Renders this model as a wireframe by removing occluded edges.
void kjb::Renderable_model::set_rendering_representation_dirty |
( |
| ) |
const |
|
inlineprotected |
This method is called to whenever the model parameters where changed without updating the rendering interface accordingly. This means that the rendering interface has to be updated before calling any rendering method, otherwise the rendering will not match the parameter values of the model.
renders the silhouette of this object
Renders this model as a solid.
void kjb::Renderable_model::update_if_needed |
( |
| ) |
const |
|
inline |
Updates the graphical representation if needed
virtual void kjb::Renderable_model::update_rendering_representation |
( |
| ) |
const |
throw | ( | kjb::KJB_error |
| ) | | |
|
protectedpure virtual |
void Renderable_model::wire_occlude_render |
( |
| ) |
const |
throw | ( | kjb::KJB_error |
| ) | | |
|
virtual |
Renders this model into the depth buffer.
Renders this model as a wireframe.
The documentation for this class was generated from the following files: