X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FImageMPR%2FImageMPR.h;h=1b568051e9f8f5b06f76fa5a8c5698a3b1ede21e;hb=ecd4c9efbb1db3f9210699f281694dc7c32ac9de;hp=9e3f80147b18779e01a0a7e07ba3fa46b4b9c213;hpb=6df7b3a0946edcecfe55509d0b77d757d76a35ab;p=cpPlugins.git diff --git a/appli/ImageMPR/ImageMPR.h b/appli/ImageMPR/ImageMPR.h index 9e3f801..1b56805 100644 --- a/appli/ImageMPR/ImageMPR.h +++ b/appli/ImageMPR/ImageMPR.h @@ -10,13 +10,13 @@ // vtk stuff #include +#include // Plugins interface #include #include #include #include -#include // ------------------------------------------------------------------------- namespace Ui @@ -43,7 +43,7 @@ public: typedef cpPlugins::Interface::Parameters TParameters; typedef std::set< std::string > TStringContainer; - typedef cpPlugins::Extensions::Visualization::MPRWithDifferentWindows TMPR; + typedef cpExtensions::Visualization::MPRObjects TMPRObjects; public: explicit ImageMPR( QWidget* parent = 0 ); @@ -51,11 +51,11 @@ public: protected: bool _LoadPlugins( const std::string& filename ); - bool _ParametersDialog( TPluginFilter* filter ); private slots: void _triggered_actionOpenPlugins( ); void _triggered_actionOpenInputImage( ); + void _triggered_actionOpenSegmentation( ); void _triggered_actionOpenInputPolyData( ); void _triggered_actionImageToImage( ); void _triggered_actionImageToMesh( ); @@ -76,14 +76,11 @@ private: // Real data TPluginImage::Pointer m_InputImage; + TPluginImage::Pointer m_InputSegmentation; TPluginMesh::Pointer m_InputMesh; // Visualization stuff - TMPR* m_MPR; - vtkSmartPointer< vtkPolyDataMapper > m_InputMeshMapper; - vtkSmartPointer< vtkActor > m_InputMeshActor; - - QWidget* m_ParametersDlg; + vtkSmartPointer< TMPRObjects > m_MPRObjects; /* TODO vtkSmartPointer< vtkOrientationMarkerWidget > m_3DOrientationWidget;