15 instantiations of Quaternion
PresentationCore (13)
MS\Internal\AnimatedTypeHelpers.cs (1)
561return new Quaternion(value.Axis, value.Angle * factor);
System\Windows\Media3D\AxisAngleRotation3D.cs (2)
82_cachedQuaternionValue = new Quaternion(axis, Angle); 119internal static readonly Quaternion c_dirtyQuaternion = new Quaternion(
System\Windows\Media3D\Generated\Quaternion.cs (1)
192value = new Quaternion(
System\Windows\Media3D\Quaternion.cs (9)
270return new Quaternion(0,0,0,2); 287return new Quaternion(left._x + right._x, 317return new Quaternion(0,0,0,0); 329return new Quaternion(-right._x, -right._y, -right._z, 1 - right._w); 333return new Quaternion(left._x - right._x, 372Quaternion result = new Quaternion(x,y,z,w); 539to = new Quaternion(-from.Y, from.X, -from.W, from.Z); 564return new Quaternion(scaleFrom*from._x + scaleTo*to._x, 735Quaternion q = new Quaternion(0, 0, 0, 1)
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8836DefaultConstructor = delegate () { return new System.Windows.Media.Media3D.Quaternion(); },
System\Windows\Markup\KnownTypes.cs (1)
1474case KnownElements.Quaternion: o = new System.Windows.Media.Media3D.Quaternion(); break;
177 references to Quaternion
PresentationCore (174)
MS\Internal\AnimatedTypeHelpers.cs (18)
109internal static Quaternion InterpolateQuaternion(Quaternion from, Quaternion to, Double progress, bool useShortestPath) 111return Quaternion.Slerp(from, to, progress, useShortestPath); 209internal static Quaternion AddQuaternion(Quaternion value1, Quaternion value2) 311internal static Quaternion SubtractQuaternion(Quaternion value1, Quaternion value2) 448internal static Double GetSegmentLengthQuaternion(Quaternion from, Quaternion to) 559internal 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)
1130else if (type == typeof(Quaternion))
System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
1029public DiscreteQuaternionKeyFrame(Quaternion value) 1037public DiscreteQuaternionKeyFrame(Quaternion value, KeyTime keyTime) 1065protected override Quaternion InterpolateValueCore(Quaternion baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\EasingKeyFrames.cs (5)
1167public EasingQuaternionKeyFrame(Quaternion value) 1176public EasingQuaternionKeyFrame(Quaternion value, KeyTime keyTime) 1186public EasingQuaternionKeyFrame(Quaternion value, KeyTime keyTime, IEasingFunction easingFunction) 1215protected override Quaternion InterpolateValueCore(Quaternion baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
1870protected QuaternionKeyFrame(Quaternion value) 1879protected QuaternionKeyFrame(Quaternion value, KeyTime keyTime) 1922typeof(Quaternion), 1937Value = (Quaternion)value; 1944public Quaternion Value 1948return (Quaternion)GetValue(ValueProperty); 1965public Quaternion InterpolateValue( 1966Quaternion baseValue, 1983protected abstract Quaternion InterpolateValueCore( 1984Quaternion baseValue,
System\Windows\Media\Animation\Generated\LinearKeyFrames.cs (4)
735public LinearQuaternionKeyFrame(Quaternion value) 743public LinearQuaternionKeyFrame(Quaternion value, KeyTime keyTime) 769protected override Quaternion InterpolateValueCore(Quaternion baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (36)
32private Quaternion[] _keyValues; 47Type typeofProp = typeof(Quaternion?); 56new PropertyMetadata((Quaternion?)null, propCallback), 63new PropertyMetadata((Quaternion?)null, propCallback), 70new PropertyMetadata((Quaternion?)null, propCallback), 94public QuaternionAnimation(Quaternion toValue, Duration duration) 106public QuaternionAnimation(Quaternion toValue, Duration duration, FillBehavior fillBehavior) 119public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration) 132public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration, FillBehavior fillBehavior) 205protected override Quaternion GetCurrentValueCore(Quaternion defaultOriginValue, Quaternion defaultDestinationValue, AnimationClock animationClock) 222Quaternion from = Quaternion.Identity; 223Quaternion to = Quaternion.Identity; 224Quaternion accumulated = Quaternion.Identity; 225Quaternion foundation = Quaternion.Identity; 339Quaternion accumulator = AnimatedTypeHelpers.SubtractQuaternion(to, from); 364_keyValues = new Quaternion[2]; 371_keyValues = new Quaternion[2]; 378_keyValues = new Quaternion[1]; 385_keyValues = new Quaternion[1]; 391_keyValues = new Quaternion[1]; 412Quaternion? typedValue = (Quaternion?)value; 432public Quaternion? From 436return (Quaternion?)GetValue(FromProperty); 452public Quaternion? To 456return (Quaternion?)GetValue(ToProperty); 472public Quaternion? By 476return (Quaternion?)GetValue(ByProperty);
System\Windows\Media\Animation\Generated\QuaternionAnimationBase.cs (9)
80return GetCurrentValue((Quaternion)defaultOriginValue, (Quaternion)defaultDestinationValue, animationClock); 92return typeof(Quaternion); 129public Quaternion GetCurrentValue(Quaternion defaultOriginValue, Quaternion defaultDestinationValue, AnimationClock animationClock) 185protected abstract Quaternion GetCurrentValueCore(Quaternion defaultOriginValue, Quaternion defaultDestinationValue, AnimationClock animationClock);
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (8)
312protected sealed override Quaternion GetCurrentValueCore( 313Quaternion defaultOriginValue, 314Quaternion defaultDestinationValue, 340Quaternion currentIterationValue; 376Quaternion fromValue; 621private Quaternion GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 934Quaternion prevKeyValue = _keyFrames[index - 1].Value; 938Quaternion currentKeyValue = _keyFrames[index].Value;
System\Windows\Media\Animation\Generated\QuaternionIndependentAnimationStorage.cs (2)
45Quaternion tempValue = (Quaternion)dobj.GetValue(_dependencyProperty);
System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (5)
1190public SplineQuaternionKeyFrame(Quaternion value) 1199public SplineQuaternionKeyFrame(Quaternion value, KeyTime keyTime) 1209public SplineQuaternionKeyFrame(Quaternion value, KeyTime keyTime, KeySpline keySpline) 1240protected override Quaternion InterpolateValueCore(Quaternion baseValue, double keyFrameProgress)
System\Windows\Media\Composition.cs (1)
63internal static MilQuaternionF QuaternionToMilQuaternionF(Quaternion q)
System\Windows\Media3D\AxisAngleRotation3D.cs (4)
68internal override Quaternion InternalQuaternion 88_cachedQuaternionValue = Quaternion.Identity; 114private Quaternion _cachedQuaternionValue = c_dirtyQuaternion; 119internal static readonly Quaternion c_dirtyQuaternion = new Quaternion(
System\Windows\Media3D\Converters\Generated\QuaternionValueSerializer.cs (3)
45if (!(value is Quaternion)) 60return Quaternion.Parse(value ); 73if (value is Quaternion instance)
System\Windows\Media3D\Generated\Quaternion.cs (14)
53public static bool operator == (Quaternion quaternion1, Quaternion quaternion2) 79public static bool operator != (Quaternion quaternion1, Quaternion quaternion2) 95public static bool Equals (Quaternion quaternion1, Quaternion quaternion2) 123if ((null == o) || !(o is Quaternion)) 128Quaternion value = (Quaternion)o; 129return Quaternion.Equals(this,value); 143public bool Equals(Quaternion value) 145return Quaternion.Equals(this, value); 174public static Quaternion Parse(string source) 180Quaternion value;
System\Windows\Media3D\Generated\QuaternionConverter.cs (4)
89return Quaternion.Parse(source); 111if (destinationType != null && value is Quaternion) 113Quaternion instance = (Quaternion)value;
System\Windows\Media3D\Generated\QuaternionRotation3D.cs (8)
68target._cachedQuaternionValue = (Quaternion)e.NewValue; 80public Quaternion Quaternion 254private Quaternion _cachedQuaternionValue = Quaternion.Identity; 258internal static Quaternion s_Quaternion = Quaternion.Identity; 284typeof(Quaternion), 286Quaternion.Identity,
System\Windows\Media3D\Matrix3D.cs (5)
202public void Rotate(Quaternion quaternion) 213public void RotatePrepend(Quaternion quaternion) 225public void RotateAt(Quaternion quaternion, Point3D center) 235public void RotateAtPrepend(Quaternion quaternion, Point3D center) 1074internal static Matrix3D CreateRotationMatrix(ref Quaternion quaternion, ref Point3D center)
System\Windows\Media3D\Quaternion.cs (29)
94public static Quaternion Identity 264public static Quaternion operator +(Quaternion left, Quaternion right) 300public static Quaternion Add(Quaternion left, Quaternion right) 311public static Quaternion operator -(Quaternion left, Quaternion right) 346public static Quaternion Subtract(Quaternion left, Quaternion right) 357public static Quaternion operator *(Quaternion left, Quaternion right) 372Quaternion result = new Quaternion(x,y,z,w); 382public static Quaternion Multiply(Quaternion left, Quaternion right) 448public static Quaternion Slerp(Quaternion from, Quaternion to, double t) 463public static Quaternion Slerp(Quaternion from, Quaternion to, double t, bool useShortestPath) 732private static Quaternion GetIdentity() 735Quaternion q = new Quaternion(0, 0, 0, 1) 747private static Quaternion s_identity = GetIdentity();
System\Windows\Media3D\QuaternionRotation3D.cs (2)
33public QuaternionRotation3D(Quaternion quaternion) 50internal override Quaternion InternalQuaternion { get { return _cachedQuaternionValue; } }
System\Windows\Media3D\RotateTransform3D.cs (1)
103Quaternion quaternion = rotation.InternalQuaternion;
System\Windows\Media3D\Rotation3D.cs (1)
74internal abstract Quaternion InternalQuaternion
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
587case 494: t = () => typeof(Quaternion); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8833typeof(System.Windows.Media.Media3D.Quaternion),
System\Windows\Markup\KnownTypes.cs (1)
6041case KnownElements.Quaternion: t = typeof(System.Windows.Media.Media3D.Quaternion); break;