1234567891011121314151617181920212223242526272829303132333435363738394041 |
- import 'package:fis_common/event/event_type.dart';
- import 'package:fis_measure/interfaces/date_types/rect_region.dart';
- import 'package:fis_measure/interfaces/enums/display_mode.dart';
- import 'package:fis_measure/interfaces/process/visuals/visual_area.dart';
- import 'package:vid/us/vid_us_display_mode.dart';
- import 'package:vid/us/vid_us_visual.dart';
- import '../modes/mode.dart';
- /// 图像幅
- abstract class IVisual {
- /// 幅数据
- VidUsVisual get visualData;
- /// 所在图像区域(百分比)
- RectRegion get region;
- /// 图像幅区域 集合
- List<IVisualArea> get visualAreas;
- /// 包含的模式集合
- List<IMode> get modes;
- /// 显示模式
- VidUsDisplayMode get displayMode;
- /// 活动模式
- IMode? get activeMode;
- /// 活动区域
- IVisualArea? get activeArea;
- /// 是否活动
- bool get isActive;
- /// 设置为非活动状态
- void setUnAcitve();
- /// 是否活动变化事件
- late FEventHandler<bool> activeChanged;
- }
|