24 #include <tulip/InteractorComposite.h>
25 #include <tulip/Camera.h>
29 class NodeLinkDiagramComponent;
33 class TLP_QT_SCOPE MousePanNZoomNavigator:
public InteractorComponent {
35 MousePanNZoomNavigator():cameraScaleFactor(1), isGesturing(false) {}
36 ~MousePanNZoomNavigator() {}
37 bool eventFilter(QObject *, QEvent *);
39 float cameraScaleFactor;
45 class TLP_QT_SCOPE MouseElementDeleter:
public InteractorComponent {
47 MouseElementDeleter() {}
48 ~MouseElementDeleter() {}
49 bool eventFilter(QObject *, QEvent *);
56 class TLP_QT_SCOPE MouseNKeysNavigator:
public MousePanNZoomNavigator {
58 InteractorComponent *currentSpecInteractorComponent;
62 MouseNKeysNavigator() : currentSpecInteractorComponent(NULL) {}
63 ~MouseNKeysNavigator() {}
64 bool eventFilter(QObject *, QEvent *);
71 tlp::NodeLinkDiagramComponent *nldc;
72 std::vector<tlp::Graph*> graphHierarchy;
73 std::vector<tlp::Camera> cameraHierarchy;
74 std::vector<tlp::node> nodeHierarchy;
75 std::vector<float> alphaHierarchy;