[Insight-users] itkParametricSpaceToImageSpaceMeshFilter.txx

Joshua Cates cates at sci.utah.edu
Wed, 18 Feb 2004 12:16:45 -0700 (MST)


Hi,

I'll get this fixed in the source code. 

Thanks for the report,

Josh.

______________________________
 Josh Cates			
 Scientific Computing and Imaging Institute
 University of Utah
 Email: cates at sci.utah.edu
 Phone: (801) 587-7697
 URL:   http://www.sci.utah.edu/~cates


On Wed, 18 Feb 2004, Thomas Boettger wrote:

> Yep of course there is an error.
> 
> The code:
> 
> #include "itkMesh.h"
> #include "itkParametricSpaceToImageSpaceMeshFilter.h"
> 
> int itkParametricSpaceToImageSpaceMeshFilterTest(int, char* [] )
> {
>    typedef itk::Mesh<float, 3> FloatMeshType;
>    typedef itk::ParametricSpaceToImageSpaceMeshFilter<FloatMeshType, 
> FloatMeshType> MeshFilterType;
>    MeshFilterType::Pointer filter = MeshFilterType::New();
>    return 0;
> }
> 
> 
> The error:
> 
> f:\itk-1.4.0\Code\BasicFilters\itkParametricSpaceToImageSpaceMeshFilter.txx(116) 
> : error C2065: 'ProgressReporter' : undeclared identifier
>          C:\Program Files\Microsoft Visual Studio 
> .NET\Vc7\include\xtree(261) : while compiling class-template member 
> function 'void 
> itk::ParametricSpaceToImageSpaceMeshFilter<TInputMesh,TOutputMesh>::GenerateData(void)'
>          with
>          [
>              TInputMesh=FloatMeshType,
>              TOutputMesh=FloatMeshType
>          ]
>  
> f:\develop\reggi\ip++\Algorithms\itkMeshDeformation\itkRegularSphereMeshSourceTest.cpp(68) 
> : see reference to class template instantiation 
> 'itk::ParametricSpaceToImageSpaceMeshFilter<TInputMesh,TOutputMesh>' 
> being compiled
>          with
>          [
>              TInputMesh=FloatMeshType,
>              TOutputMesh=FloatMeshType
>          ]
> 
> 
> 
> Joshua Cates wrote:
> > Hi Thomas,
> > 
> > Is the missing include causing a compile-time error?  Let us know and we 
> > can fix the source code.
> > 
> > Thanks,
> > 
> > Josh.
> > 
> > ______________________________
> >  Josh Cates			
> >  Scientific Computing and Imaging Institute
> >  University of Utah
> >  Email: cates at sci.utah.edu
> >  Phone: (801) 587-7697
> >  URL:   http://www.sci.utah.edu/~cates
> > 
> > 
> > On Wed, 18 Feb 2004, Thomas Boettger wrote:
> > 
> > 
> >>Hi all,
> >>
> >>I tried to use the filter and in line 116 of 
> >>itkParametricSpaceToImageSpaceMeshFilter.txx:
> >>
> >>   ProgressReporter progress(this, 0, inPoints->Size());
> >>
> >>ProgressReporter is used. I could not find the include statement for the 
> >>appropriate header in the itkParametricSpaceToImageSpaceMeshFilter 
> >>source files. Shouldn't it be there?
> >>
> >>
> >>Regards,
> >>
> >>Thomas
> >>
> >>-- 
> >>Dipl.-Inform. Thomas Boettger
> >>Deutsches Krebsforschungszentrum         (German Cancer Research Center)
> >>Div. Medical and Biological Informatics B010    Tel: (+49) 6221-42 2328
> >>Im Neuenheimer Feld 280                          Fax: (+49) 6221-42 2345
> >>D-69120 Heidelberg                            e-mail: t.boettger at dkfz.de
> >>Germany                      http://www.dkfz.de/mbi/people/thomasb.shtml
> >>
> >>
> >>_______________________________________________
> >>Insight-users mailing list
> >>Insight-users at itk.org
> >>http://www.itk.org/mailman/listinfo/insight-users
> >>
> > 
> > 
> > 
> 
> 
> -- 
> Dipl.-Inform. Thomas Boettger
> Deutsches Krebsforschungszentrum         (German Cancer Research Center)
> Div. Medical and Biological Informatics B010    Tel: (+49) 6221-42 2328
> Im Neuenheimer Feld 280                          Fax: (+49) 6221-42 2345
> D-69120 Heidelberg                            e-mail: t.boettger at dkfz.de
> Germany                      http://www.dkfz.de/mbi/people/thomasb.shtml
> 
> 
>