[Insight-users] How to use BalloonForce3DFilter?

Th. Boettger t.boettger@dkfz-heidelberg.de
Mon, 23 Sep 2002 17:36:59 +0200


Hallo,

I'm pretty new to the ITK and currently trying to use the
BalloonForce3DFilter, but don't know exactly how to define it. I do it the
following way

	typedef double							MeshDataType;
	typedef itk::Mesh<MeshDataType> 				MeshType;

	typedef itk::BalloonForce3DFilter<MeshType,MeshType> 	BalloonFilterType;
	BalloonFilterType::Pointer 					myBalloonFilter;

	//typedef itk::DeformableMesh3DFilter<MeshType,MeshType>
DeformableFilterType;
	//DeformableFilterType::Pointer myFilter;

which worked fine with the DeformableMeshFilter. But now I always get the
following error:


c:\home\boettger\Insight\Code\Algorithms\itkBalloonForce3DFilter.h(250) :
see reference to class template instantiation
'itk::BalloonForce3DFilter<TInputMesh,TOutputMesh>' being compiled
c:\home\boettger\Insight\Code\Algorithms\itkBalloonForce3DFilter.h(120) :
error C2039: 'Cell' : is not a member of
'itk::Mesh<TPixelType,VDimension,TMeshTraits>'
        with
        [
            TPixelType=MeshDataType,
            VDimension=3,

TMeshTraits=itk::DefaultStaticMeshTraits<MeshDataType,3,3,float,float,MeshDa
taType>
        ]
        main.cpp(112) : see reference to class template instantiation
'itk::BalloonForce3DFilter<TInputMesh,TOutputMesh>' being compiled
        with
        [
            TInputMesh=MeshType,
            TOutputMesh=MeshType
        ]
c:\home\boettger\Insight\Code\Algorithms\itkBalloonForce3DFilter.h(120) :
fatal error C1507: previous user errors and subsequent error recovery halt
further compilation




Could someone explain to me what I am doing wrong or what I didn't
understand?

Thanks,
Thomas







---
Dipl.-Inform. Thomas Boettger
Deutsches Krebsforschungszentrum         (German Cancer Research Center)
Div. Medical and Biological Informatics H0100    Tel: (+49) 6221-42 2328
Im Neuenheimer Feld 280                          Fax: (+49) 6221-42 2345
D-69120 Heidelberg                            e-mail: t.boettger@dkfz.de
Germany                      http://www.dkfz.de/mbi/people/thomasb.shtml