Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osgGA::TrackballManipulator Class Reference

Inheritance diagram for osgGA::TrackballManipulator:

Inheritance graph
[legend]
List of all members.

Public Methods

 TrackballManipulator ()
virtual ~TrackballManipulator ()
virtual void setNode (osg::Node *)
 Attach a node to the manipulator.

virtual const osg::NodegetNode () const
 Return node if attached.

virtual osg::NodegetNode ()
 Return node if attached.

virtual void home (const GUIEventAdapter &ea, GUIActionAdapter &us)
 Move the camera to the default position.

virtual void init (const GUIEventAdapter &ea, GUIActionAdapter &us)
 Start/restart the manipulator.

virtual bool handle (const GUIEventAdapter &ea, GUIActionAdapter &us)
 handle events, return true if handled, false otherwise.


Constructor & Destructor Documentation

osgGA::TrackballManipulator::TrackballManipulator  
 

virtual osgGA::TrackballManipulator::~TrackballManipulator   [virtual]
 


Member Function Documentation

virtual osg::Node* osgGA::TrackballManipulator::getNode   [virtual]
 

Return node if attached.

Reimplemented from osgGA::CameraManipulator.

virtual const osg::Node* osgGA::TrackballManipulator::getNode   const [virtual]
 

Return node if attached.

Reimplemented from osgGA::CameraManipulator.

virtual bool osgGA::TrackballManipulator::handle const GUIEventAdapter   ea,
GUIActionAdapter   us
[virtual]
 

handle events, return true if handled, false otherwise.

Reimplemented from osgGA::CameraManipulator.

virtual void osgGA::TrackballManipulator::home const GUIEventAdapter   ea,
GUIActionAdapter   us
[virtual]
 

Move the camera to the default position.

May be ignored by manipulators if home functionality is not appropriate.

Reimplemented from osgGA::CameraManipulator.

virtual void osgGA::TrackballManipulator::init const GUIEventAdapter   ea,
GUIActionAdapter   us
[virtual]
 

Start/restart the manipulator.

Reimplemented from osgGA::CameraManipulator.

virtual void osgGA::TrackballManipulator::setNode osg::Node   [virtual]
 

Attach a node to the manipulator.

Automatically detaches previously attached node. setNode(NULL) detaches previously nodes. Is ignored by manipulators which do not require a reference model.

Reimplemented from osgGA::CameraManipulator.


The documentation for this class was generated from the following file:
Generated at Wed Sep 18 13:55:49 2002 for the Open Scene Graph by doxygen 1.2.16.