[Insight-users] drawing a line

David Doria daviddoria at gmail.com
Thu Apr 21 14:39:30 EDT 2011


2011/4/21 LaMoOsH .. <xlolla28x at hotmail.com>

>  hi,
>
> great ! it was built. I didnt create a new image, just added the pointer to
> my image .
>
> But now , i cant debug this
> it breaks on
> std::cout <<(float)iterator.Get() << std::endl;
> why?
> and I cant add image to my pipeline
> when i add it i get this error
>
> error C2039: 'SetInput' : is not a member of
> 'itk::Image<TPixel,VImageDimension>
>
> thanks
>

error C2039: 'SetInput' : is not a member of
'itk::Image<TPixel,VImageDimension>

SetInput is indeed not a member of itkImage

You have not shown us the correct line - the error is not complaining about
the call to .Get().

I suggest you look through some of the basic examples here:
http://www.vtk.org/Wiki/ITK/Examples

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110421/a38b2db9/attachment.htm>


More information about the Insight-users mailing list