1 #ifndef __CPPLUGINS__EXTENSIONS__VISUALIZATION__MPRWITHDIFFERENTWINDOWS__H__
2 #define __CPPLUGINS__EXTENSIONS__VISUALIZATION__MPRWITHDIFFERENTWINDOWS__H__
4 #include <cpPlugins/Extensions/Visualization/MPRActors.h>
5 #include <cpPlugins/Extensions/Visualization/ImageInteractorStyle.h>
7 #include <vtkImageData.h>
8 #include <vtkRenderer.h>
9 #include <vtkRenderWindow.h>
10 #include <vtkSmartPointer.h>
16 namespace Visualization
20 class MPRWithDifferentWindows
23 typedef cpPlugins::Extensions::Visualization::
25 typedef cpPlugins::Extensions::Visualization::
26 ImageInteractorStyle TStyle;
29 MPRWithDifferentWindows(
30 vtkRenderWindow* xWin = NULL,
31 vtkRenderWindow* yWin = NULL,
32 vtkRenderWindow* zWin = NULL,
33 vtkRenderWindow* auxWin = NULL
35 virtual ~MPRWithDifferentWindows( );
37 void SetImage( vtkImageData* image );
39 void ResetCamera( const int& id );
41 void Render( const int& id );
46 vtkRenderWindow* m_Windows[ 4 ];
49 vtkSmartPointer< TMPRActors > m_MPRActors;
50 vtkSmartPointer< vtkRenderer > m_Renderers[ 4 ];
51 vtkSmartPointer< TStyle > m_Styles[ 3 ];
60 #endif // __CPPLUGINS__EXTENSIONS__VISUALIZATION__MPRWITHDIFFERENTWINDOWS__H__