Robotran C Documentation
Public Member Functions | List of all members
MbsWorldRenderer Class Referenceabstract

MbsWorldRenderer class defines the general properties of an object that renders a MbsWorld3D.Three implementation are currently available (but other can be written if needed): More...

#include <MbsWorldRenderer.hh>

Inheritance diagram for MbsWorldRenderer:
DefaultWorldRenderer OglWorldRenderer

Public Member Functions

virtual ~MbsWorldRenderer ()
 Destructor. More...
 
virtual void Init ()=0
 Execute the necessary code to render this world. More...
 
virtual void Update (std::vector< MbsShape3D * > model_list)=0
 Execute the necessary code to render this world. More...
 
virtual MbsShapeRenderergetNewShapeRenderer ()=0
 Create and return a new shape renderer. More...
 
virtual void SetBackgroundColor (glm::vec3 const &background_color)=0
 
virtual void AddDepthTexture (int new_depth_x_width, int new_depth_y_width)=0
 
virtual void AddViewPointRenderer (MbsViewPointRenderer *rdr)=0
 

Detailed Description

MbsWorldRenderer class defines the general properties of an object that renders a MbsWorld3D.Three implementation are currently available (but other can be written if needed):

Constructor & Destructor Documentation

◆ ~MbsWorldRenderer()

virtual ~MbsWorldRenderer ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ AddDepthTexture()

virtual void AddDepthTexture ( int  new_depth_x_width,
int  new_depth_y_width 
)
pure virtual

Implemented in OglWorldRenderer, and DefaultWorldRenderer.

◆ AddViewPointRenderer()

virtual void AddViewPointRenderer ( MbsViewPointRenderer rdr)
pure virtual

Implemented in OglWorldRenderer, and DefaultWorldRenderer.

◆ getNewShapeRenderer()

virtual MbsShapeRenderer* getNewShapeRenderer ( )
pure virtual

Create and return a new shape renderer.

Implemented in OglWorldRenderer, and DefaultWorldRenderer.

◆ Init()

virtual void Init ( )
pure virtual

Execute the necessary code to render this world.

Implemented in OglWorldRenderer, and DefaultWorldRenderer.

◆ SetBackgroundColor()

virtual void SetBackgroundColor ( glm::vec3 const &  background_color)
pure virtual

Implemented in OglWorldRenderer, and DefaultWorldRenderer.

◆ Update()

virtual void Update ( std::vector< MbsShape3D * >  model_list)
pure virtual

Execute the necessary code to render this world.

Implemented in OglWorldRenderer, and DefaultWorldRenderer.


The documentation for this class was generated from the following file: