<!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.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff background="">
<DIV>
<P><FONT color=#808080>try this</FONT></P>
<P><FONT color=#808080></FONT> </P>
<P><FONT color=#808080>del2 is vtkDelaunay2D</FONT></P>
<P><FONT color=#808080>cf is vtkBandedContourfilter</FONT></P>
<P><FONT color=#808080>mapCelltop is vtkPolydataMapper</FONT></P>
<P> </P>
<P><FONT color=#808080>cf</FONT>-><FONT color=#880000>SetInput</FONT>(<FONT
color=#808080>del2</FONT>-><FONT color=#880000>GetOutput</FONT>());</P>
<P><FONT color=#808080>cf</FONT>-><FONT
color=#880000>SetScalarModeToValue</FONT>();</P>
<P></P>
<P><FONT color=#808080>cf</FONT>-><FONT
color=#880000>GenerateValues</FONT>(20, <FONT color=#808080>lpRange</FONT>);</P>
<P></P>
<P><FONT color=#808080>mapCellTop</FONT>-><FONT
color=#880000>SetInput</FONT>(<FONT color=#808080>cf</FONT>-><FONT
color=#880000>GetOutput</FONT>());</P></DIV>
<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=qin_in_usa@hotmail.com href="mailto:qin_in_usa@hotmail.com">qin
zeng</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@public.kitware.com
href="mailto:vtkusers@public.kitware.com">vtkusers@public.kitware.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 03, 2003 12:14
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] The result of
vtkDelaunay2D ?</DIV>
<DIV><BR></DIV>
<DIV><FONT face=宋体 size=2>I pass polydata through
vtkDelaunay2D.</FONT></DIV>
<DIV><FONT face=宋体 size=2>for Output polydata: numofcell = 20592</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>But the picture look like:</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2><IMG alt="" hspace=0
src="cid:007101c3b97a$08a9a4b0$c50aa8c0@deepthroat" align=baseline
border=0> </FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>if i use vtkOutlineFilter,</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2>the result is : (Just a rectangle).
<STRONG><FONT color=#ff0000>So where ARE MY 20592
cells???</FONT></STRONG></FONT></DIV>
<DIV><FONT face=宋体 color=#ff0000 size=2><STRONG></STRONG></FONT> </DIV>
<DIV><IMG alt="" hspace=0 src="cid:007201c3b97a$08a9a4b0$c50aa8c0@deepthroat"
align=baseline border=0></DIV></BLOCKQUOTE></BODY></HTML>