53#ifndef ACG_QTMANIPULATOR_NODE_HH
54#define ACG_QTMANIPULATOR_NODE_HH
60#include "ACG/Scenegraph/ManipulatorNode.hh"
105 const std::string& _name=
"<QtManipulatorNode>" );
119 void mouseEvent(
GLState& _state, QMouseEvent* _event)
override;
127 void show() { ManipulatorNode::show(); emit visibilityChanged(
this, visible() ); };
128 void hide() { ManipulatorNode::hide(); emit visibilityChanged(
this, visible() ); };
130 void rotate(
double _angle,
const Vec3d& _axis) { TransformNode::rotate(_angle, _axis); emit positionChanged(
this ); };
132 void translate(
double _s ) { ManipulatorNode::translate(_s); emit positionChanged(
this ); };
134 void set_center(
const Vec3d& _c ) { ManipulatorNode::set_center(_c); emit positionChanged(
this ); };
ACG_CLASSNAME(QtManipulatorNode)
class name
void positionChanged(QtManipulatorNode *_node)
void manipulatorMoved(QtManipulatorNode *_node, QMouseEvent *_event)
void setIdentifier(int _id)
Set an identifier for that manipulator.
void visibilityChanged(QtManipulatorNode *_node, bool _visible)
int getIdentifier()
Get an identifier for that manipulator.
Namespace providing different geometric functions concerning angles.
void translate(const ACG::Vec3d &_vector, int _viewer)
Translate viewer pos by given vector.