]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/QT/SimpleMPRWidget.cxx
Start contour tracer widget debugging: change interactor style.
[cpPlugins.git] / lib / cpExtensions / QT / SimpleMPRWidget.cxx
index 80390b66bc8b5278c30d3eac6d0f556353b8a442..c2382eda40c08f1c0905e4dd1772218e242fe5cb 100644 (file)
@@ -20,6 +20,7 @@ SimpleMPRWidget( QWidget* parent, Qt::WindowFlags f )
     m_UI( new Ui::SimpleMPRWidget ),
     m_MainImageName( "" )
 {
+/*
   this->m_UI->setupUi( this );
 
   // Prepare default configuration
@@ -74,6 +75,7 @@ SimpleMPRWidget( QWidget* parent, Qt::WindowFlags f )
     this->m_UI->ConfigurationButton, SIGNAL( clicked( ) ),
     this, SLOT( _ConfigurationButton( ) )
     );
+*/
 }
 
 // -------------------------------------------------------------------------
@@ -180,6 +182,7 @@ bool cpExtensions::QT::SimpleMPRWidget::
 Add( vtkDataSet* data, const std::string& name )
 {
   bool success = true;
+/*
   auto image = dynamic_cast< vtkImageData* >( data );
   auto pdata = dynamic_cast< vtkPolyData* >( data );
 
@@ -199,6 +202,7 @@ Add( vtkDataSet* data, const std::string& name )
     this->m_3DView->Add( pdata, name );
   else
     success = false;
+*/
   return( success );
 }
 
@@ -207,6 +211,7 @@ cpExtensions::QT::SimpleMPRWidget::
 TProps cpExtensions::QT::SimpleMPRWidget::
 GetViewProps( const std::string& name ) const
 {
+/*
   auto x = this->m_XImage->GetViewProps( name );
   auto y = this->m_YImage->GetViewProps( name );
   auto z = this->m_ZImage->GetViewProps( name );
@@ -218,6 +223,7 @@ GetViewProps( const std::string& name ) const
   if( z != NULL ) props.insert( z );
   if( w != NULL ) props.insert( w );
   return( props );
+*/
 }
 
 // -------------------------------------------------------------------------
@@ -345,88 +351,100 @@ GetWRenderWindow( ) const
 void cpExtensions::QT::SimpleMPRWidget::
 GetScalarRange( double r[ 2 ] ) const
 {
-  this->m_XImage->GetScalarRange( r );
+//  this->m_XImage->GetScalarRange( r );
 }
 
 // -------------------------------------------------------------------------
 void cpExtensions::QT::SimpleMPRWidget::
 GetWindowLevel( double wl[ 2 ] ) const
 {
-  this->m_XImage->GetWindowLevel( wl );
+//  this->m_XImage->GetWindowLevel( wl );
 }
 
 // -------------------------------------------------------------------------
 double cpExtensions::QT::SimpleMPRWidget::
 GetImageOpacity( ) const
 {
-  return( this->m_XImage->GetImageOpacity( ) );
+//  return( this->m_XImage->GetImageOpacity( ) );
 }
 
 // -------------------------------------------------------------------------
 unsigned char cpExtensions::QT::SimpleMPRWidget::
 GetImageInterpolation( ) const
 {
-  return( this->m_XImage->GetImageInterpolation( ) );
+//  return( this->m_XImage->GetImageInterpolation( ) );
 }
 
 // -------------------------------------------------------------------------
 void cpExtensions::QT::SimpleMPRWidget::
 SetScalarRange( double r[ 2 ] )
 {
+/*
   this->m_XImage->SetScalarRange( r );
   this->m_YImage->SetScalarRange( r );
   this->m_ZImage->SetScalarRange( r );
   this->m_3DView->SetScalarRange( r );
+*/
 }
 
 // -------------------------------------------------------------------------
 void cpExtensions::QT::SimpleMPRWidget::
 SetWindowLevel( double wl[ 2 ] )
 {
+/*
   this->m_XImage->SetWindowLevel( wl );
   this->m_YImage->SetWindowLevel( wl );
   this->m_ZImage->SetWindowLevel( wl );
   this->m_3DView->SetWindowLevel( wl );
+*/
 }
 
 // -------------------------------------------------------------------------
 void cpExtensions::QT::SimpleMPRWidget::
 SetImageOpacity( double o )
 {
+/*
   this->m_XImage->SetImageOpacity( o );
   this->m_YImage->SetImageOpacity( o );
   this->m_ZImage->SetImageOpacity( o );
   this->m_3DView->SetImageOpacity( o );
+*/
 }
 
 // -------------------------------------------------------------------------
 void cpExtensions::QT::SimpleMPRWidget::
 SetImageInterpolation( unsigned char i )
 {
+  /*
   this->m_XImage->SetImageInterpolation( i );
   this->m_YImage->SetImageInterpolation( i );
   this->m_ZImage->SetImageInterpolation( i );
   this->m_3DView->SetImageInterpolation( i );
+*/
 }
 
 // -------------------------------------------------------------------------
 void cpExtensions::QT::SimpleMPRWidget::
 ResetCameras( )
 {
+/*
   this->m_XImage->ResetCamera( );
   this->m_YImage->ResetCamera( );
   this->m_ZImage->ResetCamera( );
   this->m_3DView->ResetCamera( );
+*/
 }
 
 // -------------------------------------------------------------------------
 void cpExtensions::QT::SimpleMPRWidget::
 Render( )
 {
+/*
   this->m_XImage->Render( );
   this->m_YImage->Render( );
   this->m_ZImage->Render( );
   this->m_3DView->Render( );
+*/
 }
 
 // -------------------------------------------------------------------------