urm_data_processor.dart 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. import 'dart:ui';
  2. import 'package:fis_jsonrpc/rpc.dart';
  3. abstract class IURMDataProcessor {
  4. URMMeasureParams getURMMeasureParams();
  5. Rect get measureAreaInFullVisual; // 当前可测量区域在完整视图中的归一化矩形
  6. Rect get urmScreenInFullVisual; // 当前URM视图在完整视图中的归一化矩形
  7. double get fullVisualPhywidth; // 完整视图的图像物理宽度
  8. bool get showLeftRight; // 是否显示左右双幅
  9. bool get isLeftRight; // 是否左右双幅的图像 (不考虑同步显示的情况)
  10. }
  11. class URMMeasureParams {
  12. String remedicalCode = ""; // 手动取值
  13. String urmImageType = "1"; // 手动取值
  14. int urmBlend = 0; // 手动取值
  15. double downsampleIndex = 0; // 手动取值
  16. double intPowerDen = 0; // 手动取值
  17. double intPowerDir = 0; // 手动取值
  18. double sigmaGauss = 0; // 手动取值
  19. double vessScale = 0; // 手动取值
  20. double velMaxScaler = 0; // 手动取值
  21. double velMinScaler = 0; // 手动取值
  22. double iterations = 0; // 手动取值
  23. int imgProcessVer = 0; // 手动取值
  24. bool zoomOn = false; // 手动取值
  25. double zoomRoix = 0; // 手动取值
  26. double zoomRoiy = 0; // 手动取值
  27. double zoomRoiwidth = 0; // 手动取值
  28. double zoomRoiheight = 0; // 手动取值
  29. int roix = 0; // 手动取值
  30. int roiy = 0; // 手动取值
  31. int roiwidth = 0; // 手动取值
  32. int roiheight = 0; // 手动取值
  33. bool leftRight = false; // 手动取值
  34. bool upDown = false; // 手动取值
  35. int screenWidth = 0; // 手动取值
  36. int screenHeight = 0; // 手动取值
  37. List<UrmPoint>? urmTraceDPoints; // 手动取值
  38. URMMeasureParams({
  39. required this.remedicalCode,
  40. required this.urmImageType,
  41. required this.urmBlend,
  42. required this.downsampleIndex,
  43. required this.intPowerDen,
  44. required this.intPowerDir,
  45. required this.sigmaGauss,
  46. required this.vessScale,
  47. required this.velMaxScaler,
  48. required this.velMinScaler,
  49. required this.iterations,
  50. required this.imgProcessVer,
  51. required this.zoomOn,
  52. required this.zoomRoix,
  53. required this.zoomRoiy,
  54. required this.zoomRoiwidth,
  55. required this.zoomRoiheight,
  56. required this.roix,
  57. required this.roiy,
  58. required this.roiwidth,
  59. required this.roiheight,
  60. required this.leftRight,
  61. required this.upDown,
  62. required this.screenWidth,
  63. required this.screenHeight,
  64. required this.urmTraceDPoints,
  65. });
  66. }