X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpExtensions%2FVisualization%2FPolyLineParametricPathToPolyData.hxx;h=e3d23c78232b2ec46eb9e19ee7f223ee19f6b5a9;hb=bbf5fdea58d522fe9385f8cb506100e062348fe6;hp=131c32e89fe76a98ad95ae967f799707196d8889;hpb=b67cad9ff3c38b4e99ac48a4852e9e94cb879c6a;p=cpPlugins.git diff --git a/lib/cpExtensions/Visualization/PolyLineParametricPathToPolyData.hxx b/lib/cpExtensions/Visualization/PolyLineParametricPathToPolyData.hxx index 131c32e..e3d23c7 100644 --- a/lib/cpExtensions/Visualization/PolyLineParametricPathToPolyData.hxx +++ b/lib/cpExtensions/Visualization/PolyLineParametricPathToPolyData.hxx @@ -1,8 +1,10 @@ #ifndef __CPEXTENSIONS__VISUALIZATION__POLYLINEPARAMETRICPATHTOPOLYDATA__HXX__ #define __CPEXTENSIONS__VISUALIZATION__POLYLINEPARAMETRICPATHTOPOLYDATA__HXX__ +#include #include #include +#include // ------------------------------------------------------------------------- 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 ); }