Developer documentation | Axl-2.5.1

axlInteractorStyleRubberBandPick.h
Go to the documentation of this file.
1 /* axlInteractorStyleRubberBandPick.h ---
2  *
3  * Author: Meriadeg Perrinel
4  * Copyright (C) 2008 - Meriadeg Perrinel, Inria.
5  * Created: Fri Feb 18 17:25:39 2011 (+0100)
6  * Version: $Id$
7  * Last-Updated: Fri Feb 18 17:28:34 2011 (+0100)
8  * By: Meriadeg Perrinel
9  * Update #: 18
10  */
11 
12 /* Commentary:
13  *
14  */
15 
16 /* Change log:
17  *
18  */
19 
20 #ifndef AXLINTERACTORSTYLERUBBERBANDPICK_H
21 #define AXLINTERACTORSTYLERUBBERBANDPICK_H
22 
23 #include <vtkInteractorStyleRubberBandPick.h>
24 #include <vtkSmartPointer.h>
25 #include <QObject>
26 #include <QVector>
27 
28 #include "axlVtkViewPluginExport.h"
29 
30 class vtkPolyData;
31 class axlInteractorStyleRubberBandPickPrivate;
32 
33 
34 class AXLVTKVIEWPLUGIN_EXPORT axlInteractorStyleRubberBandPick : public QObject,public vtkInteractorStyleRubberBandPick
35 {
36  Q_OBJECT
37 
38 public:
40  vtkTypeMacro(axlInteractorStyleRubberBandPick,vtkInteractorStyleRubberBandPick);
41 
42  axlInteractorStyleRubberBandPick(QObject *parent= 0);
44 
45  virtual void OnLeftButtonUp();
46 
47  void SetPolyData(vtkSmartPointer<vtkPolyData> points);
48  QVector<int> ids(void);
49 
50 signals:
51  void IdsSelectedChanged(void);
52 
53 private:
54  axlInteractorStyleRubberBandPickPrivate *d;
55 
56 };
57 //vtkStandardNewMacro(axlInteractorStyleRubberBandPick);
58 
59 #endif // AXLINTERACTORSTYLERUBBERBANDPICK_H
#define AXLVTKVIEWPLUGIN_EXPORT