]> Creatis software - cpPlugins.git/blobdiff - appli/ImageMPR/ImageMPR.h
...
[cpPlugins.git] / appli / ImageMPR / ImageMPR.h
index 808c0ab012407e6b11a681e46b2cd0c9428de39c..ba05de9f9de5c0f88264f967132f8b1c3c93b35a 100644 (file)
@@ -9,9 +9,8 @@
 #include <QMainWindow>
 
 // vtk stuff
-#include <vtkRenderer.h>
 #include <vtkSmartPointer.h>
-#include <cpExtensions/Visualization/MPRActors.h>
+#include <cpExtensions/Visualization/MPRObjects.h>
 
 // Plugins interface
 #include <cpPlugins/Interface/Interface.h>
@@ -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 );
@@ -79,10 +78,7 @@ private:
   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;