// vtk stuff
#include <vtkSmartPointer.h>
+#include <cpExtensions/Visualization/MPRObjects.h>
// Plugins interface
#include <cpPlugins/Interface/Interface.h>
#include <cpPlugins/Interface/ProcessObject.h>
#include <cpPlugins/Interface/Image.h>
#include <cpPlugins/Interface/Mesh.h>
-#include <cpExtensions/Visualization/MPRWithDifferentWindows.h>
// -------------------------------------------------------------------------
namespace Ui
typedef cpPlugins::Interface::Parameters TParameters;
typedef std::set< std::string > TStringContainer;
- typedef cpExtensions::Visualization::MPRWithDifferentWindows TMPR;
+ typedef cpExtensions::Visualization::MPRObjects TMPRObjects;
public:
explicit ImageMPR( QWidget* parent = 0 );
private slots:
void _triggered_actionOpenPlugins( );
void _triggered_actionOpenInputImage( );
+ void _triggered_actionOpenSegmentation( );
void _triggered_actionOpenInputPolyData( );
void _triggered_actionImageToImage( );
void _triggered_actionImageToMesh( );
// 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;
+ vtkSmartPointer< TMPRObjects > m_MPRObjects;
/* TODO
vtkSmartPointer< vtkOrientationMarkerWidget > m_3DOrientationWidget;