X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FImageMPR%2FImageMPR.h;h=1b568051e9f8f5b06f76fa5a8c5698a3b1ede21e;hb=ecd4c9efbb1db3f9210699f281694dc7c32ac9de;hp=808c0ab012407e6b11a681e46b2cd0c9428de39c;hpb=3b51a08c6a78ed09578f198f6a13dd769d460bef;p=cpPlugins.git diff --git a/appli/ImageMPR/ImageMPR.h b/appli/ImageMPR/ImageMPR.h index 808c0ab..1b56805 100644 --- a/appli/ImageMPR/ImageMPR.h +++ b/appli/ImageMPR/ImageMPR.h @@ -9,9 +9,8 @@ #include // vtk stuff -#include #include -#include +#include // Plugins interface #include @@ -44,7 +43,7 @@ public: typedef cpPlugins::Interface::Parameters TParameters; typedef std::set< std::string > TStringContainer; - typedef cpExtensions::Visualization::MPRActors TMPRActors; + typedef cpExtensions::Visualization::MPRObjects TMPRObjects; public: explicit ImageMPR( QWidget* parent = 0 ); @@ -56,6 +55,7 @@ protected: private slots: void _triggered_actionOpenPlugins( ); void _triggered_actionOpenInputImage( ); + void _triggered_actionOpenSegmentation( ); void _triggered_actionOpenInputPolyData( ); void _triggered_actionImageToImage( ); void _triggered_actionImageToMesh( ); @@ -76,13 +76,11 @@ private: // Real data TPluginImage::Pointer m_InputImage; + TPluginImage::Pointer m_InputSegmentation; TPluginMesh::Pointer m_InputMesh; // Visualization stuff - vtkSmartPointer< TMPRActors > m_MPRActors; - vtkSmartPointer< vtkRenderer > m_Renderers[ 4 ]; - vtkSmartPointer< vtkPolyDataMapper > m_InputMeshMapper; - vtkSmartPointer< vtkActor > m_InputMeshActor; + vtkSmartPointer< TMPRObjects > m_MPRObjects; /* TODO vtkSmartPointer< vtkOrientationMarkerWidget > m_3DOrientationWidget;