--- /dev/null
+#ifndef __cpExtensions__QT__MPR3DWidget__h__
+#define __cpExtensions__QT__MPR3DWidget__h__
+
+#include <cpExtensions/QT/RendererWidget.h>
+
+#ifdef cpExtensions_QT4
+
+// -------------------------------------------------------------------------
+class vtkDataSet;
+
+// -------------------------------------------------------------------------
+namespace cpExtensions
+{
+ namespace Visualization { class MPR3DActors; }
+
+ namespace QT
+ {
+ /**
+ */
+ class cpExtensions_EXPORT MPR3DWidget
+ : public cpExtensions::QT::RendererWidget
+ {
+ Q_OBJECT;
+
+ public:
+ typedef MPR3DWidget Self;
+ typedef cpExtensions::QT::RendererWidget Superclass;
+
+ public:
+ explicit MPR3DWidget( QWidget* parent = NULL, Qt::WindowFlags f = 0 );
+ virtual ~MPR3DWidget( );
+
+ void SetImage( vtkImageData* image, const std::string& name );
+ void Add( vtkDataSet* data, const std::string& name );
+
+ void SetSliceNumber( int orientation, int slice );
+ void SetSlicesNumbers( int x, int y, int z );
+
+ void SetScalarRange( double r[ 2 ] );
+ void SetWindowLevel( double wl[ 2 ] );
+ void SetImageOpacity( double o );
+ void SetImageInterpolation( unsigned char i );
+
+ protected:
+ vtkSmartPointer< cpExtensions::Visualization::MPR3DActors > m_Actors;
+ std::string m_ImageName;
+ };
+
+ } // ecapseman
+
+} // ecapseman
+
+#endif // cpExtensions_QT4
+
+#endif // __cpExtensions__QT__MPR3DWidget__h__
+
+// eof - $RCSfile$