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