24 #include <tulip/InteractorComposite.h> 25 #include <tulip/Camera.h> 26 #include <tulip/GlScene.h> 30 class NodeLinkDiagramComponent;
34 class TLP_QT_SCOPE MousePanNZoomNavigator:
public InteractorComponent {
36 MousePanNZoomNavigator():cameraScaleFactor(1), isGesturing(false) {}
37 ~MousePanNZoomNavigator() {}
38 bool eventFilter(QObject *, QEvent *);
40 float cameraScaleFactor;
46 class TLP_QT_SCOPE MouseElementDeleter:
public InteractorComponent {
48 MouseElementDeleter() :glMainWidget(NULL) {}
49 ~MouseElementDeleter() {}
50 bool eventFilter(QObject *, QEvent *);
54 GlMainWidget* glMainWidget;
60 class TLP_QT_SCOPE MouseNKeysNavigator:
public MousePanNZoomNavigator {
62 InteractorComponent *currentSpecInteractorComponent;
66 MouseNKeysNavigator() : currentSpecInteractorComponent(NULL), nldc(NULL) {}
67 ~MouseNKeysNavigator() {}
68 bool eventFilter(QObject *, QEvent *);
75 tlp::NodeLinkDiagramComponent *nldc;
76 std::vector<tlp::Graph*> graphHierarchy;
77 std::vector<tlp::Camera> cameraHierarchy;
78 std::vector<tlp::node> nodeHierarchy;
79 std::vector<float> alphaHierarchy;
View plugins provide a way to dynamically add to a Tulip plateform various ways to visualize a graph...
Structure to store selected entities.