1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
5 - University of LYON http://www.universite-lyon.fr/
6 - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
7 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the copyright notices for more information.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ======================================================================-====*/
19 #ifndef CLITKANATOMICALFEATUREDATABASE_H
20 #define CLITKANATOMICALFEATUREDATABASE_H
23 #include "clitkCommon.h"
24 #include "clitkImageCommon.h"
29 //--------------------------------------------------------------------
31 Class to store and retreive anatomical feature such as 3D
32 named landmarks points.
34 class AnatomicalFeatureDatabase: public itk::Object
37 AnatomicalFeatureDatabase();
39 typedef std::string TagType;
42 itkSetMacro(Filename, std::string);
43 itkGetConstMacro(Filename, std::string);
50 typedef itk::Point<double,3> PointType3D;
51 void SetPoint3D(TagType tag, PointType3D & p);
52 void GetPoint3D(TagType tag, PointType3D & p);
55 void SetImageFilename(TagType tag, std::string f);
56 template<class ImageType>
57 typename ImageType::Pointer GetImage(TagType tag);
60 void SetDouble(TagType tag, double d);
61 double GetDouble(TagType tag);
64 std::string m_Filename;
65 typedef std::map<TagType, std::string> MapTagType;
66 MapTagType m_MapOfTag;
69 //--------------------------------------------------------------------
71 #include "clitkAnatomicalFeatureDatabase.txx"
73 } // end namespace clitk
74 //--------------------------------------------------------------------
76 #endif // CLITKANATOMICALFEATUREDATABASE_H