<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">Hi Luis;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">my project includes many headers which are created before by my friend. The error is so strange ,I met an error before what I have met now,it was a variable overlapping problem ,one variable,X,is defined as zero, in another header file. So it was overlapping with X variable from VTK's original header&nbsp;file.</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT size=2>
<P>TriangleCellType * tcell = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> TriangleCellType; //<FONT color=#ff0000>when I added that line it was giving error which reason was overlapping. I have already solved that</FONT></P></FONT></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;&nbsp;I solved first problem by putting at the beginning of my codes :</DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT color=#0000ff size=2>&nbsp;</DIV>
<P style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">#undef</FONT><FONT size=2> X</P></FONT><FONT color=#0000ff size=2>
<P style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">#define</FONT><FONT size=2> X 0</FONT></P>
<P style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT size=2>&nbsp;</P></FONT>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">&nbsp;But Now&nbsp; I met one of same error when I add that line</DIV><FONT size=2>
<P style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">ResampleFilterType::Pointer resampler = ResampleFilterType::New();</P>
<P></FONT>&nbsp;</P>
<P>This gives 35 Errors and I haven't found which variable is reason of it.</P>
<P><FONT color=#ff0000>this is the first error of 35: <FONT size=2></P></FONT></FONT><FONT size=1>
<P><FONT size=2>c:\programme\itk\itk-src-windows\code\common\itkimagetoimagefilter.h(90) : error C2039: 'ImageDimension' : is not a member of 'itk::PointSet&lt;TPixelType,VDimension,TMeshTraits&gt;'</FONT></P>
<P><FONT size=2>1&gt; with</FONT></P>
<P><FONT size=2>1&gt; [</FONT></P>
<P><FONT size=2>1&gt; TPixelType=float,</FONT></P>
<P><FONT size=2>1&gt; VDimension=3,</FONT></P>
<P><FONT size=2>1&gt; TMeshTraits=itk::DefaultStaticMeshTraits&lt;float,3,3&gt;</FONT></P>
<P><FONT size=2>1&gt; ]</FONT></P>
<P><FONT size=2>1&gt; c:\programme\itk\itk-src-windows\code\basicfilters\itkresampleimagefilter.h(74) : see reference to class template instantiation 'itk::ImageToImageFilter&lt;TInputImage,TOutputImage&gt;' being compiled</FONT></P>
<P><FONT size=2>1&gt; with</FONT></P>
<P><FONT size=2>1&gt; [</FONT></P>
<P><FONT size=2>1&gt; TInputImage=MovingImageType,</FONT></P>
<P><FONT size=2>1&gt; TOutputImage=FixedPointSetType</FONT></P>
<P><FONT size=2>1&gt; ]</FONT></P></FONT>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT color=#ff0000>When I clicked on 'ImageDimension' right of mouse then I click Go to location &nbsp;It goes "itkImageToImageFilter.h" and&nbsp; shows that line :</FONT><FONT size=2>
<P>itkStaticConstMacro(OutputImageDimension, </FONT><FONT color=#0000ff size=2>unsigned</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>int</FONT><FONT size=2>,</P>
<P>TOutputImage::ImageDimension); </FONT><BR></P>
<P>&nbsp;</P>
<P><BR>&nbsp;</P></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Luis Ibanez &lt;luis.ibanez@kitware.com&gt;<BR>To: tony hakki &lt;tony2007vtk@yahoo.com&gt;<BR>Cc: insight-users@itk.org<BR>Sent: Wednesday, January 31, 2007 12:30:09 AM<BR>Subject: Re: [Insight-users] instead of ResampleImageFilter (please urgent help)<BR><BR>
<DIV>Hi Tony,<BR><BR>What exactly was the error that you encountered ?<BR><BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;Thanks<BR><BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Luis<BR><BR><BR>------------------------<BR>tony hakki wrote:<BR>&gt; I made a registration one is stl data and the other is .raw&nbsp;&nbsp;extension <BR>&gt; 3D data<BR>&gt; <BR>&gt; ----- Original Message ----<BR>&gt; From: tony hakki &lt;tony2007vtk@yahoo.com&gt;<BR>&gt; To: insight-users@itk.org<BR>&gt; Sent: Tuesday, January 30, 2007 4:53:56 PM<BR>&gt; Subject: instead of ResampleImageFilter (please urgent help)<BR>&gt; <BR>&gt; Hi all;<BR>&gt; I met a strange error when I use ResampleImageFilter, I just want to use <BR>&gt; another resampling filter instead of ResampleImageFilter. Is there <BR>&gt; anyone who knows if there is another class instead of this.<BR>&gt;&nbsp;&nbsp;<BR>&gt; Thank you<BR>&gt; Tony<BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; Don't
 pick lemons.<BR>&gt; See all the new 2007 cars <BR>&gt; &lt;<A href="http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw" target=_blank>http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw</A>--&gt; <BR>&gt; at Yahoo! Autos. <BR>&gt; &lt;<A href="http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw" target=_blank>http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw</A>--&gt;<BR>&gt; <BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; Now that's room service! Choose from over 150,000 hotels<BR>&gt; in 45,000 destinations on Yahoo! Travel <BR>&gt; &lt;<A href="http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw"
 target=_blank>http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw</A>-- <BR>&gt;&nbsp;&nbsp;&gt; to find your fit.<BR>&gt; <BR>&gt; <BR>&gt; ------------------------------------------------------------------------<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Insight-users mailing list<BR>&gt; Insight-users@itk.org<BR>&gt; <A href="http://www.itk.org/mailman/listinfo/insight-users" target=_blank>http://www.itk.org/mailman/listinfo/insight-users</A></DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></div><br>

<hr size=1>
Don't get soaked.  Take a<a href="
http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news"> quick peak at the forecast </a><br> with the<a href="
http://tools.search.yahoo.com/shortcuts/?fr=oni_on_mail&#news">Yahoo! Search weather shortcut.</a></body></html>