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