]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkStreamLineNumeration.cxx
#2453 creaVtk Feature New Normal - Stream Lines segmentation by Scalars
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkStreamLineNumeration.cxx
index f15352e0e7764cc1a25ac898d8dec08f9aad9968..578b30c936eb98dfa40b817ca9c758c98fbf009c 100644 (file)
@@ -10,8 +10,6 @@
 #include <vtkPolyData.h>
 #include "vtkIdList.h"
 
-
-
 namespace bbcreaVtk
 {
 
@@ -35,15 +33,11 @@ void StreamLineNumeration::Process()
 //    * TYPE is the C++ type of the input/output
 //      (the one provided in the attribute 'type' of the tag 'input')
 
-//    bbSetOutputOut( bbGetInputIn() );
-//    std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
-
-
        std::string namascalararray="creaNumeration";
 
        if (bbGetInputStreamLinesIn()!=NULL)
        {
-               vtkIdList *_vtkidlist = vtkIdList::New();
+               vtkIdList               *_vtkidlist             = vtkIdList::New();
                vtkCellArray    *vtkcellarray           = bbGetInputStreamLinesIn()->GetLines();
                long int                nLinesCell                      = vtkcellarray->GetNumberOfCells(); 
                long int                ii,iLine;
@@ -70,8 +64,9 @@ void StreamLineNumeration::Process()
 
        bbSetOutputStreamLinesOut( bbGetInputStreamLinesIn() );
        bbSetOutputNameOfScalarArray( namascalararray );
-  
+    
 }
+
 //===== 
 // 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)
 //=====