chrono::opengl::ChOpenGLCamera Class Reference
Description
OpenGL camera class.
#include <ChOpenGLCamera.h>
Inheritance diagram for chrono::opengl::ChOpenGLCamera:

Collaboration diagram for chrono::opengl::ChOpenGLCamera:

Public Member Functions | |
void | TakeDown () |
void | Reset () |
void | Update () |
void | Move (CameraDirection dir) |
void | ChangePitch (float degrees) |
void | ChangeHeading (float degrees) |
void | Move2D (int x, int y) |
void | SetMode (CameraType cam_mode) |
void | SetPosition (glm::vec3 pos) |
void | SetLookAt (glm::vec3 pos) |
void | SetFOV (double fov) |
void | SetViewport (int loc_x, int loc_y, int width, int height) |
void | SetClipping (double near_clip_distance, double far_clip_distance) |
void | SetDistance (double cam_dist) |
void | SetPos (int button, int state, int x, int y) |
CameraType | GetMode () |
void | GetViewport (int &loc_x, int &loc_y, int &width, int &height) |
void | GetMatricies (glm::mat4 &P, glm::mat4 &V, glm::mat4 &M) |
Member Function Documentation
◆ TakeDown()
|
inlinevirtual |
Implements chrono::opengl::ChOpenGLBase.
The documentation for this class was generated from the following files:
- C:/M/B/src/chrono-9.0.1/src/chrono_opengl/ChOpenGLCamera.h
- C:/M/B/src/chrono-9.0.1/src/chrono_opengl/ChOpenGLCamera.cpp