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