Developer documentation | Axl-2.5.1

axlInteractorCellPicking.h
Go to the documentation of this file.
1 /* axlInteractorCellPicking.h ---
2  *
3  * Author: Anais Ducoffe
4  * Copyright (C) 2014 - Anais Ducoffe, Inria.
5  */
6 
7 /* Commentary:
8  *
9  */
10 
11 /* Change log:
12  *
13  */
14 
15 #ifndef axlInteractorCellPicking_H
16 #define axlInteractorCellPicking_H
17 
18 #include <vtkInteractorStyleTrackballCamera.h>
19 #include <vtkPolyData.h>
20 #include <vtkSmartPointer.h>
21 #include <QtCore/QObject>
22 #include "axlVtkViewPluginExport.h"
23 
24 class axlInteractorCellPickingPrivate;
25 
26 class AXLVTKVIEWPLUGIN_EXPORT axlInteractorCellPicking :public QObject, public vtkInteractorStyleTrackballCamera
27 {
28  Q_OBJECT
29 
30 public:
31  static axlInteractorCellPicking *New();
32  vtkTypeMacro(axlInteractorCellPicking,vtkInteractorStyleTrackballCamera);
33 
34  void OnLeftButtonDown();
35 
36  void setData(vtkSmartPointer<vtkPolyData> data);
37 
38 protected:
39  axlInteractorCellPicking(QObject *parent = 0);
41 
42 private:
43  axlInteractorCellPickingPrivate *d;
44 };
45 
46 #endif // axlInteractorCellPicking_H
#define AXLVTKVIEWPLUGIN_EXPORT