#include <iso_visual_camera_transform_node.h>
Inherits iso::visual::SceneTransformNode.
Inheritance diagram for iso::visual::CameraTransformNode:


Public Member Functions | |
| CameraTransformNode (Camera *pCamera) | |
| CameraTransformNode (Camera *pCamera, SceneTransformProperty *pProperty) | |
| ~CameraTransformNode () | |
| const math::Matrix4< real > & | viewMatrix () const |
| return view matrix | |
| const math::Matrix4< real > & | projectionMatrix () const |
| return projection matrix | |
| ProjectionMode | projectionMode () const |
| return camera projection mode | |
| void | setProjectionMode (ProjectionMode pProjectionMode) |
| set camera view mode | |
| const ProjectionSettings & | projectionSettings () const |
| return projection settings | |
| void | setProjectionSettings (const ProjectionSettings &pProjectionSettings) |
| set projection settings | |
| void | setViewAngle (real pViewAngle) |
| set view angle | |
| void | setAspectRatio (real pAspectRatio) |
| set aspect ratio | |
| void | setLeftViewLimit (float pLeftViewLimit) |
| set left view limit | |
| void | setRightViewLimit (float pRightViewLimit) |
| set right view limit | |
| void | setBottomViewLimit (float pBottomViewLimit) |
| set bottom view limit | |
| void | setTopViewLimit (float pTopViewLimit) |
| set top view limit | |
| void | setNearViewLimit (float pNearViewLimit) |
| set near view limit | |
| void | setFarViewLimit (float pFarViewLimit) |
| set far view limit | |
| void | lookAt (const math::Vector3< real > &pTargetPos) |
| point camera at target position | |
| math::Matrix4< real > & | glProjectionMatrix () |
| return opengl style projection matrix | |
| const math::Matrix4< real > & | glProjectionMatrix () const |
| return opengl style projection matrix | |
| math::Matrix4< real > & | glViewMatrix () |
| return opengl style view matrix | |
| const math::Matrix4< real > & | glViewMatrix () const |
| return opengl style view matrix | |
| void | updateProjectionMatrix () |
Protected Attributes | |
| math::Matrix4< real > | mProjectionMatrix |
| math::Matrix4< real > | mGLProjectionMatrix |
| projection matrix opengl projection matrix | |
| ProjectionSettings | mProjectionSettings |
| ProjectionMode | mProjectionMode |
| bool | mFixedAspectRatio |
| projection mode (perspective or orthographic) | |
| CameraTransformNode::CameraTransformNode | ( | Camera * | pCamera | ) |
| CameraTransformNode::CameraTransformNode | ( | Camera * | pCamera, | |
| SceneTransformProperty * | pProperty | |||
| ) |
| CameraTransformNode::~CameraTransformNode | ( | ) |
| const Matrix4< visual::real > & CameraTransformNode::viewMatrix | ( | ) | const |
return view matrix
| const Matrix4< visual::real > & CameraTransformNode::projectionMatrix | ( | ) | const |
return projection matrix
| ProjectionMode CameraTransformNode::projectionMode | ( | ) | const |
return camera projection mode
| void CameraTransformNode::setProjectionMode | ( | ProjectionMode | pProjectionMode | ) |
set camera view mode
| pProjectionMode | view mode |
| const ProjectionSettings & CameraTransformNode::projectionSettings | ( | ) | const |
return projection settings
| void CameraTransformNode::setProjectionSettings | ( | const ProjectionSettings & | pProjectionSettings | ) |
set projection settings
| pProjectionSettings | projection settings |
| void CameraTransformNode::setViewAngle | ( | real | pViewAngle | ) |
set view angle
| pViewAngle | view angle |
| void CameraTransformNode::setAspectRatio | ( | real | pAspectRatio | ) |
set aspect ratio
| pAspectRatio | aspect ratio |
| void CameraTransformNode::setLeftViewLimit | ( | float | pLeftViewLimit | ) |
set left view limit
| pLeftViewLimit | left view limit |
| void CameraTransformNode::setRightViewLimit | ( | float | pRightViewLimit | ) |
set right view limit
| pLeftViewLimit | right view limit |
| void CameraTransformNode::setBottomViewLimit | ( | float | pBottomViewLimit | ) |
set bottom view limit
| pLeftViewLimit | bottom view limit |
| void CameraTransformNode::setTopViewLimit | ( | float | pTopViewLimit | ) |
set top view limit
| pLeftViewLimit | top view limit |
| void CameraTransformNode::setNearViewLimit | ( | float | pNearViewLimit | ) |
set near view limit
| pNearViewLimit | near view limit |
| void CameraTransformNode::setFarViewLimit | ( | float | pFarViewLimit | ) |
set far view limit
| pFarViewLimit | far view limit |
| void CameraTransformNode::lookAt | ( | const math::Vector3< real > & | pTargetPos | ) |
point camera at target position
| pTargetPos | target position |
| math::Matrix4< visual::real > & CameraTransformNode::glProjectionMatrix | ( | ) |
return opengl style projection matrix
| returns | opengl style projection matrix |
| const math::Matrix4< visual::real > & CameraTransformNode::glProjectionMatrix | ( | ) | const |
return opengl style projection matrix
| returns | opengl style projection matrix |
| math::Matrix4< visual::real > & CameraTransformNode::glViewMatrix | ( | ) |
return opengl style view matrix
| returns | opengl style view matrix |
| const math::Matrix4< visual::real > & CameraTransformNode::glViewMatrix | ( | ) | const |
return opengl style view matrix
| returns | opengl style view matrix |
| void CameraTransformNode::updateProjectionMatrix | ( | ) |
math::Matrix4<real> iso::visual::CameraTransformNode::mProjectionMatrix [protected] |
math::Matrix4<real> iso::visual::CameraTransformNode::mGLProjectionMatrix [protected] |
projection matrix opengl projection matrix
bool iso::visual::CameraTransformNode::mFixedAspectRatio [protected] |
projection mode (perspective or orthographic)
1.5.1