<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"> </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 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"> 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> </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> </P></FONT>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> But Now 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> </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<TPixelType,VDimension,TMeshTraits>'</FONT></P>
<P><FONT size=2>1> with</FONT></P>
<P><FONT size=2>1> [</FONT></P>
<P><FONT size=2>1> TPixelType=float,</FONT></P>
<P><FONT size=2>1> VDimension=3,</FONT></P>
<P><FONT size=2>1> TMeshTraits=itk::DefaultStaticMeshTraits<float,3,3></FONT></P>
<P><FONT size=2>1> ]</FONT></P>
<P><FONT size=2>1> c:\programme\itk\itk-src-windows\code\basicfilters\itkresampleimagefilter.h(74) : see reference to class template instantiation 'itk::ImageToImageFilter<TInputImage,TOutputImage>' being compiled</FONT></P>
<P><FONT size=2>1> with</FONT></P>
<P><FONT size=2>1> [</FONT></P>
<P><FONT size=2>1> TInputImage=MovingImageType,</FONT></P>
<P><FONT size=2>1> TOutputImage=FixedPointSetType</FONT></P>
<P><FONT size=2>1> ]</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 It goes "itkImageToImageFilter.h" and 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> </P>
<P><BR> </P></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: Luis Ibanez <luis.ibanez@kitware.com><BR>To: tony hakki <tony2007vtk@yahoo.com><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> Thanks<BR><BR><BR> Luis<BR><BR><BR>------------------------<BR>tony hakki wrote:<BR>> I made a registration one is stl data and the other is .raw extension <BR>> 3D data<BR>> <BR>> ----- Original Message ----<BR>> From: tony hakki <tony2007vtk@yahoo.com><BR>> To: insight-users@itk.org<BR>> Sent: Tuesday, January 30, 2007 4:53:56 PM<BR>> Subject: instead of ResampleImageFilter (please urgent help)<BR>> <BR>> Hi all;<BR>> I met a strange error when I use ResampleImageFilter, I just want to use <BR>> another resampling filter instead of ResampleImageFilter. Is there <BR>> anyone who knows if there is another class instead of this.<BR>> <BR>> Thank you<BR>> Tony<BR>> <BR>> ------------------------------------------------------------------------<BR>> Don't
pick lemons.<BR>> See all the new 2007 cars <BR>> <<A href="http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw" target=_blank>http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw</A>--> <BR>> at Yahoo! Autos. <BR>> <<A href="http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw" target=_blank>http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw</A>--><BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> Now that's room service! Choose from over 150,000 hotels<BR>> in 45,000 destinations on Yahoo! Travel <BR>> <<A href="http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw"
target=_blank>http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw</A>-- <BR>> > to find your fit.<BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> <BR>> _______________________________________________<BR>> Insight-users mailing list<BR>> Insight-users@itk.org<BR>> <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>