Robotran C Documentation
Public Member Functions | List of all members
DefaultWindowManager Class Reference

DefaultWindowManager is a default implementation of MbsWindowManager that do nothing. It is useful in association with VtkWorldRenderer. More...

#include <DefaultWindowManager.hh>

Inheritance diagram for DefaultWindowManager:
MbsWindowManager

Public Member Functions

virtual void Init (MbsWorld3D *world, int x_width, int y_width, int multi_samp)
 Init the current shape renderer. More...
 
virtual void SwapBuffers ()
 
virtual double GetTime ()
 
virtual void Terminate ()
 
virtual int CheckClose ()
 
virtual bool Update ()
 Update the window for the current frame Return true if the windows size has changed since the previous frame. More...
 
virtual void PollEvents ()
 
virtual void UpdateViewPoint (MbsViewPoint *curVp)
 
virtual int GetXWidth ()
 get the width along the X axis (in pixels) More...
 
virtual int GetYWidth ()
 get the width along the X axis (in pixels) More...
 

Detailed Description

DefaultWindowManager is a default implementation of MbsWindowManager that do nothing. It is useful in association with VtkWorldRenderer.

Member Function Documentation

◆ CheckClose()

virtual int CheckClose ( )
inlinevirtual

Implements MbsWindowManager.

◆ GetTime()

virtual double GetTime ( )
inlinevirtual

Implements MbsWindowManager.

◆ GetXWidth()

virtual int GetXWidth ( )
inlinevirtual

get the width along the X axis (in pixels)

Implements MbsWindowManager.

◆ GetYWidth()

virtual int GetYWidth ( )
inlinevirtual

get the width along the X axis (in pixels)

Implements MbsWindowManager.

◆ Init()

virtual void Init ( MbsWorld3D *  world,
int  x_width,
int  y_width,
int  multi_samp 
)
inlinevirtual

Init the current shape renderer.

Implements MbsWindowManager.

◆ PollEvents()

virtual void PollEvents ( )
inlinevirtual

Implements MbsWindowManager.

◆ SwapBuffers()

virtual void SwapBuffers ( )
inlinevirtual

Implements MbsWindowManager.

◆ Terminate()

virtual void Terminate ( )
inlinevirtual

Implements MbsWindowManager.

◆ Update()

virtual bool Update ( )
inlinevirtual

Update the window for the current frame Return true if the windows size has changed since the previous frame.

Implements MbsWindowManager.

◆ UpdateViewPoint()

virtual void UpdateViewPoint ( MbsViewPoint *  curVp)
inlinevirtual

Implements MbsWindowManager.


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