From: eduardo.davila@creatis.insa-lyon.fr Date: Wed, 3 Jul 2024 13:20:46 +0000 (+0200) Subject: #3560 ShowNPoints precision of the selected point X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=73d6f160961223906d736220ef113db91e40aa03;p=creaMaracasVisu.git #3560 ShowNPoints precision of the selected point --- diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ModelShowNPoints.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ModelShowNPoints.cxx index ee247b6..a36b108 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ModelShowNPoints.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ModelShowNPoints.cxx @@ -360,8 +360,11 @@ int ModelShowNPoints::IdInsidePoint() int id=-1; int i, size=(int)( lstPointsX.size() ); double spc[3]; +//EED 2024-07-03 +// double tmpRadio = mradio/3; +// double radio2=(tmpRadio+1)*(tmpRadio+1); double tmpRadio = mradio/3; - double radio2=(tmpRadio+1)*(tmpRadio+1); + double radio2=(tmpRadio+0.33)*(tmpRadio+0.33); if ( (mimage==NULL) || (mReferencePoint.size()!=3) ) { printf("WidgetShowNPoints::IdInsidePoint image not set or ReferencePoint not set\n");