#include <rendercontrol.h>
Inheritance diagram for kerosin::RenderControl:


Public Member Functions | |
| RenderControl () | |
| virtual | ~RenderControl () |
| int | GetFramesRendered () |
| returns the total number of rendered frames | |
| virtual void | EndCycle () |
| renders the scene at the end of each simulation cycle | |
Protected Member Functions | |
| virtual void | OnLink () |
| This method is called, when the hierarchy object has been linked to a parent. | |
| virtual void | OnUnlink () |
| This rountine is called, before the hierarchy object is removed from the parent. | |
| void | RenderCustom () |
Protected Attributes | |
| boost::shared_ptr< kerosin::RenderServer > | mRenderServer |
| cached reference to the RenderServer | |
| boost::shared_ptr< kerosin::OpenGLServer > | mOpenGLServer |
| cached reference to the OpenGLServer | |
| int | mFramesRendered |
| total frames rendered | |
Definition at line 34 of file rendercontrol.h.
|
|
Definition at line 32 of file rendercontrol.cpp. References mFramesRendered. |
|
|
Definition at line 37 of file rendercontrol.cpp. |
|
|
renders the scene at the end of each simulation cycle
Reimplemented from oxygen::SimControlNode. Definition at line 85 of file rendercontrol.cpp. References mFramesRendered, mOpenGLServer, mRenderServer, and RenderCustom(). Here is the call graph for this function: ![]() |
|
|
returns the total number of rendered frames
Definition at line 96 of file rendercontrol.cpp. References mFramesRendered. |
|
|
This method is called, when the hierarchy object has been linked to a parent. At that point, traversal can commence. It can be overridden to support custom 'link' behavior. Reimplemented from zeitgeist::Leaf. Definition at line 41 of file rendercontrol.cpp. References zeitgeist::Object::GetCore(), zeitgeist::Object::GetLog(), mOpenGLServer, and mRenderServer. Here is the call graph for this function: ![]() |
|
|
This rountine is called, before the hierarchy object is removed from the parent. It can be overridden to support custom 'unlink' behavior. Reimplemented from zeitgeist::Leaf. Definition at line 62 of file rendercontrol.cpp. References mOpenGLServer, and mRenderServer. |
|
|
Definition at line 68 of file rendercontrol.cpp. Referenced by EndCycle(). |
|
|
total frames rendered
Definition at line 60 of file rendercontrol.h. Referenced by EndCycle(), GetFramesRendered(), and RenderControl(). |
|
|
cached reference to the OpenGLServer
Definition at line 57 of file rendercontrol.h. Referenced by EndCycle(), OnLink(), and OnUnlink(). |
|
|
cached reference to the RenderServer
Definition at line 54 of file rendercontrol.h. Referenced by EndCycle(), OnLink(), and OnUnlink(). |
1.4.4