<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I get some difficulties using vtkTubeFilter
:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Here is my code :</FONT></DIV>
<DIV><FONT face=Arial size=2><BR> cout <<"input of tubefilter :
number of Lines : " <<flightsPolyData->GetNumberOfLines() <<endl;
// display 9070</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> vtkTubeFilter *trajectoiresTubes =
vtkTubeFilter::New();<BR> trajectoiresTubes->SetInput(flightsPolyData);<BR> trajectoiresTubes->SetRadius(2);<BR> trajectoiresTubes->SetNumberOfSides(6);<BR> <BR> cout
<<"tubeFilter output : number of polys : "
<<trajectoiresTubes->GetOutput()->GetNumberOfPolys() <<endl;
// display 0<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Did I do something wrong ?</FONT></DIV>
<DIV><FONT face=Arial size=2>Isn't tubeFilter to draw polygonals Tubes around
lines ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I want to export result as VRML file,</FONT></DIV>
<DIV><FONT face=Arial size=2>and VRML file output is quite empty (no points
or polys).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does someone have a solution ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sebastien MARAUX</DIV></FONT></BODY></HTML>