Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Emma::ExamineNavigator Class Reference

The Examine Navigator implements the Examine Navigation Model Object as defined by ref(3DNavAPI). More...

#include <EmmaExamineNavigator.h>

Inheritance diagram for Emma::ExamineNavigator:

Emma::NavigatorNode Emma::ChildNode Emma::Node Fusion::Object Fusion::IObject List of all members.

Public Member Functions

 ExamineNavigator ()
virtual ~ExamineNavigator ()
 DECLARE_CLASS (ExamineNavigator, NavigatorNode)
void rotateCamera (const Fusion::Rotation &rot)
 Rotate the camera around an arbitrary axis.
void trackballRotateCamera (const Fusion::Vec2f &)
 Rotate camera based on virtual trackball.
void dollyCamera (float)
 Dolly camera forward and back by the given amount (world space).
void startTrackball ()
 Call this when you want to start rotation on the trackball.
void startSpinning ()
 Call this right before you want to begin spin animation (for instance, right when you start a timer that is going to call doSpin().
void stopSpinning ()
 Call this when you are done with spin animation.
void doSpin ()
 Call this every time you want a spin increment to happen.

Detailed Description

The Examine Navigator implements the Examine Navigation Model Object as defined by ref(3DNavAPI).


Constructor & Destructor Documentation

Emma::ExamineNavigator::ExamineNavigator  ) 
 

virtual Emma::ExamineNavigator::~ExamineNavigator  )  [virtual]
 


Member Function Documentation

Emma::ExamineNavigator::DECLARE_CLASS ExamineNavigator  ,
NavigatorNode 
 

void Emma::ExamineNavigator::dollyCamera float   ) 
 

Dolly camera forward and back by the given amount (world space).

void Emma::ExamineNavigator::doSpin  ) 
 

Call this every time you want a spin increment to happen.

Typically, you will do this as a Timer callback or, in Emma:

Timer { time DO { Nav:doSpin(); } }

void Emma::ExamineNavigator::rotateCamera const Fusion::Rotation rot  ) 
 

Rotate the camera around an arbitrary axis.

void Emma::ExamineNavigator::startSpinning  ) 
 

Call this right before you want to begin spin animation (for instance, right when you start a timer that is going to call doSpin().

void Emma::ExamineNavigator::startTrackball  ) 
 

Call this when you want to start rotation on the trackball.

void Emma::ExamineNavigator::stopSpinning  ) 
 

Call this when you are done with spin animation.

void Emma::ExamineNavigator::trackballRotateCamera const Fusion::Vec2f  ) 
 

Rotate camera based on virtual trackball.

The 2-vector given should be in normalized window coordinates.


The documentation for this class was generated from the following file:
Generated on Sat Apr 1 06:08:32 2006 for Emma SDK Guide by  doxygen 1.4.3