15 instantiations of Quaternion
PresentationCore (13)
MS\Internal\AnimatedTypeHelpers.cs (1)
562return new Quaternion(value.Axis, value.Angle * factor);
System\Windows\Media3D\AxisAngleRotation3D.cs (2)
84_cachedQuaternionValue = new Quaternion(axis, Angle); 121internal static readonly Quaternion c_dirtyQuaternion = new Quaternion(
System\Windows\Media3D\Generated\Quaternion.cs (1)
207value = new Quaternion(
System\Windows\Media3D\Quaternion.cs (9)
290return new Quaternion(0,0,0,2); 307return new Quaternion(left._x + right._x, 337return new Quaternion(0,0,0,0); 349return new Quaternion(-right._x, -right._y, -right._z, 1 - right._w); 353return new Quaternion(left._x - right._x, 392Quaternion result = new Quaternion(x,y,z,w); 559to = new Quaternion(-from.Y, from.X, -from.W, from.Z); 584return new Quaternion(scaleFrom*from._x + scaleTo*to._x, 755Quaternion q = new Quaternion(0,0,0,1);
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8008bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.Media3D.Quaternion(); };
System\Windows\Markup\KnownTypes.cs (1)
1481case KnownElements.Quaternion: o = new System.Windows.Media.Media3D.Quaternion(); break;
179 references to Quaternion
PresentationCore (176)
MS\Internal\AnimatedTypeHelpers.cs (18)
111internal static Quaternion InterpolateQuaternion(Quaternion from, Quaternion to, Double progress, bool useShortestPath) 113return Quaternion.Slerp(from, to, progress, useShortestPath); 210internal static Quaternion AddQuaternion(Quaternion value1, Quaternion value2) 312internal static Quaternion SubtractQuaternion(Quaternion value1, Quaternion value2) 449internal static Double GetSegmentLengthQuaternion(Quaternion from, Quaternion to) 560internal static Quaternion ScaleQuaternion(Quaternion value, Double factor) 683internal static bool IsValidAnimationValueQuaternion(Quaternion value) 805internal static Quaternion GetZeroValueQuaternion(Quaternion baseValue) 807return Quaternion.Identity;
System\Windows\Media\Animation\AnimationStorage.cs (1)
1138else if (type == typeof(Quaternion))
System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
1037public DiscreteQuaternionKeyFrame(Quaternion value) 1045public DiscreteQuaternionKeyFrame(Quaternion value, KeyTime keyTime) 1073protected override Quaternion InterpolateValueCore(Quaternion baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\EasingKeyFrames.cs (5)
1173public EasingQuaternionKeyFrame(Quaternion value) 1182public EasingQuaternionKeyFrame(Quaternion value, KeyTime keyTime) 1192public EasingQuaternionKeyFrame(Quaternion value, KeyTime keyTime, IEasingFunction easingFunction) 1221protected override Quaternion InterpolateValueCore(Quaternion baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
1878protected QuaternionKeyFrame(Quaternion value) 1887protected QuaternionKeyFrame(Quaternion value, KeyTime keyTime) 1930typeof(Quaternion), 1945Value = (Quaternion)value; 1952public Quaternion Value 1956return (Quaternion)GetValue(ValueProperty); 1973public Quaternion InterpolateValue( 1974Quaternion baseValue, 1991protected abstract Quaternion InterpolateValueCore( 1992Quaternion baseValue,
System\Windows\Media\Animation\Generated\LinearKeyFrames.cs (4)
741public LinearQuaternionKeyFrame(Quaternion value) 749public LinearQuaternionKeyFrame(Quaternion value, KeyTime keyTime) 775protected override Quaternion InterpolateValueCore(Quaternion baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (36)
43private Quaternion[] _keyValues; 58Type typeofProp = typeof(Quaternion?); 67new PropertyMetadata((Quaternion?)null, propCallback), 74new PropertyMetadata((Quaternion?)null, propCallback), 81new PropertyMetadata((Quaternion?)null, propCallback), 105public QuaternionAnimation(Quaternion toValue, Duration duration) 117public QuaternionAnimation(Quaternion toValue, Duration duration, FillBehavior fillBehavior) 130public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration) 143public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration, FillBehavior fillBehavior) 216protected override Quaternion GetCurrentValueCore(Quaternion defaultOriginValue, Quaternion defaultDestinationValue, AnimationClock animationClock) 233Quaternion from = Quaternion.Identity; 234Quaternion to = Quaternion.Identity; 235Quaternion accumulated = Quaternion.Identity; 236Quaternion foundation = Quaternion.Identity; 350Quaternion accumulator = AnimatedTypeHelpers.SubtractQuaternion(to, from); 375_keyValues = new Quaternion[2]; 382_keyValues = new Quaternion[2]; 389_keyValues = new Quaternion[1]; 396_keyValues = new Quaternion[1]; 402_keyValues = new Quaternion[1]; 423Quaternion? typedValue = (Quaternion?)value; 443public Quaternion? From 447return (Quaternion?)GetValue(FromProperty); 463public Quaternion? To 467return (Quaternion?)GetValue(ToProperty); 483public Quaternion? By 487return (Quaternion?)GetValue(ByProperty);
System\Windows\Media\Animation\Generated\QuaternionAnimationBase.cs (9)
95return GetCurrentValue((Quaternion)defaultOriginValue, (Quaternion)defaultDestinationValue, animationClock); 107return typeof(Quaternion); 144public Quaternion GetCurrentValue(Quaternion defaultOriginValue, Quaternion defaultDestinationValue, AnimationClock animationClock) 204protected abstract Quaternion GetCurrentValueCore(Quaternion defaultOriginValue, Quaternion defaultDestinationValue, AnimationClock animationClock);
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (8)
323protected sealed override Quaternion GetCurrentValueCore( 324Quaternion defaultOriginValue, 325Quaternion defaultDestinationValue, 351Quaternion currentIterationValue; 387Quaternion fromValue; 632private Quaternion GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 943Quaternion prevKeyValue = _keyFrames[index - 1].Value; 947Quaternion currentKeyValue = _keyFrames[index].Value;
System\Windows\Media\Animation\Generated\QuaternionIndependentAnimationStorage.cs (2)
54Quaternion tempValue = (Quaternion)dobj.GetValue(_dependencyProperty);
System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (5)
1191public SplineQuaternionKeyFrame(Quaternion value) 1200public SplineQuaternionKeyFrame(Quaternion value, KeyTime keyTime) 1210public SplineQuaternionKeyFrame(Quaternion value, KeyTime keyTime, KeySpline keySpline) 1241protected override Quaternion InterpolateValueCore(Quaternion baseValue, double keyFrameProgress)
System\Windows\Media\Composition.cs (1)
80internal static MilQuaternionF QuaternionToMilQuaternionF(Quaternion q)
System\Windows\Media3D\AxisAngleRotation3D.cs (4)
70internal override Quaternion InternalQuaternion 90_cachedQuaternionValue = Quaternion.Identity; 116private Quaternion _cachedQuaternionValue = c_dirtyQuaternion; 121internal static readonly Quaternion c_dirtyQuaternion = new Quaternion(
System\Windows\Media3D\Converters\Generated\QuaternionValueSerializer.cs (5)
59if (!(value is Quaternion)) 74return Quaternion.Parse(value ); 87if (value is Quaternion) 89Quaternion instance = (Quaternion) value;
System\Windows\Media3D\Generated\Quaternion.cs (14)
68public static bool operator == (Quaternion quaternion1, Quaternion quaternion2) 94public static bool operator != (Quaternion quaternion1, Quaternion quaternion2) 110public static bool Equals (Quaternion quaternion1, Quaternion quaternion2) 138if ((null == o) || !(o is Quaternion)) 143Quaternion value = (Quaternion)o; 144return Quaternion.Equals(this,value); 158public bool Equals(Quaternion value) 160return Quaternion.Equals(this, value); 189public static Quaternion Parse(string source) 195Quaternion value;
System\Windows\Media3D\Generated\QuaternionConverter.cs (4)
104return Quaternion.Parse(source); 126if (destinationType != null && value is Quaternion) 128Quaternion instance = (Quaternion)value;
System\Windows\Media3D\Generated\QuaternionRotation3D.cs (8)
84target._cachedQuaternionValue = (Quaternion)e.NewValue; 96public Quaternion Quaternion 261private Quaternion _cachedQuaternionValue = Quaternion.Identity; 265internal static Quaternion s_Quaternion = Quaternion.Identity; 292typeof(Quaternion), 294Quaternion.Identity,
System\Windows\Media3D\Matrix3D.cs (5)
217public void Rotate(Quaternion quaternion) 228public void RotatePrepend(Quaternion quaternion) 240public void RotateAt(Quaternion quaternion, Point3D center) 250public void RotateAtPrepend(Quaternion quaternion, Point3D center) 1089internal static Matrix3D CreateRotationMatrix(ref Quaternion quaternion, ref Point3D center)
System\Windows\Media3D\Quaternion.cs (29)
114public static Quaternion Identity 284public static Quaternion operator +(Quaternion left, Quaternion right) 320public static Quaternion Add(Quaternion left, Quaternion right) 331public static Quaternion operator -(Quaternion left, Quaternion right) 366public static Quaternion Subtract(Quaternion left, Quaternion right) 377public static Quaternion operator *(Quaternion left, Quaternion right) 392Quaternion result = new Quaternion(x,y,z,w); 402public static Quaternion Multiply(Quaternion left, Quaternion right) 468public static Quaternion Slerp(Quaternion from, Quaternion to, double t) 483public static Quaternion Slerp(Quaternion from, Quaternion to, double t, bool useShortestPath) 752private static Quaternion GetIdentity() 755Quaternion q = new Quaternion(0,0,0,1); 765private static Quaternion s_identity = GetIdentity();
System\Windows\Media3D\QuaternionRotation3D.cs (2)
36public QuaternionRotation3D(Quaternion quaternion) 53internal override Quaternion InternalQuaternion { get { return _cachedQuaternionValue; } }
System\Windows\Media3D\RotateTransform3D.cs (1)
113Quaternion quaternion = rotation.InternalQuaternion;
System\Windows\Media3D\Rotation3D.cs (1)
77internal abstract Quaternion InternalQuaternion
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
590case 494: t = () => typeof(Quaternion); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8006typeof(System.Windows.Media.Media3D.Quaternion),
System\Windows\Markup\KnownTypes.cs (1)
6048case KnownElements.Quaternion: t = typeof(System.Windows.Media.Media3D.Quaternion); break;