]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/DataObjectVisualizationQtDialog.cxx
MVC integration at 50%
[cpPlugins.git] / lib / cpPlugins / DataObjectVisualizationQtDialog.cxx
index cd6ca7662d387bcdb9f47e923fd82827f74e4bbe..7494eed3116ce07575d14644c2dde45b1f3d980a 100644 (file)
@@ -116,6 +116,7 @@ _updateWidgets( )
 void cpPlugins::DataObjectVisualizationQtDialog::
 _configureForImage( )
 {
+  /* TODO
   auto image = this->m_DataObject->GetVTK< vtkImageData >( );
   auto aIt = this->m_DataObject->BeginVTKActors( );
   if( image == NULL || aIt == this->m_DataObject->EndVTKActors( ) )
@@ -204,12 +205,14 @@ _configureForImage( )
   op_layout->addWidget( op_label );
   op_layout->addWidget( op_sld );
   this->m_ToolsLayout->addLayout( op_layout );
+*/
 }
 
 // -------------------------------------------------------------------------
 void cpPlugins::DataObjectVisualizationQtDialog::
 _configureForMesh( )
 {
+  /* TODO
   auto mesh = this->m_DataObject->GetVTK< vtkPolyData >( );
   auto aIt = this->m_DataObject->BeginVTKActors( );
   if( mesh == NULL || aIt == this->m_DataObject->EndVTKActors( ) )
@@ -305,12 +308,14 @@ _configureForMesh( )
   op_layout->addWidget( op_label );
   op_layout->addWidget( op_sld );
   this->m_ToolsLayout->addLayout( op_layout );
+*/
 }
 
 // -------------------------------------------------------------------------
 void cpPlugins::DataObjectVisualizationQtDialog::
 _setWindow( double w )
 {
+  /* TODO
   if( this->m_DataObject == NULL )
     return;
   auto aIt = this->m_DataObject->BeginVTKActors( );
@@ -326,12 +331,14 @@ _setWindow( double w )
 
   } // rof
   this->_render( );
+*/
 }
 
 // -------------------------------------------------------------------------
 void cpPlugins::DataObjectVisualizationQtDialog::
 _setLevel( double l )
 {
+  /* TODO
   if( this->m_DataObject == NULL )
     return;
   auto aIt = this->m_DataObject->BeginVTKActors( );
@@ -347,15 +354,18 @@ _setLevel( double l )
 
   } // rof
   this->_render( );
+*/
 }
 
 // -------------------------------------------------------------------------
 void cpPlugins::DataObjectVisualizationQtDialog::
 _render( )
 {
+  /* TODO
   if( this->m_DataObject == NULL )
     return;
   this->m_DataObject->RenderVTKActors( );
+*/
 }
 
 // -------------------------------------------------------------------------
@@ -450,6 +460,7 @@ _sldLevel( int v )
 void cpPlugins::DataObjectVisualizationQtDialog::
 _sldOpacity( int v )
 {
+  /* TODO
   if( this->m_DataObject == NULL )
     return;
   auto* sld = this->findChild< QSlider* >( "op_sld" );
@@ -479,6 +490,7 @@ _sldOpacity( int v )
 
   } // rof
   this->_render( );
+*/
 }
 
 // -------------------------------------------------------------------------
@@ -497,6 +509,7 @@ _boxLineWidth( int v )
 void cpPlugins::DataObjectVisualizationQtDialog::
 _scalarVisibility( int v )
 {
+  /* TODO
   if( this->m_DataObject == NULL )
     return;
   auto* btn = this->findChild< QPushButton* >( "color_button" );
@@ -529,12 +542,14 @@ _scalarVisibility( int v )
 
   } // rof
   this->_render( );
+*/
 }
 
 // -------------------------------------------------------------------------
 void cpPlugins::DataObjectVisualizationQtDialog::
 _color( )
 {
+  /* TODO
   if( this->m_DataObject == NULL )
     return;
   auto* btn = this->findChild< QPushButton* >( "color_button" );
@@ -559,6 +574,7 @@ _color( )
     this->_scalarVisibility( 0 );
 
   } // fi
+*/
 }
 
 #endif // cpPlugins_QT4