]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkBooleanOperationPolyDataFilter.cxx
#3274 BooleanOperationPolyDataFilter BoxWidget ClipPolyData VoxelGrid
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkBooleanOperationPolyDataFilter.cxx
index 9017e5bdcb66b9ef2683d8d05139f6fe920a18d1..3e8bca33a88de30726ca28806c6162c798cb0cad 100644 (file)
@@ -71,8 +71,9 @@ printf("EED Warnning BooleanOperationPolyDataFilter::Process  Put this code at t
                }
                if (bbGetInputOperation()==2 )
                {
-                       booleanOperation->SetOperationToDifference();  
-               }
+                       booleanOperation->SetOperationToDifference();
+            booleanOperation->SetReorientDifferenceCells( bbGetInputReorientDifferenceCells() );
+        }
                booleanOperation->Update();
                bbSetOutputOut( booleanOperation->GetOutput() );
        } else {
@@ -90,6 +91,7 @@ void BooleanOperationPolyDataFilter::bbUserSetDefaultValues()
    bbSetInputIn1(NULL);
    bbSetInputIn2(NULL);
    bbSetInputOperation(0);
+   bbSetInputReorientDifferenceCells(true);
   
 }
 //=====