CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

iModelDataCamera Struct Reference

A camera in the scene. More...

#include <imesh/mdldata.h>

Inheritance diagram for iModelDataCamera:

iBase csModelDataCamera List of all members.

Public Member Functions

virtual iObjectQueryObject ()=0
 Query the iObject for this camera.
virtual const csVector3GetPosition () const =0
 return the position of the camera
virtual void SetPosition (const csVector3 &v)=0
 set the position of the camera
virtual const csVector3GetUpVector () const =0
 return the 'up' vector of the camera
virtual void SetUpVector (const csVector3 &v)=0
 set the 'up' vector of the camera
virtual void ComputeUpVector ()=0
 compute the 'up' vector as the normal to the 'front' and 'right' vectors
virtual const csVector3GetFrontVector () const =0
 return the 'front' vector of the camera
virtual void SetFrontVector (const csVector3 &v)=0
 set the 'front' vector of the camera
virtual void ComputeFrontVector ()=0
 compute the 'front' vector as the normal to the 'up' and 'right' vectors
virtual const csVector3GetRightVector () const =0
 return the 'right' vector of the camera
virtual void SetRightVector (const csVector3 &v)=0
 set the 'right' vector of the camera
virtual void ComputeRightVector ()=0
 compute the 'right' vector as the normal to the 'up' and 'front' vectors
virtual void Normalize ()=0
 normalize all direction vectors
virtual bool CheckOrthogonality () const =0
 test if all direction vectors are orthogonal
virtual iModelDataCameraClone () const =0
 Clone this camera.

Detailed Description

A camera in the scene.

Definition at line 329 of file mdldata.h.


Member Function Documentation

virtual bool iModelDataCamera::CheckOrthogonality  )  const [pure virtual]
 

test if all direction vectors are orthogonal

Implemented in csModelDataCamera.

virtual iModelDataCamera* iModelDataCamera::Clone  )  const [pure virtual]
 

Clone this camera.

Implemented in csModelDataCamera.

virtual void iModelDataCamera::ComputeFrontVector  )  [pure virtual]
 

compute the 'front' vector as the normal to the 'up' and 'right' vectors

Implemented in csModelDataCamera.

virtual void iModelDataCamera::ComputeRightVector  )  [pure virtual]
 

compute the 'right' vector as the normal to the 'up' and 'front' vectors

Implemented in csModelDataCamera.

virtual void iModelDataCamera::ComputeUpVector  )  [pure virtual]
 

compute the 'up' vector as the normal to the 'front' and 'right' vectors

Implemented in csModelDataCamera.

virtual const csVector3& iModelDataCamera::GetFrontVector  )  const [pure virtual]
 

return the 'front' vector of the camera

virtual const csVector3& iModelDataCamera::GetPosition  )  const [pure virtual]
 

return the position of the camera

virtual const csVector3& iModelDataCamera::GetRightVector  )  const [pure virtual]
 

return the 'right' vector of the camera

virtual const csVector3& iModelDataCamera::GetUpVector  )  const [pure virtual]
 

return the 'up' vector of the camera

virtual void iModelDataCamera::Normalize  )  [pure virtual]
 

normalize all direction vectors

Implemented in csModelDataCamera.

virtual iObject* iModelDataCamera::QueryObject  )  [pure virtual]
 

Query the iObject for this camera.

virtual void iModelDataCamera::SetFrontVector const csVector3 v  )  [pure virtual]
 

set the 'front' vector of the camera

virtual void iModelDataCamera::SetPosition const csVector3 v  )  [pure virtual]
 

set the position of the camera

virtual void iModelDataCamera::SetRightVector const csVector3 v  )  [pure virtual]
 

set the 'right' vector of the camera

virtual void iModelDataCamera::SetUpVector const csVector3 v  )  [pure virtual]
 

set the 'up' vector of the camera


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.3.9.1