X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkAnatomicalFeatureDatabase.cxx;h=539e17012806a970984f667cd0df786acacf56b0;hb=dad240d633996ba10087d96ece317415086f5a59;hp=dbd05c61a30fcb8a628fef0150a7b6de8dfd3f37;hpb=5668d4a49a5a6b68dc80fa28f0f82b54187cb70c;p=clitk.git diff --git a/segmentation/clitkAnatomicalFeatureDatabase.cxx b/segmentation/clitkAnatomicalFeatureDatabase.cxx index dbd05c6..539e170 100644 --- a/segmentation/clitkAnatomicalFeatureDatabase.cxx +++ b/segmentation/clitkAnatomicalFeatureDatabase.cxx @@ -22,6 +22,8 @@ // std #include #include +#include +#include //-------------------------------------------------------------------- clitk::AnatomicalFeatureDatabase::AnatomicalFeatureDatabase() @@ -95,6 +97,15 @@ void clitk::AnatomicalFeatureDatabase::SetPoint3D(std::string tag, PointType3D & //-------------------------------------------------------------------- +//-------------------------------------------------------------------- +double clitk::AnatomicalFeatureDatabase::GetPoint3D(std::string tag, int dim) +{ + PointType3D p; + GetPoint3D(tag, p); + return p[dim]; +} +//-------------------------------------------------------------------- + //-------------------------------------------------------------------- void clitk::AnatomicalFeatureDatabase::GetPoint3D(std::string tag, PointType3D & p) {