#include <mrpt/opengl/CCamera.h>
Public Member Functions | |
void | render () |
Render does nothing here. | |
Static Public Member Functions | |
static CCameraPtr | Create () |
Class factory. | |
Public Attributes | |
float | m_pointingX |
float | m_pointingY |
float | m_pointingZ |
float | m_distanceZoom |
float | m_azimuthDeg |
float | m_elevationDeg |
bool | m_projectiveModel |
If set to true (default), camera model is projective, otherwise, it's orthogonal. | |
float | m_projectiveFOVdeg |
Field-of-View in degs, only when projectiveModel=true (default=30 deg). | |
Private Member Functions | |
CCamera () | |
Constructor. | |
virtual | ~CCamera () |
Private, virtual destructor: only can be deleted from smart pointers. | |
Friends | |
class | COpenGLViewport |
A camera: if added to a scene, the viewpoint defined by this camera will be used instead of the camera parameters set in COpenGLViewport::m_camera. A camera can be defined to provide a projective or orthogonal view of the world by setting the member CCamera::m_projectiveModel.
Definition at line 55 of file CCamera.h.
mrpt::opengl::CCamera::CCamera | ( | ) | [private] |
Constructor.
virtual mrpt::opengl::CCamera::~CCamera | ( | ) | [inline, private, virtual] |
static CCameraPtr mrpt::opengl::CCamera::Create | ( | ) | [inline, static] |
void mrpt::opengl::CCamera::render | ( | ) | [inline, virtual] |
friend class COpenGLViewport [friend] |
Page generated by Doxygen 1.5.8 for MRPT 0.6.5 SVN:exported at Mon Jan 12 13:00:16 UTC 2009 |