Robotran C Documentation
DefaultWorldRenderer.hh
Go to the documentation of this file.
1 
8 #ifndef _DEFAULT_WORLD_RENDERER_HH_
9 #define _DEFAULT_WORLD_RENDERER_HH_
10 
11 #include "MbsWorldRenderer.hh"
12 
13 namespace OpenGLMbs{
14 
18 {
19  public:
20 
23 
24  virtual void Init(){}
25 
29  virtual void Update(std::vector<MbsShape3D*> model_list){}
30 
34 
35  virtual void SetBackgroundColor(glm::vec3 const& background_color){}
36 
37  virtual void AddDepthTexture(int new_depth_x_width, int new_depth_y_width){}
38 
40 };
41 
42 } // close namespace
43 
44 #endif //_DEFAULT_WORLD_RENDERER_HH_
OpenGLMbs
Definition: MpegFrameCaptureOptions.hh:6
OpenGLMbs::DefaultWorldRenderer::Update
virtual void Update(std::vector< MbsShape3D * > model_list)
Execute the necessary code to render this world: Update the append filter and output the vtu file for...
Definition: DefaultWorldRenderer.hh:29
OpenGLMbs::DefaultWorldRenderer::DefaultWorldRenderer
DefaultWorldRenderer()
Constructor.
Definition: DefaultWorldRenderer.cc:11
OpenGLMbs::DefaultShapeRenderer
DefaultShapeRenderer class is a default implementation of DefaultShapeRenderer. It implements the fun...
Definition: DefaultShapeRenderer.hh:21
OpenGLMbs::MbsViewPointRenderer
abstract class for specifying code to render the 3D scene to an image from a specific viepoint.
Definition: MbsViewPointRenderer.hh:17
OpenGLMbs::DefaultWorldRenderer::Init
virtual void Init()
Execute the necessary code to render this world.
Definition: DefaultWorldRenderer.hh:24
OpenGLMbs::DefaultWorldRenderer::SetBackgroundColor
virtual void SetBackgroundColor(glm::vec3 const &background_color)
Definition: DefaultWorldRenderer.hh:35
OpenGLMbs::DefaultWorldRenderer::AddViewPointRenderer
virtual void AddViewPointRenderer(MbsViewPointRenderer *rdr)
Definition: DefaultWorldRenderer.hh:39
MbsWorldRenderer.hh
MbsWorldRenderer class.
DefaultShapeRenderer.hh
OpenGLMbs::DefaultWorldRenderer::AddDepthTexture
virtual void AddDepthTexture(int new_depth_x_width, int new_depth_y_width)
Definition: DefaultWorldRenderer.hh:37
OpenGLMbs::MbsShapeRenderer
MbsShapeRenderer is an abstract class that defines the property need to render a MbsShape3D....
Definition: MbsShapeRenderer.hh:29
OpenGLMbs::DefaultWorldRenderer
Implementation of MbsWorldRenderer class that do nothing.
Definition: DefaultWorldRenderer.hh:17
OpenGLMbs::MbsWorldRenderer
MbsWorldRenderer class defines the general properties of an object that renders a MbsWorld3D....
Definition: MbsWorldRenderer.hh:31
DefaultWorldRenderer.hh
DefaultShapeRenderer class.
OpenGLMbs::DefaultWorldRenderer::getNewShapeRenderer
virtual MbsShapeRenderer * getNewShapeRenderer()
Create and return a new renderer for shape (similar to a factory production method)
Definition: DefaultWorldRenderer.cc:18