]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkCutter.cxx
#3493 MeshManager
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkCutter.cxx
index 82651c6971d86dafb2feb110795b039d3f519fbc..826d759336ef5e5f24c2d7d21f95299f8ce9b0c5 100644 (file)
@@ -33,7 +33,8 @@ void Cutter::Process()
   //  See example in:
   //  https://kitware.github.io/vtk-examples/site/Cxx/VisualizationAlgorithms/Cutter/
   
-    if (bbGetInputIn()!=NULL)
+    printf("EED Cutter::Process start this=%p   ImFu=%p \n ", this, bbGetInputImplicitFunction() );
+    if ( (bbGetInputActive()==true) && (bbGetInputIn()!=NULL) )
     {
         vtkCutter *cutter;
         cutter = vtkCutter::New();
@@ -44,6 +45,8 @@ void Cutter::Process()
     } else {
         bbSetOutputOut( NULL );
     }
+    
+    printf("EED Cutter::Process end\n ");
 }
 //===== 
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
@@ -53,6 +56,7 @@ void Cutter::bbUserSetDefaultValues()
 //  SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX 
 //    Here we initialize the input 'In' to 0
 //   bbSetInputIn(NULL);
+    bbSetInputActive( true );
     bbSetOutputOut( NULL );
 }
 //=====