]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Visualization/MPRObjects.h
More widgets added
[cpPlugins.git] / lib / cpExtensions / Visualization / MPRObjects.h
index 39e827f978aa80069e5df264a2a16b6c4bb9bde8..71741ef17a9b3f7f38dfa7fee3fe4a509212cbd9 100644 (file)
@@ -19,7 +19,15 @@ namespace cpExtensions
     {
     public:
       typedef MPRObjects Self;
-      typedef cpExtensions::Visualization::MPRActors TMPRActors;
+
+      typedef MPRActors::TBaseStyle          TBaseStyle;
+      typedef MPRActors::TStyle              TStyle;
+      typedef MPRActors::TSlicesCommand      TSlicesCommand;
+      typedef MPRActors::TWindowLevelCommand TWindowLevelCommand;
+      typedef MPRActors::TMouseCommand       TMouseCommand;
+      typedef MPRActors::TMouseWheelCommand  TMouseWheelCommand;
+      typedef MPRActors::TKeyCommand         TKeyCommand;
+      typedef MPRActors::TVoidCommand        TVoidCommand;
 
     public:
       vtkTypeMacro( MPRObjects, vtkObject );
@@ -48,8 +56,11 @@ namespace cpExtensions
       const vtkRenderer* GetZRenderer( ) const;
       const vtkRenderer* Get3DRenderer( ) const;
 
-      TMPRActors* GetMPRActors( );
-      const TMPRActors* GetMPRActors( ) const;
+      MPRActors* GetMPRActors( );
+      const MPRActors* GetMPRActors( ) const;
+
+      double GetWindow( ) const;
+      double GetLevel( ) const;
 
     protected:
       MPRObjects( );
@@ -65,7 +76,7 @@ namespace cpExtensions
       vtkSmartPointer< vtkRenderWindow > m_Windows[ 4 ];
 
       // Internal pipelines
-      vtkSmartPointer< TMPRActors >  m_MPRActors;
+      vtkSmartPointer< MPRActors >   m_MPRActors;
       vtkSmartPointer< vtkRenderer > m_Renderers[ 4 ];
     };