示例#1
0
        //public MeasureActionViewModel AnnotationMeasurement { get; set; }


        protected override void CreateChildActions()
        {
            FiducialsOverlay = _builder.Build(UiMode.FiducialsOverlay);
            Actions.Add(FiducialsOverlay);

            MeasurementDistanceOverlay = _builder.Build(UiMode.MeasurementDistanceOverlay);
            Actions.Add(MeasurementDistanceOverlay);

            MeasurementAreaOverlay = _builder.Build(UiMode.MeasurementAreaOverlay);
            Actions.Add(MeasurementAreaOverlay);

            MeasurementAngleOverlay = _builder.Build(UiMode.MeasurementAngleOverlay);
            Actions.Add(MeasurementAngleOverlay);

            RigidNPROverlay = _builder.Build(UiMode.RigidNPROverlay);
            Actions.Add(RigidNPROverlay);

            DeleteOverlay = _builder.BuildDelete(false);
            Actions.Add(DeleteOverlay);

            DeleteAllOverlay = _builder.BuildDelete(true);
            Actions.Add(DeleteAllOverlay);
        }
示例#2
0
        protected override void CreateChildActions()
        {
            TargetOverlay = _mesureBuilder.Build(UiMode.TargetOverlay);
            Actions.Add(TargetOverlay);

            RegionalOverlay = _mesureBuilder.Build(UiMode.RegionsOverlay);
            Actions.Add(RegionalOverlay);

            NPRPolygonsOverlay = _mesureBuilder.Build(UiMode.NPRPolygonsOverlay);
            Actions.Add(NPRPolygonsOverlay);

            RigidNPROverlay = _mesureBuilder.Build(UiMode.RigidNPROverlay);
            Actions.Add(RigidNPROverlay);

            ACPCOverlay = _mesureBuilder.Build(UiMode.ACPCOverlay);
            Actions.Add(ACPCOverlay);

            ACPCAngle90Overlay = _mesureBuilder.Build(UiMode.MeasurementAngleOverlay, MeasureActionBuilder.ACPC90);
            Actions.Add(ACPCAngle90Overlay);
        }