public SpatialTransform3D(IGraphic3D ownerGraphic)
 {
     _ownerGraphic            = ownerGraphic;
     _recalculationRequired   = true;
     _updatingScaleParameters = false;
     Initialize();
 }
Example #2
0
 internal void SetParentGraphic(IGraphic3D parentGraphic)
 {
     _parentGraphic = parentGraphic;
     SpatialTransform.ForceRecalculation();
 }
 /// <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;
 }
		/// <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;
		}
Example #5
0
		internal void SetParentGraphic(IGraphic3D parentGraphic)
		{
			_parentGraphic = parentGraphic;
			SpatialTransform.ForceRecalculation();
		}