コード例 #1
0
 public SpatialTransform3D(IGraphic3D ownerGraphic)
 {
     _ownerGraphic            = ownerGraphic;
     _recalculationRequired   = true;
     _updatingScaleParameters = false;
     Initialize();
 }
コード例 #2
0
ファイル: Graphic3D.cs プロジェクト: ronmark1/ClearCanvas-1
 internal void SetParentGraphic(IGraphic3D parentGraphic)
 {
     _parentGraphic = parentGraphic;
     SpatialTransform.ForceRecalculation();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VisualStateChanged3DEventArgs"/> class.
 /// </summary>
 /// <param name="graphic">The graphic whose visual state changed.</param>
 /// <param name="propertyName">The name of the property that changed. </param>
 public VisualStateChanged3DEventArgs(IGraphic3D graphic, string propertyName)
     : base(propertyName)
 {
     Graphic = graphic;
 }
コード例 #4
0
		/// <summary>
		/// Initializes a new instance of the <see cref="VisualStateChanged3DEventArgs"/> class. 
		/// </summary>
		/// <param name="graphic">The graphic whose visual state changed.</param>
		/// <param name="propertyName">The name of the property that changed. </param>
		public VisualStateChanged3DEventArgs(IGraphic3D graphic, string propertyName)
			: base(propertyName)
		{
			Graphic = graphic;
		}
コード例 #5
0
ファイル: Graphic3D.cs プロジェクト: m-berkani/ClearCanvas
		internal void SetParentGraphic(IGraphic3D parentGraphic)
		{
			_parentGraphic = parentGraphic;
			SpatialTransform.ForceRecalculation();
		}