<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi.</DIV>
<DIV>I forget a very important something.<IMG src="http://mail.yimg.com/us.yimg.com/i/mesg/tsmileys2/01.gif"></DIV>
<DIV>Before the line:</DIV>
<DIV>vtkDataArray *array = myPolyData-&gt;GetPoints()-&gt;GetData();</DIV>
<DIV>&nbsp;</DIV>
<DIV>So, i have this</DIV>
<DIV>vtkCurvatures *curve = vtkCurvatures::New();<BR>curve-&gt;SetInput(polydata);<BR>curve-&gt;SetCurvatureTypeToMaximum();<BR>&nbsp;<BR>vtkPolyData *myPolyData = vtkPolyData::New();<BR>myPolyData&nbsp;= curve-&gt;GetOutput();<BR></DIV>
<DIV>vtkDataArray *array = myPolyData-&gt;GetPoints()-&gt;GetData();</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>--- En date de&nbsp;: <B>Dim 26.10.08, B. C. <I>&lt;butterfly.1688@yahoo.fr&gt;</I></B> a écrit&nbsp;:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">De: B. C. &lt;butterfly.1688@yahoo.fr&gt;<BR>Objet: [vtkusers] Bug at 'GetData()' function<BR>À: vtkusers@vtk.org<BR>Date: Dimanche 26 Octobre 2008, 19h03<BR><BR>
<DIV id=yiv1793573857>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>
<DIV>Hi again.</DIV>
<DIV>Please can someone tell me what the function 'GetData()' returns in this case?</DIV>
<DIV>vtkDataArray *array = myPolyData-&gt;GetPoints()-&gt;GetData();</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have this line in my code and no errors are generated. But, when running the program, i have the bug and the cursor is at this line.</DIV></TD></TR></TBODY></TABLE><BR></DIV><PRE>_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
</PRE></BLOCKQUOTE></td></tr></table><br>