]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkStlReader.cxx
#3526 Active option in HausdorffDistancePointSetFilter box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkStlReader.cxx
index 52bcb5bb8dbe02dda9b005b2864d410811a17e51..61ace8a2fc78b766b6b5e3831b16106746a14b81 100644 (file)
@@ -5,7 +5,6 @@
 #include "bbcreaVtkPackage.h"
 
 #include "vtkSTLReader.h"
-#include "vtkFillHolesFilter.h"
 
 namespace bbcreaVtk
 {
@@ -17,7 +16,6 @@ BBTK_BLACK_BOX_IMPLEMENTATION(StlReader,bbtk::AtomicBlackBox);
 //===== 
 void StlReader::Process()
 {
-
 // THE MAIN PROCESSING METHOD BODY
 //   Here we simply set the input 'In' value to the output 'Out'
 //   And print out the output value
@@ -29,57 +27,44 @@ void StlReader::Process()
 //      (the one provided in the attribute 'name' of the tag 'input')
 //    * TYPE is the C++ type of the input/output
 //      (the one provided in the attribute 'type' of the tag 'input')
-
        vtkSTLReader *reader = vtkSTLReader::New();
        reader->SetFileName( bbGetInputFileName().c_str() );  
        reader->Update();
        bbSetOutputOut( reader->GetOutput() );
-
-/*     
-       vtkFillHolesFilter *filler  = vtkFillHolesFilter::New();
-    filler->SetInputData( reader->GetOutput() );
-    filler->SetHoleSize(500);
-    filler->Update();
-       bbSetOutputOut( filler->GetOutput() );
-  */  
 }
-//===== 
+
+//=====
 // 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)
 //===== 
 void StlReader::bbUserSetDefaultValues()
 {
-
 //  SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX 
 //    Here we initialize the input 'In' to 0
    bbSetOutputOut(NULL);
-  
 }
-//===== 
+
+//=====
 // 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)
 //===== 
 void StlReader::bbUserInitializeProcessing()
 {
-
 //  THE INITIALIZATION METHOD BODY :
 //    Here does nothing 
 //    but this is where you should allocate the internal/output pointers 
-//    if any 
-
-  
+//    if any
 }
-//===== 
+
+//=====
 // 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)
 //===== 
 void StlReader::bbUserFinalizeProcessing()
 {
-
 //  THE FINALIZATION METHOD BODY :
 //    Here does nothing 
 //    but this is where you should desallocate the internal/output pointers 
 //    if any
-  
 }
-}
-// EO namespace bbcreaVtk
+
+}// EO namespace bbcreaVtk