Loading GUI/src/main/java/cz/fidentis/analyst/distance/DistanceAction.java +2 −6 Original line number Diff line number Diff line Loading @@ -125,6 +125,8 @@ public class DistanceAction extends ControlPanelAction { relativeDist, true); getSecondaryDrawableFace().getHumanFace().accept(visitor); setFeaturePointWeigths(); hausdorffDistance = null; } Loading @@ -132,7 +134,6 @@ public class DistanceAction extends ControlPanelAction { if (hausdorffDistance == null) { hausdorffDistance = getWeightedDistance(); setHausdorffDistanceStatistics(); setFeaturePointWeigths(); } getSecondaryDrawableFace().setHeatMap(hausdorffDistance); } Loading Loading @@ -189,11 +190,6 @@ public class DistanceAction extends ControlPanelAction { * the weights of feature points used to calculate the weighted Hausdorff distance. */ private void setFeaturePointWeigths() { if (!weightedDist) { controlPanel.updateFeaturePointWeights(Map.of()); return; } controlPanel.updateFeaturePointWeights( visitor.getFeaturePointWeights() .get(getSecondaryDrawableFace().getHumanFace()) // Get FP weights for the secondary face Loading Loading
GUI/src/main/java/cz/fidentis/analyst/distance/DistanceAction.java +2 −6 Original line number Diff line number Diff line Loading @@ -125,6 +125,8 @@ public class DistanceAction extends ControlPanelAction { relativeDist, true); getSecondaryDrawableFace().getHumanFace().accept(visitor); setFeaturePointWeigths(); hausdorffDistance = null; } Loading @@ -132,7 +134,6 @@ public class DistanceAction extends ControlPanelAction { if (hausdorffDistance == null) { hausdorffDistance = getWeightedDistance(); setHausdorffDistanceStatistics(); setFeaturePointWeigths(); } getSecondaryDrawableFace().setHeatMap(hausdorffDistance); } Loading Loading @@ -189,11 +190,6 @@ public class DistanceAction extends ControlPanelAction { * the weights of feature points used to calculate the weighted Hausdorff distance. */ private void setFeaturePointWeigths() { if (!weightedDist) { controlPanel.updateFeaturePointWeights(Map.of()); return; } controlPanel.updateFeaturePointWeights( visitor.getFeaturePointWeights() .get(getSecondaryDrawableFace().getHumanFace()) // Get FP weights for the secondary face Loading