X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FVisualization%2FMPRObjects.h;h=71741ef17a9b3f7f38dfa7fee3fe4a509212cbd9;hb=fdd4f2cec18107de380ebd350cb1019eed7c294c;hp=39e827f978aa80069e5df264a2a16b6c4bb9bde8;hpb=2553991938011b002691361f0ed4ae95a552a686;p=cpPlugins.git diff --git a/lib/cpExtensions/Visualization/MPRObjects.h b/lib/cpExtensions/Visualization/MPRObjects.h index 39e827f..71741ef 100644 --- a/lib/cpExtensions/Visualization/MPRObjects.h +++ b/lib/cpExtensions/Visualization/MPRObjects.h @@ -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 ]; };