AnimatLab  2
VortexAnimatSim::Visualization::VsCameraManipulator Class Reference
+ Inheritance diagram for VortexAnimatSim::Visualization::VsCameraManipulator:
+ Collaboration diagram for VortexAnimatSim::Visualization::VsCameraManipulator:

Public Member Functions

 VsCameraManipulator (Simulator *lpSim, osgViewer::Viewer *osgViewer, osg::Viewport *osgViewport=NULL)
virtual bool handle (const GUIEventAdapter &ea, GUIActionAdapter &us)

Protected Member Functions

bool CanDoMouseSpring ()
osg::Vec3 ConvertMouseTo3D (const GUIEventAdapter &ea, int x, int y, osg::Vec3 vGrabPos)
bool DoMouseSpring (const GUIEventAdapter &ea, float x, float y)
void DoPan (const GUIEventAdapter &ea, float x, float y)
void DoRotate (const GUIEventAdapter &ea, float x, float y)
void DoZoom (const GUIEventAdapter &ea, float x, float y)
void pick (const osgGA::GUIEventAdapter &ea, GUIActionAdapter &aa)
float tb_project_to_sphere (float r, float x, float y)

Detailed Description

Definition at line 8 of file VsCameraManipulator.h.

Member Function Documentation

bool VortexAnimatSim::Visualization::VsCameraManipulator::handle ( const GUIEventAdapter &  ea,
GUIActionAdapter &  us 

Handle events, return true if handled, false otherwise.

Definition at line 46 of file VsCameraManipulator.cpp.

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