]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/ActorImageProperties.h
5c555620453bb23ab838d296f05582336d406526
[cpPlugins.git] / lib / cpPlugins / ActorImageProperties.h
1 #ifndef __CPPLUGINS__ACTORIMAGEPROPERTIES__H__
2 #define __CPPLUGINS__ACTORIMAGEPROPERTIES__H__
3
4 #include <cpPlugins/ActorProperties.h>
5
6 #ifdef cpPlugins_QT4
7
8 #include <QWidget>
9
10 // -------------------------------------------------------------------------
11 namespace Ui
12 {
13   class ActorImageProperties;
14 }
15
16 // -------------------------------------------------------------------------
17 namespace cpPlugins
18 {
19   /**
20    */
21   class cpPlugins_EXPORT ActorImageProperties
22     : public ActorProperties
23   {
24     Q_OBJECT;
25
26   public:
27     explicit ActorImageProperties( QWidget* parent = 0 );
28     virtual ~ActorImageProperties( );
29
30     virtual bool addActor( vtkProp* obj ) ITK_OVERRIDE;
31
32   protected:
33     virtual void _updateWidgets( ) ITK_OVERRIDE;
34
35   protected slots:
36     void _Opacity( int v );
37     void _Window( int v );
38     void _Level( int v );
39     void _Window( double v );
40     void _Level( double v );
41     void _Interpolation( int v );
42
43   protected:
44     Ui::ActorImageProperties* m_UI;
45   };
46
47 } // ecapseman
48
49 #endif // cpPlugins_QT4
50
51 #endif // __CPPLUGINS__ACTORIMAGEPROPERTIES__H__
52
53 // eof - $RCSfile$