]> Creatis software - clitk.git/blob - vv/vvToolHistogramCommand.h
Debug RTStruct conversion with empty struc
[clitk.git] / vv / vvToolHistogramCommand.h
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to: 
5   - University of LYON              http://www.universite-lyon.fr/
6   - Léon Bérard cancer center       http://www.centreleonberard.fr
7   - CREATIS CNRS laboratory         http://www.creatis.insa-lyon.fr
8
9   This software is distributed WITHOUT ANY WARRANTY; without even
10   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11   PURPOSE.  See the copyright notices for more information.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18 #ifndef __vvToolHistogramCommand_h
19 #define __vvToolHistogramCommand_h
20 #include "vtkCommand.h"
21 #include "vvSlicerManager.h"
22 #include "vvToolHistogram.h"
23 #include "vtkRenderWindow.h"
24 #include "vtkRenderer.h"
25 #include "vtkImageData.h"
26 #include "vtkImageActor.h"
27 #include "vvInteractorStyleNavigator.h"
28 #include "vtkRenderWindowInteractor.h"
29 #include "vtkInteractorStyleImage.h"
30 #include "vtkPropPicker.h"
31
32 #include <iostream>
33 #include <string>
34 #include <sstream>
35
36 class vvToolHistogramCommand : public vtkCommand
37 {
38 public:
39     static vvToolHistogramCommand *New() {
40         return new vvToolHistogramCommand;
41     }
42
43     void Execute(vtkObject *caller,
44                  unsigned long event,
45                  void *vtkNotUsed(callData));
46
47     vvToolHistogram* mHist;
48
49 protected :
50     vvToolHistogramCommand();
51     ~vvToolHistogramCommand() {}
52
53     bool mFollowMouse;
54 };
55
56 #endif