Implements a MbsWindowManager using the GLFW library. It may be used in association with OglWorldRenderer. More...
#include <GlfwWindowManager.hh>
Public Member Functions | |
virtual void | Init (MbsWorld3D *world, int x_width, int y_width, int multi_samp) |
Init the current GlfwWindowManager. 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... | |
Private Attributes | |
MbsWorld3D * | world |
GLFWwindow * | win |
main visualizatin window More... | |
int | x_width |
screen width along the X axis (in pixels) More... | |
int | y_width |
screen width along the Y axis (in pixels) More... | |
GlfwViewPointMouseManager * | vpManager |
Implements a MbsWindowManager using the GLFW library. It may be used in association with OglWorldRenderer.
|
virtual |
Implements MbsWindowManager.
|
virtual |
Implements MbsWindowManager.
|
inlinevirtual |
get the width along the X axis (in pixels)
Implements MbsWindowManager.
|
inlinevirtual |
get the width along the X axis (in pixels)
Implements MbsWindowManager.
|
virtual |
|
virtual |
Implements MbsWindowManager.
|
virtual |
Implements MbsWindowManager.
|
virtual |
Implements MbsWindowManager.
|
virtual |
Update the window for the current frame Return true if the windows size has changed since the previous frame.
Implements MbsWindowManager.
|
virtual |
Implements MbsWindowManager.
|
private |
|
private |
main visualizatin window
|
private |
|
private |
screen width along the X axis (in pixels)
|
private |
screen width along the Y axis (in pixels)