[vtkusers] vtkTubeFilterIssue, does not output anything

sebastien MARAUX maraux at ondim.fr
Tue Dec 10 04:54:30 EST 2002


I get some difficulties using vtkTubeFilter :

Here is my code :

  cout <<"input of tubefilter : number of Lines : " <<flightsPolyData->GetNumberOfLines() <<endl; // display 9070

  vtkTubeFilter *trajectoiresTubes = vtkTubeFilter::New();
  trajectoiresTubes->SetInput(flightsPolyData);
  trajectoiresTubes->SetRadius(2);
  trajectoiresTubes->SetNumberOfSides(6);
  
  cout <<"tubeFilter output : number of polys : " <<trajectoiresTubes->GetOutput()->GetNumberOfPolys() <<endl; // display 0

Did I do something wrong ?
Isn't tubeFilter to draw polygonals Tubes around lines ?

I want to export result as VRML file,
and VRML file output is quite empty (no points or polys).

Does someone have a solution ?

Thanks in advance

Sebastien MARAUX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20021210/2252e70d/attachment.htm>


More information about the vtkusers mailing list