<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<BR>&nbsp;Hi<BR>
&nbsp;<BR>
i still dont know how can i fix&nbsp;this error.&nbsp;why does it crash? memory?<BR>
&nbsp;<BR>
Access violation reading location 0x000002d8.<BR>
&nbsp;<BR>
on this line <BR>
&nbsp;<BR><FONT size=2>
std::cout &lt;&lt;(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>float</FONT></FONT><FONT size=2>)iterator.Get() &lt;&lt; std::endl;<BR>
</FONT>&nbsp;<BR>
Thanks. &nbsp;<BR>

<HR id=stopSpelling>
From: xlolla28x@hotmail.com<BR>To: daviddoria@gmail.com<BR>Date: Thu, 21 Apr 2011 19:16:31 +0000<BR>CC: insight-users@itk.org<BR>Subject: Re: [Insight-users] drawing a line<BR><BR>
<META content="Microsoft SafeHTML" name=Generator>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</STYLE>
sorry about this, <BR>i get this error when i add th eiterator to my pipeline. <BR>if I dont add it, it&nbsp;built without errors, but when i run it, it breaks on the Get. line. <BR>&nbsp;<BR>
<HR id=ecxstopSpelling>
Date: Thu, 21 Apr 2011 14:39:30 -0400<BR>Subject: Re: [Insight-users] drawing a line<BR>From: daviddoria@gmail.com<BR>To: xlolla28x@hotmail.com<BR>CC: insight-users@itk.org<BR><BR>
<DIV class=ecxgmail_quote>2011/4/21 LaMoOsH .. <SPAN dir=ltr>&lt;<A href="mailto:xlolla28x@hotmail.com">xlolla28x@hotmail.com</A>&gt;</SPAN><BR>
<BLOCKQUOTE class=ecxgmail_quote style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid">
<DIV>hi, <BR>&nbsp;<BR>great ! it was built. I didnt create a new image, just added the pointer to my&nbsp;image .<BR>&nbsp;<BR>But now , i cant debug this <BR>it breaks on <BR><FONT size=2>std::cout &lt;&lt;(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>float</FONT></FONT><FONT size=2>)iterator.Get() &lt;&lt; std::endl;<BR></FONT>why?<BR>and&nbsp;I cant add&nbsp;image to my pipeline <BR>when i add&nbsp;it i get this error <BR>&nbsp;<BR><FONT size=1><FONT size=2>error C2039: 'SetInput' : is not a member of 'itk::Image&lt;TPixel,VImageDimension&gt;</FONT><BR><FONT size=2></FONT>&nbsp;<BR><FONT size=2>thanks</FONT></FONT></DIV></BLOCKQUOTE>
<DIV><BR><FONT size=1><FONT size=2>error C2039: 'SetInput' : is not a member of 'itk::Image&lt;TPixel,VImageDimension&gt;</FONT></FONT><BR><BR>SetInput is indeed not a member of itkImage<BR><BR>You have not shown us the correct line - the error is not complaining about the call to .Get().<BR><BR>I suggest you look through some of the basic examples here:<BR clear=all><A href="http://www.vtk.org/Wiki/ITK/Examples" target=_blank>http://www.vtk.org/Wiki/ITK/Examples</A><BR><BR>David<BR></DIV></DIV><BR>_____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.html Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://www.itk.org/mailman/listinfo/insight-users                                               </body>
</html>