]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Visualization/PolyLineParametricPathToPolyData.hxx
PolyLineParametricPath support added
[cpPlugins.git] / lib / cpExtensions / Visualization / PolyLineParametricPathToPolyData.hxx
index 131c32e89fe76a98ad95ae967f799707196d8889..1c1746315a9bd3c71eb978ab33006cdd143800ba 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <vtkInformation.h>
 #include <vtkInformationVector.h>
+#include <vtkSmartPointer.h>
 
 // -------------------------------------------------------------------------
 template< class _TPolyLine >
@@ -119,8 +120,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 +151,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 +165,7 @@ RequestData(
 
   } // rof
   out->SetPoints( points );
-  out->SetVerts( verts );
+  // TODO: out->SetVerts( verts );
   out->SetLines( lines );
   return( 1 );
 }