]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Visualization/PolyLineParametricPathToPolyData.hxx
...
[cpPlugins.git] / lib / cpExtensions / Visualization / PolyLineParametricPathToPolyData.hxx
index 131c32e89fe76a98ad95ae967f799707196d8889..e3d23c78232b2ec46eb9e19ee7f223ee19f6b5a9 100644 (file)
@@ -1,8 +1,10 @@
 #ifndef __CPEXTENSIONS__VISUALIZATION__POLYLINEPARAMETRICPATHTOPOLYDATA__HXX__
 #define __CPEXTENSIONS__VISUALIZATION__POLYLINEPARAMETRICPATHTOPOLYDATA__HXX__
 
+#include <vtkCellArray.h>
 #include <vtkInformation.h>
 #include <vtkInformationVector.h>
+#include <vtkSmartPointer.h>
 
 // -------------------------------------------------------------------------
 template< class _TPolyLine >
@@ -119,8 +121,10 @@ RequestData(
   points->SetNumberOfPoints( lst->Size( ) );
 
   // Prepare cells
-  vtkSmartPointer< vtkCellArray > verts =
-    vtkSmartPointer< vtkCellArray >::New( );
+  /* TODO
+     vtkSmartPointer< vtkCellArray > verts =
+     vtkSmartPointer< vtkCellArray >::New( );
+  */
   vtkSmartPointer< vtkCellArray > lines =
     vtkSmartPointer< vtkCellArray >::New( );
 
@@ -148,8 +152,10 @@ RequestData(
         points->SetPoint( i, idx[ 0 ], idx[ 1 ], idx[ 2 ] );
 
     } // fi
-    verts->InsertNextCell( 1 );
-    verts->InsertCellPoint( i );
+    /* TODO
+       verts->InsertNextCell( 1 );
+       verts->InsertCellPoint( i );
+    */
     if( i > 0 )
     {
       lines->InsertNextCell( 2 );
@@ -160,7 +166,7 @@ RequestData(
 
   } // rof
   out->SetPoints( points );
-  out->SetVerts( verts );
+  // TODO: out->SetVerts( verts );
   out->SetLines( lines );
   return( 1 );
 }