X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=segmentation%2FclitkAnatomicalFeatureDatabase.cxx;h=539e17012806a970984f667cd0df786acacf56b0;hb=5e2af376544fce0c6dc46bb3c3227d35b501c1f1;hp=007aee5947a21b51fbdf12d42d41da29f61eab0a;hpb=c1fb4e570939d49098c59e151711822f19bdba10;p=clitk.git diff --git a/segmentation/clitkAnatomicalFeatureDatabase.cxx b/segmentation/clitkAnatomicalFeatureDatabase.cxx index 007aee5..539e170 100644 --- a/segmentation/clitkAnatomicalFeatureDatabase.cxx +++ b/segmentation/clitkAnatomicalFeatureDatabase.cxx @@ -22,8 +22,8 @@ // std #include #include -#include -#include +#include +#include //-------------------------------------------------------------------- clitk::AnatomicalFeatureDatabase::AnatomicalFeatureDatabase() @@ -97,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) {