<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I tried vtkExtractEdges with a polydata and
output </FONT></DIV>
<DIV><FONT face=Arial size=2>was 0 lines 0 points 0 polys.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>here is a snippet of my code:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>//-----------------------------------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial
size=2> cout <<polyData->GetNumberOfPoints() <<"
/ " // result : 25000 /</FONT></DIV>
<DIV><FONT face=Arial size=2>
<<polyData->GetNumberOfLines() <<" /
" // result : 0 /</FONT></DIV>
<DIV><FONT face=Arial size=2>
<<polyData->GetNumberOfPolys() <<endl; //
result : 127</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2>
<DIV> vtkFeatureEdges *edgeExtracter =
vtkFeatureEdges::New();<BR> edgeExtracter->SetInput(polyData);<BR><BR> cout <<edgeExtracter->GetOutput()->GetNumberOfPoints()
<<" / " // result : 0 /</DIV>
<DIV>
<<edgeExtracter->GetOutput()->GetNumberOfLines() <<" /
" // result : 0 /</DIV>
<DIV>
<<edgeExtracter->GetOutput()->GetNumberOfPolys()
<<endl; // result :
0<BR>//---------------------------------------------------------------------------------------------------------------------------------------</DIV></FONT>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=maraux@ondim.fr href="mailto:maraux@ondim.fr">Sebastien_MARAUX</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@public.kitware.com
href="mailto:vtkusers@public.kitware.com">vtk mailing list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, July 01, 2002 3:47 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] vtkExtractEdges only
2D, how to do a projection ?</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>I needto use vtkExtractEdges on a polydata
</FONT></DIV>
<DIV><FONT face=Arial size=2>containing 3D data.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How can I make a simple projection of my data
in</FONT></DIV>
<DIV><FONT face=Arial size=2>xz plane to obtain a 2D polyData
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I assume there is a smarter way </FONT><FONT
face=Arial size=2>than</FONT></DIV>
<DIV><FONT face=Arial size=2>creating a 2D polydata and insert </FONT><FONT
face=Arial size=2>each</FONT></DIV>
<DIV><FONT face=Arial size=2>point as (x,z) couple, and then copy each
cell.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sebastien
MARAUX</FONT></DIV></BLOCKQUOTE></BODY></HTML>