X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FVisualization%2FMPRObjects.h;h=7d33f3f0698dd6e0b483beb7ba852705075d541e;hb=f2f39f66027a98bd8dac50bade5618e0136bbefa;hp=a348e91513d15c4379091677f4621ee48f3041f1;hpb=1d735deae0ae5e8bff643a59370a03c961ef780c;p=cpPlugins.git diff --git a/lib/cpExtensions/Visualization/MPRObjects.h b/lib/cpExtensions/Visualization/MPRObjects.h index a348e91..7d33f3f 100644 --- a/lib/cpExtensions/Visualization/MPRObjects.h +++ b/lib/cpExtensions/Visualization/MPRObjects.h @@ -3,7 +3,6 @@ #include #include -#include #include #include @@ -20,8 +19,7 @@ namespace cpExtensions { public: typedef MPRObjects Self; - typedef cpExtensions::Visualization::MPRActors TMPRActors; - typedef cpExtensions::Visualization::ImageInteractorStyle TStyle; + typedef cpExtensions::Visualization::MPRActors TMPRActors; public: vtkTypeMacro( MPRObjects, vtkObject ); @@ -35,6 +33,7 @@ namespace cpExtensions vtkRenderWindow* wz, vtkRenderWindow* w3D ); void SetImage( vtkImageData* image ); + void AddAuxiliaryImage( vtkImageData* image ); void ActivateInteractors( ); void ResetCamera( const int& id ); @@ -50,6 +49,9 @@ namespace cpExtensions const vtkRenderer* GetZRenderer( ) const; const vtkRenderer* Get3DRenderer( ) const; + TMPRActors* GetMPRActors( ); + const TMPRActors* GetMPRActors( ) const; + protected: MPRObjects( ); virtual ~MPRObjects( ); @@ -66,7 +68,6 @@ namespace cpExtensions // Internal pipelines vtkSmartPointer< TMPRActors > m_MPRActors; vtkSmartPointer< vtkRenderer > m_Renderers[ 4 ]; - vtkSmartPointer< TStyle > m_Styles[ 3 ]; }; } // ecapseman