scene::Camera Class Reference

This is the Camera class. More...

#include <Camera.h>

Inheritance diagram for scene::Camera:

Inheritance graph
[legend]
Collaboration diagram for scene::Camera:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Camera ()
virtual ~Camera ()
void initialize ()
void setUpVector (const math::Vector3f &upVector)
void setPerspective (float32 fovValue, float32 nearValue, float32 farValue)
void setEnable (bool value)
bool isEnabled ()
void update ()
const char * toString ()


Detailed Description

This is the Camera class.

Constructor & Destructor Documentation

scene::Camera::Camera (  ) 

Constructor

virtual scene::Camera::~Camera (  )  [inline, virtual]

Destructor


Member Function Documentation

void scene::Camera::initialize (  ) 

Initialize the camera properties

Note:
Use this method before use the camera

void scene::Camera::setUpVector ( const math::Vector3f upVector  ) 

Set the up vector

Parameters:
upVector The up vector value

void scene::Camera::setPerspective ( float32  fovValue,
float32  nearValue,
float32  farValue 
)

Set the camera perspective

Parameters:
fovValue The fov value
nearValue The near value
farValue The far value

void scene::Camera::setEnable ( bool  value  ) 

Enable the camera

Parameters:
value Set to enable the camera

bool scene::Camera::isEnabled (  ) 

Verify if the camera is enabled

Returns:
True if enabled

void scene::Camera::update (  ) 

Update the camera data

const char* scene::Camera::toString (  )  [inline, virtual]

See also:
Object::toString()

Reimplemented from scene::Transformation.


The documentation for this class was generated from the following file:

Generated on Mon Mar 3 10:53:10 2008 for Aika by  doxygen 1.5.5