ACG::SceneGraph::QtManipulatorNode Class Reference

#include <ACG/QtScenegraph/QtManipulatorNode.hh>

Inheritance diagram for ACG::SceneGraph::QtManipulatorNode:
Inheritance graph
[legend]
Collaboration diagram for ACG::SceneGraph::QtManipulatorNode:
Collaboration graph
[legend]

List of all members.

Signals

void manipulatorMoved (QtManipulatorNode *_node, QMouseEvent *_event)
void visibilityChanged (QtManipulatorNode *_node, bool _visible)
void positionChanged (QtManipulatorNode *_node)

Public Member Functions

 QtManipulatorNode (BaseNode *_parent=0, const std::string &_name="<QtManipulatorNode>")
 Default constructor.
 ~QtManipulatorNode ()
 Destructor.
 ACG_CLASSNAME (QtManipulatorNode)
 class name
void mouseEvent (GLState &_state, QMouseEvent *_event)
 get mouse events
void setIdentifier (int _id)
 Set an identifier for that manipulator.
int getIdentifier ()
 Get an identifier for that manipulator.
void show ()
 Show node: set status to Active.
void hide ()
 Hide Node: set status to HideNode.
void rotate (double _angle, const Vec3d &_axis)
void translate (double _s)
 translate in cylinder direction
void set_center (const Vec3d &_c)
 set center

Private Attributes

int identifier_

Detailed Description

Additional overlay class for emitting signals if manipulator is moved

Definition at line 79 of file QtManipulatorNode.hh.


Member Function Documentation

void ACG::SceneGraph::QtManipulatorNode::manipulatorMoved ( QtManipulatorNode _node,
QMouseEvent *  _event 
) [signal]

This signal is emitted everytime the manipulator is moved Do not traverse Scenegraph when called by this function!!!!!!!

void ACG::SceneGraph::QtManipulatorNode::positionChanged ( QtManipulatorNode _node  )  [signal]

this signal is emited every time the position of the manipulator is changed

void ACG::SceneGraph::QtManipulatorNode::rotate ( double  _angle,
const Vec3d &  _axis 
) [inline]

Add a rotation to the current Transformation. Assume angle in degree and axis normalized

Reimplemented from ACG::SceneGraph::TransformNode.

Definition at line 128 of file QtManipulatorNode.hh.

References ACG::SceneGraph::TransformNode::rotate().

void ACG::SceneGraph::QtManipulatorNode::visibilityChanged ( QtManipulatorNode _node,
bool  _visible 
) [signal]

The visibility of this node has changed

Parameters:
_visible Is it now visible?

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

acg pic Project OpenFlipper, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .