X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkBooleanOperationPolyDataFilter.cxx;h=3e8bca33a88de30726ca28806c6162c798cb0cad;hb=a58b0ef3e9adb0fd28caeb807b7fd2c904c4363a;hp=9017e5bdcb66b9ef2683d8d05139f6fe920a18d1;hpb=dccc47ebcfa2ad7a2a6a8770f6975336897d7d06;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkBooleanOperationPolyDataFilter.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkBooleanOperationPolyDataFilter.cxx index 9017e5b..3e8bca3 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkBooleanOperationPolyDataFilter.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkBooleanOperationPolyDataFilter.cxx @@ -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); } //=====