コード例 #1
0
ファイル: Rotate3DTool.cs プロジェクト: m-berkani/ClearCanvas
		public Rotate3DTool()
			: base(SR.TooltipRotate3D)
		{
			CursorToken = new CursorToken("Icons.Rotate3DToolSmall.png", GetType().Assembly);
			_operation = new SpatialTransform3DImageOperation(Apply);

			const string graphicName = "Icons.NoSpineLabeling.png";
			var iconSet = new UnavailableActionIconSet(new IconSet("Icons.Rotate3DToolSmall.png", "Icons.Rotate3DToolMedium.png", "Icons.Rotate3DToolLarge.png"));
			var resolver = new ApplicationThemeResourceResolver(GetType(), false);
			_flashOverlayController = new FlashOverlayController(iconSet, resolver) {FlashSpeed = 1500};
		}
コード例 #2
0
        public Rotate3DTool()
            : base(SR.TooltipRotate3D)
        {
            CursorToken = new CursorToken("Icons.Rotate3DToolSmall.png", GetType().Assembly);
            _operation  = new SpatialTransform3DImageOperation(Apply);

            const string graphicName = "Icons.NoSpineLabeling.png";
            var          iconSet     = new UnavailableActionIconSet(new IconSet("Icons.Rotate3DToolSmall.png", "Icons.Rotate3DToolMedium.png", "Icons.Rotate3DToolLarge.png"));
            var          resolver    = new ApplicationThemeResourceResolver(GetType(), false);

            _flashOverlayController = new FlashOverlayController(iconSet, resolver)
            {
                FlashSpeed = 1500
            };
        }