]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/QT/MPRInteractionCommand.cxx
Start contour tracer widget debugging: change interactor style.
[cpPlugins.git] / lib / cpExtensions / QT / MPRInteractionCommand.cxx
index bc3b1a56d53556b351e0a61d62ebeabbefba43bc..b65266fbf5280f794c398ce53c5d3bb738ab4273 100644 (file)
@@ -20,21 +20,24 @@ New( )
 void cpExtensions::QT::MPRInteractionCommand::
 AddWidget( QWidget* w )
 {
-  typedef cpExtensions::QT::ImageWidget _TImageWidget;
-  typedef cpExtensions::QT::MPR3DWidget _TMPR3DWidget;
+  /*
+    typedef cpExtensions::QT::ImageWidget _TImageWidget;
+    typedef cpExtensions::QT::MPR3DWidget _TMPR3DWidget;
 
-  auto img = dynamic_cast< _TImageWidget* >( w );
-  auto ren = dynamic_cast< _TMPR3DWidget* >( w );
-  if( img != NULL )
+    auto img = dynamic_cast< _TImageWidget* >( w );
+    auto ren = dynamic_cast< _TMPR3DWidget* >( w );
+    if( img != NULL )
     this->m_ImageWidgets.insert( img );
-  else if( ren != NULL )
+    else if( ren != NULL )
     this->m_MPR3DWidgets.insert( ren );
+  */
 }
 
 // -------------------------------------------------------------------------
 void cpExtensions::QT::MPRInteractionCommand::
 Execute( vtkObject* caller, unsigned long evId, void* data )
 {
+  /*
   typedef cpExtensions::Interaction::ImageSliceStyle _TStyle;
 
   static const unsigned long _SuperCursor = vtkCommand::UserEvent + 1;
@@ -80,6 +83,7 @@ Execute( vtkObject* caller, unsigned long evId, void* data )
       ( *r )->SetSliceNumber( ori, slice );
     
   } // fi
+  */
 }
       
 // -------------------------------------------------------------------------