]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkCleanExternalPlane.cxx
#2865 BBTK Feature New Normal - new option in CleanExternalPlane DimImage+2 (Type 1)
[bbtk.git] / packages / vtk / src / bbvtkCleanExternalPlane.cxx
index b6d8a6eea98b20195626935483d6cecffaf63846..aa814e29ae5a8553fa3d014fc8dd1feb90de108b 100644 (file)
@@ -140,12 +140,20 @@ void CleanExternalPlane::Process()
 //    * TYPE is the C++ type of the input/output
 //      (the one provided in the attribute 'type' of the tag 'input')
 
+// Nothing to do
+       if (bbGetInputType()==-1)
+       {
+               bbSetOutputOut( bbGetInputIn() );
+       }
+
+// Clean external planes
        if (bbGetInputType()==0)
        {
                CleanTypeA( bbGetInputIn() );
                bbSetOutputOut( bbGetInputIn() );
        }
 
+// Add new faces and clean the external planes
        if (bbGetInputType()==1)
        {
                CleanTypeB();