<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I want to add the definition of <EM>mesh:</EM></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT size=2>
<P></FONT><FONT color=#0000ff>typedef</FONT> itk::Mesh&lt;</P>
<P>vtkFloatingPointType, </P>
<P>PointDimension, </P>
<P>MeshTraits &gt; MeshType;</P></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT size=3>
<P>MeshType::Pointer mesh = MeshType::New();</P></FONT><BR><BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Christoph Palm &lt;christoph.palm@web.de&gt;<BR>To: tony hakki &lt;tony2007vtk@yahoo.com&gt;<BR>Sent: Thursday, February 22, 2007 6:56:11 PM<BR>Subject: Re: [Insight-users] Setting fixed image<BR><BR>
<DIV>Hi Tony,<BR><BR>the error message as result of the first try seems to be clear:<BR>GetOutput() is a function e.g. of a filter, not of a object like<BR>image or mesh. What happens, if you try your second suggestion?<BR>How is your mesh generated?<BR><BR>-- Christoph<BR><BR>On Thu, 2007-02-22 at 07:38 -0800, tony hakki wrote:<BR>&gt; Hello dear ITK users;<BR>&gt; I would like to set fixed image when implement a pointset to image<BR>&gt; registration.<BR>&gt; I Try like that;<BR>&gt; registrationMethod-&gt;SetFixedPointSet(mesh-&gt;GetOutput()); //mesh is itk<BR>&gt; mesh<BR>&gt; <BR>&gt;&nbsp;&nbsp;I also tried like that;<BR>&gt; <BR>&gt; registrationMethod-&gt;SetFixedPointSet(mesh);<BR>&gt; <BR>&gt;&nbsp;&nbsp;<BR>&gt; <BR>&gt; It gives that error:<BR>&gt; <BR>&gt; &gt;c:\documents and settings\aydemir\desktop\itktovtk\teste.cpp(366) :<BR>&gt; error C2039: 'GetOutput' : is not a member of<BR>&gt; 'itk::Mesh&lt;TPixelType,VDimension,TMeshTraits&gt;'<BR>&gt; <BR>&gt;
 1&gt; with<BR>&gt; <BR>&gt; 1&gt; [<BR>&gt; <BR>&gt; 1&gt; TPixelType=vtkFloatingPointType,<BR>&gt; <BR>&gt; 1&gt; VDimension=3,<BR>&gt; <BR>&gt; 1&gt; TMeshTraits=MeshTraits<BR>&gt; <BR>&gt; 1&gt; ]<BR>&gt; <BR>&gt;&nbsp;&nbsp;<BR>&gt; <BR>&gt; How Can I set fixed image using itk mesh format. I hope somebody will<BR>&gt; help me. Thank you very much<BR>&gt; <BR>&gt; Tony<BR><BR>&gt; <BR><BR><A href="http://www.chripa.de/AtWork" target=_blank>www.chripa.de/AtWork</A><BR>----</DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>

<hr size=1><a href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">Never miss an email again!<br>Yahoo! Toolbar</a> alerts you the instant new Mail arrives.<a href="
http://us.rd.yahoo.com/evt=49937/*http://tools.search.yahoo.com/toolbar/features/mail/"> Check it out.</a></body></html>