X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkStlReader.cxx;h=61ace8a2fc78b766b6b5e3831b16106746a14b81;hb=e4f703b75f7cbb14b94688c02a3b7f8c2ab1471a;hp=ae30c708a720f3ca75c9c30161ba9a45a9cce79f;hpb=65e6726aedff4ac39e4c6c9021ca9b3e9165095d;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkStlReader.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkStlReader.cxx index ae30c70..61ace8a 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkStlReader.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkStlReader.cxx @@ -16,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 @@ -28,49 +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() ); } -//===== + +//===== // 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