 |
|
 |
 |
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::ITravCameraScene Class ReferenceA ITravScene traversal, with camera setup (common to CRenderTrav and CClipTrav).
More...
#include <trav_scene.h>
Inheritance diagram for NL3D::ITravCameraScene:
List of all members.
Public Methods |
| void | setFrustum (float left, float right, float bottom, float top, float znear, float zfar, bool perspective=true) |
| | Setup the camera mode as a perspective/ortho camera. NB: znear and zfar must be >0 (if perspective). More...
|
| void | setFrustum (float width, float height, float znear, float zfar, bool perspective=true) |
| | Setup the camera mode as a perspective/ortho camera. NB: znear and zfar must be >0 (if perspective). More...
|
| void | setCamMatrix (const NLMISC::CMatrix &camMatrix) |
| | Setup the camera matrix (a translation/rotation matrix). More...
|
| | ITravCameraScene () |
| | Constructor. More...
|
Public Attributes |
|
Those variables are valid only in traverse().
|
| float | Left |
| float | Right |
| float | Bottom |
| float | Top |
| float | Near |
| float | Far |
| bool | Perspective |
| NLMISC::CMatrix | CamMatrix |
| NLMISC::CMatrix | ViewMatrix |
| NLMISC::CVector | CamPos |
| NLMISC::CVector | CamLook |
Protected Methods |
| void | update () |
| | update the dependent information. More...
|
Detailed Description
A ITravScene traversal, with camera setup (common to CRenderTrav and CClipTrav).
Definition at line 95 of file trav_scene.h.
Constructor & Destructor Documentation
| NL3D::ITravCameraScene::ITravCameraScene |
( |
|
) |
[inline] |
|
Member Function Documentation
| void NL3D::ITravCameraScene::setCamMatrix |
( |
const NLMISC::CMatrix & |
camMatrix |
) |
[inline] |
|
|
|
Setup the camera matrix (a translation/rotation matrix).
Definition at line 130 of file trav_scene.h. |
| void NL3D::ITravCameraScene::setFrustum |
( |
float |
width, |
|
|
float |
height, |
|
|
float |
znear, |
|
|
float |
zfar, |
|
|
bool |
perspective = true |
|
) |
[inline] |
|
|
|
Setup the camera mode as a perspective/ortho camera. NB: znear and zfar must be >0 (if perspective).
Definition at line 125 of file trav_scene.h.
References height, setFrustum, and width. |
| void NL3D::ITravCameraScene::setFrustum |
( |
float |
left, |
|
|
float |
right, |
|
|
float |
bottom, |
|
|
float |
top, |
|
|
float |
znear, |
|
|
float |
zfar, |
|
|
bool |
perspective = true |
|
) |
[inline] |
|
| void NL3D::ITravCameraScene::update |
( |
void |
|
) |
[inline, protected] |
|
Member Data Documentation
| float NL3D::ITravCameraScene::Bottom
|
|
| float NL3D::ITravCameraScene::Far
|
|
| float NL3D::ITravCameraScene::Left
|
|
| float NL3D::ITravCameraScene::Near
|
|
| bool NL3D::ITravCameraScene::Perspective
|
|
| float NL3D::ITravCameraScene::Right
|
|
| float NL3D::ITravCameraScene::Top
|
|
The documentation for this class was generated from the following file:
|
 |