|
Computational Embodied Neuroscience Simulator
1.1
3D simulation library
|
parameters of a camera More...
#include <cens_graphics.h>

Public Member Functions | |
| CENSCamera () | |
| CENSCamera (const CENSCamera ©) | |
| ~CENSCamera () | |
| void | initPixels () |
Public Attributes | |
| int | m_cHandle |
| int | m_cScreenWidth |
| int | m_cScreenHeight |
| int | m_cScreenXGap |
| int | m_cScreenYGap |
| std::string | m_cScreenTitle |
| float | m_cFoV |
| float | m_cRatio |
| float | m_cNear |
| float | m_cFar |
| float | m_cAngle |
| float | m_cDistance |
| float | m_cHeight |
| Vector3f | m_cOrigin |
| Vector3f | m_cTarget |
| Vector3f | m_cUp |
| float | m_cMov |
| float | m_cGap |
| unsigned char * | m_cPixels |
| CENSPixelMap | m_cPixmap |
parameters of a camera
Definition at line 139 of file cens_graphics.h.
|
inline |
Definition at line 142 of file cens_graphics.h.
|
inline |
Definition at line 144 of file cens_graphics.h.
References m_cAngle, m_cDistance, m_cFar, m_cFoV, m_cGap, m_cHandle, m_cHeight, m_cMov, m_cNear, m_cOrigin, m_cRatio, m_cScreenHeight, m_cScreenTitle, m_cScreenWidth, m_cScreenXGap, m_cScreenYGap, m_cTarget, and m_cUp.
|
inline |
Definition at line 166 of file cens_graphics.h.
|
inline |
Initialize the pixel storage array, an array of unsigned charsin which every pixel is represented by three subsequents unsigned chars
Definition at line 178 of file cens_graphics.h.
Referenced by cens::CENSGraphics::initCamera().
| float cens::CENSGraphics::CENSCamera::m_cAngle |
angle of view
Definition at line 225 of file cens_graphics.h.
Referenced by CENSCamera(), and cens::CENSGraphics::updateCamera().
| float cens::CENSGraphics::CENSCamera::m_cDistance |
distance from target
Definition at line 227 of file cens_graphics.h.
Referenced by cens::CENSEngine::attachCamera(), CENSCamera(), cens::CENSEngine::display(), and cens::CENSGraphics::updateCamera().
| float cens::CENSGraphics::CENSCamera::m_cFar |
distance of the far clipping plane
Definition at line 223 of file cens_graphics.h.
Referenced by cens::CENSEngine::attachCamera(), CENSCamera(), and cens::CENSGraphics::initCamera().
| float cens::CENSGraphics::CENSCamera::m_cFoV |
field of view
Definition at line 217 of file cens_graphics.h.
Referenced by cens::CENSEngine::attachCamera(), CENSCamera(), and cens::CENSGraphics::initCamera().
| float cens::CENSGraphics::CENSCamera::m_cGap |
camera up/down movement in response to a single keyboard command
Definition at line 247 of file cens_graphics.h.
Referenced by CENSCamera().
| int cens::CENSGraphics::CENSCamera::m_cHandle |
handle of the camera
Definition at line 195 of file cens_graphics.h.
Referenced by CENSCamera(), cens::CENSGraphics::focusCamera(), cens::CENSGraphics::getCameraPixelMap(), cens::CENSGraphics::initCamera(), and cens::CENSGraphics::saveCameraPixelMap().
| float cens::CENSGraphics::CENSCamera::m_cHeight |
height relative to the target
Definition at line 229 of file cens_graphics.h.
Referenced by cens::CENSEngine::attachCamera(), CENSCamera(), and cens::CENSGraphics::updateCamera().
| float cens::CENSGraphics::CENSCamera::m_cMov |
camera rotation in response to a single keyboard command
Definition at line 241 of file cens_graphics.h.
Referenced by CENSCamera().
| float cens::CENSGraphics::CENSCamera::m_cNear |
distance of the near clipping plane
Definition at line 221 of file cens_graphics.h.
Referenced by cens::CENSEngine::attachCamera(), CENSCamera(), and cens::CENSGraphics::initCamera().
| Vector3f cens::CENSGraphics::CENSCamera::m_cOrigin |
position of the camera
Definition at line 231 of file cens_graphics.h.
Referenced by CENSCamera(), cens::CENSEngine::display(), cens::CENSEngine::syncAttachedCamera(), and cens::CENSGraphics::updateCamera().
| unsigned char* cens::CENSGraphics::CENSCamera::m_cPixels |
pixel storage array
Definition at line 249 of file cens_graphics.h.
| CENSPixelMap cens::CENSGraphics::CENSCamera::m_cPixmap |
pixel storage array interface for 2D-reading of the pixel space
Definition at line 256 of file cens_graphics.h.
Referenced by cens::CENSGraphics::getCameraPixelMap(), and cens::CENSGraphics::saveCameraPixelMap().
| float cens::CENSGraphics::CENSCamera::m_cRatio |
ratio of the camera field of view
Definition at line 219 of file cens_graphics.h.
Referenced by CENSCamera(), and cens::CENSGraphics::initCamera().
| int cens::CENSGraphics::CENSCamera::m_cScreenHeight |
pixel height of the camera
Definition at line 199 of file cens_graphics.h.
Referenced by cens::CENSEngine::attachCamera(), CENSCamera(), cens::CENSGraphics::getCameraPixelMap(), cens::CENSGraphics::initCamera(), and cens::CENSGraphics::saveCameraPixelMap().
| std::string cens::CENSGraphics::CENSCamera::m_cScreenTitle |
title of the camera
Definition at line 215 of file cens_graphics.h.
Referenced by cens::CENSEngine::attachCamera(), CENSCamera(), and cens::CENSGraphics::initCamera().
| int cens::CENSGraphics::CENSCamera::m_cScreenWidth |
pixel width of the camera
Definition at line 197 of file cens_graphics.h.
Referenced by cens::CENSEngine::attachCamera(), CENSCamera(), cens::CENSGraphics::getCameraPixelMap(), cens::CENSGraphics::initCamera(), and cens::CENSGraphics::saveCameraPixelMap().
| int cens::CENSGraphics::CENSCamera::m_cScreenXGap |
horizontal position of the camera from the left of the screen
Definition at line 205 of file cens_graphics.h.
Referenced by cens::CENSEngine::attachCamera(), CENSCamera(), and cens::CENSGraphics::initCamera().
| int cens::CENSGraphics::CENSCamera::m_cScreenYGap |
vertical position of the camera from the top of the screen
Definition at line 211 of file cens_graphics.h.
Referenced by cens::CENSEngine::attachCamera(), CENSCamera(), and cens::CENSGraphics::initCamera().
| Vector3f cens::CENSGraphics::CENSCamera::m_cTarget |
position of the target
Definition at line 233 of file cens_graphics.h.
Referenced by CENSCamera(), cens::CENSEngine::display(), cens::CENSEngine::syncAttachedCamera(), and cens::CENSGraphics::updateCamera().
| Vector3f cens::CENSGraphics::CENSCamera::m_cUp |
up vector
Definition at line 235 of file cens_graphics.h.
Referenced by CENSCamera(), cens::CENSEngine::syncAttachedCamera(), and cens::CENSGraphics::updateCamera().
1.8.8