<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<BR> Hi<BR>
<BR>
i still dont know how can i fix this error. why does it crash? memory?<BR>
<BR>
Access violation reading location 0x000002d8.<BR>
<BR>
on this line <BR>
<BR><FONT size=2>
std::cout <<(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>float</FONT></FONT><FONT size=2>)iterator.Get() << std::endl;<BR>
</FONT> <BR>
Thanks. <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 built without errors, but when i run it, it breaks on the Get. line. <BR> <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><<A href="mailto:xlolla28x@hotmail.com">xlolla28x@hotmail.com</A>></SPAN><BR>
<BLOCKQUOTE class=ecxgmail_quote style="PADDING-LEFT: 1ex; BORDER-LEFT: #ccc 1px solid">
<DIV>hi, <BR> <BR>great ! it was built. I didnt create a new image, just added the pointer to my image .<BR> <BR>But now , i cant debug this <BR>it breaks on <BR><FONT size=2>std::cout <<(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>float</FONT></FONT><FONT size=2>)iterator.Get() << std::endl;<BR></FONT>why?<BR>and I cant add image to my pipeline <BR>when i add it i get this error <BR> <BR><FONT size=1><FONT size=2>error C2039: 'SetInput' : is not a member of 'itk::Image<TPixel,VImageDimension></FONT><BR><FONT size=2></FONT> <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<TPixel,VImageDimension></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>