eng::View::Eye Class Reference

Eye. More...

#include <eng_view.hh>

List of all members.

Public Member Functions

 Eye (void)
 ~Eye ()
void SetPosition (const WorldVertex &pos)
WorldVertex GetPosition (void)
void PositionChanged (void)
SharedPtr< const Matrix > GetMatrix (void)
void SetMatrix (const Matrix &matrix)
void Translate (uint axis, fp inc)
void Translate (const Vector3 &v)
void Rotate (uint axis, Radian rad)

Private Member Functions

void CorrectPosition_ (void)

Private Attributes

Matrix mMatrix


Detailed Description

Eye.

Eye retains an interface similar to an Object-derived class.


Constructor & Destructor Documentation

eng::View::Eye::Eye ( void   ) 

ctor/dtor.

eng::View::Eye::~Eye (  ) 


Member Function Documentation

void eng::View::Eye::SetPosition ( const WorldVertex &  pos  ) 

WorldVertex eng::View::Eye::GetPosition ( void   ) 

Returns:
Position in world space.

void eng::View::Eye::PositionChanged ( void   ) 

Any Eye method that changes position should call this private subroutine. PositionChanged() will correct position if necessary.

SharedPtr<const Matrix> eng::View::Eye::GetMatrix ( void   )  [inline]

void eng::View::Eye::SetMatrix ( const Matrix &  matrix  ) 

void eng::View::Eye::Translate ( uint  axis,
fp  inc 
)

Move Eye along one of its local axis.

void eng::View::Eye::Translate ( const Vector3 &  v  ) 

void eng::View::Eye::Rotate ( uint  axis,
Radian  rad 
)

Rotate Eye around one of its local axis.

void eng::View::Eye::CorrectPosition_ ( void   )  [private]


Member Data Documentation

Matrix eng::View::Eye::mMatrix [private]


The documentation for this class was generated from the following files: Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:25 2007