|
@@ -7,7 +7,6 @@ import 'package:get/get.dart';
|
|
import 'package:fis_measure/values/colors.dart';
|
|
import 'package:fis_measure/values/colors.dart';
|
|
import 'package:fis_measure/view/result/converter.dart';
|
|
import 'package:fis_measure/view/result/converter.dart';
|
|
import 'package:fis_measure/view/result/results_panel.dart';
|
|
import 'package:fis_measure/view/result/results_panel.dart';
|
|
-import 'package:fis_measure/interfaces/process/items/types.dart';
|
|
|
|
import 'package:fis_ui/index.dart';
|
|
import 'package:fis_ui/index.dart';
|
|
|
|
|
|
class MeasureResultLayer extends GetView<ImageMeasureOverlayController> {
|
|
class MeasureResultLayer extends GetView<ImageMeasureOverlayController> {
|
|
@@ -45,33 +44,7 @@ class MeasureResultLayer extends GetView<ImageMeasureOverlayController> {
|
|
final idLength = features.length.toString().length;
|
|
final idLength = features.length.toString().length;
|
|
for (var feature in features) {
|
|
for (var feature in features) {
|
|
final strList = FeatureValueDescConverter(feature).generate(idLength);
|
|
final strList = FeatureValueDescConverter(feature).generate(idLength);
|
|
- if (feature.refItem.meta.measureType ==
|
|
|
|
- MeasureTypes.URMShellDenMeasure) {
|
|
|
|
- strList.forEach((element) {
|
|
|
|
- if (element.label == " Area" ||
|
|
|
|
- element.label.contains("Density Analysis"))
|
|
|
|
- lines.add(element);
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
- // controller.onPerfusionColorbarChanged!.call(true);
|
|
|
|
- } else if (feature.refItem.meta.measureType ==
|
|
|
|
- MeasureTypes.URMShellVelMeasure) {
|
|
|
|
- strList.forEach((element) {
|
|
|
|
- if (element.label == " Area" ||
|
|
|
|
- element.label.contains("Velocity Analysis"))
|
|
|
|
- lines.add(element);
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
- // controller.onPerfusionColorbarChanged!.call(true);
|
|
|
|
- } else if (feature.refItem.meta.measureType ==
|
|
|
|
- MeasureTypes.URMShellDenVelMeasure) {
|
|
|
|
- strList.forEach((element) {
|
|
|
|
- if (element.label == " Area" ||
|
|
|
|
- element.label.contains("DV Analysis")) lines.add(element);
|
|
|
|
- });
|
|
|
|
- } else {
|
|
|
|
- lines.addAll(strList);
|
|
|
|
- }
|
|
|
|
|
|
+ lines.addAll(strList);
|
|
}
|
|
}
|
|
|
|
|
|
if (lines.isEmpty ||
|
|
if (lines.isEmpty ||
|