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)
83_cachedQuaternionValue = new Quaternion(axis, Angle); 120internal static readonly Quaternion c_dirtyQuaternion = new Quaternion(
System\Windows\Media3D\Generated\Quaternion.cs (1)
186value = new Quaternion(
System\Windows\Media3D\Quaternion.cs (9)
271return new Quaternion(0,0,0,2); 288return new Quaternion(left._x + right._x, 318return new Quaternion(0,0,0,0); 330return new Quaternion(-right._x, -right._y, -right._z, 1 - right._w); 334return new Quaternion(left._x - right._x, 373Quaternion result = new Quaternion(x,y,z,w); 540to = new Quaternion(-from.Y, from.X, -from.W, from.Z); 565return new Quaternion(scaleFrom*from._x + scaleTo*to._x, 736Quaternion q = new Quaternion(0,0,0,1);
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8006bamlType.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)
110internal static Quaternion InterpolateQuaternion(Quaternion from, Quaternion to, Double progress, bool useShortestPath) 112return 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) 682internal static bool IsValidAnimationValueQuaternion(Quaternion value) 804internal static Quaternion GetZeroValueQuaternion(Quaternion baseValue) 806return Quaternion.Identity;
System\Windows\Media\Animation\AnimationStorage.cs (1)
1135else if (type == typeof(Quaternion))
System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
1028public DiscreteQuaternionKeyFrame(Quaternion value) 1036public DiscreteQuaternionKeyFrame(Quaternion value, KeyTime keyTime) 1064protected override Quaternion InterpolateValueCore(Quaternion baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\EasingKeyFrames.cs (5)
1166public EasingQuaternionKeyFrame(Quaternion value) 1175public EasingQuaternionKeyFrame(Quaternion value, KeyTime keyTime) 1185public EasingQuaternionKeyFrame(Quaternion value, KeyTime keyTime, IEasingFunction easingFunction) 1214protected override Quaternion InterpolateValueCore(Quaternion baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
1869protected QuaternionKeyFrame(Quaternion value) 1878protected QuaternionKeyFrame(Quaternion value, KeyTime keyTime) 1921typeof(Quaternion), 1936Value = (Quaternion)value; 1943public Quaternion Value 1947return (Quaternion)GetValue(ValueProperty); 1964public Quaternion InterpolateValue( 1965Quaternion baseValue, 1982protected abstract Quaternion InterpolateValueCore( 1983Quaternion baseValue,
System\Windows\Media\Animation\Generated\LinearKeyFrames.cs (4)
734public LinearQuaternionKeyFrame(Quaternion value) 742public LinearQuaternionKeyFrame(Quaternion value, KeyTime keyTime) 768protected override Quaternion InterpolateValueCore(Quaternion baseValue, double keyFrameProgress)
System\Windows\Media\Animation\Generated\QuaternionAnimation.cs (36)
33private Quaternion[] _keyValues; 48Type typeofProp = typeof(Quaternion?); 57new PropertyMetadata((Quaternion?)null, propCallback), 64new PropertyMetadata((Quaternion?)null, propCallback), 71new PropertyMetadata((Quaternion?)null, propCallback), 95public QuaternionAnimation(Quaternion toValue, Duration duration) 107public QuaternionAnimation(Quaternion toValue, Duration duration, FillBehavior fillBehavior) 120public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration) 133public QuaternionAnimation(Quaternion fromValue, Quaternion toValue, Duration duration, FillBehavior fillBehavior) 206protected override Quaternion GetCurrentValueCore(Quaternion defaultOriginValue, Quaternion defaultDestinationValue, AnimationClock animationClock) 223Quaternion from = Quaternion.Identity; 224Quaternion to = Quaternion.Identity; 225Quaternion accumulated = Quaternion.Identity; 226Quaternion foundation = Quaternion.Identity; 340Quaternion accumulator = AnimatedTypeHelpers.SubtractQuaternion(to, from); 365_keyValues = new Quaternion[2]; 372_keyValues = new Quaternion[2]; 379_keyValues = new Quaternion[1]; 386_keyValues = new Quaternion[1]; 392_keyValues = new Quaternion[1]; 413Quaternion? typedValue = (Quaternion?)value; 433public Quaternion? From 437return (Quaternion?)GetValue(FromProperty); 453public Quaternion? To 457return (Quaternion?)GetValue(ToProperty); 473public Quaternion? By 477return (Quaternion?)GetValue(ByProperty);
System\Windows\Media\Animation\Generated\QuaternionAnimationBase.cs (9)
84return GetCurrentValue((Quaternion)defaultOriginValue, (Quaternion)defaultDestinationValue, animationClock); 96return typeof(Quaternion); 133public Quaternion GetCurrentValue(Quaternion defaultOriginValue, Quaternion defaultDestinationValue, AnimationClock animationClock) 193protected abstract Quaternion GetCurrentValueCore(Quaternion defaultOriginValue, Quaternion defaultDestinationValue, AnimationClock animationClock);
System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (8)
309protected sealed override Quaternion GetCurrentValueCore( 310Quaternion defaultOriginValue, 311Quaternion defaultDestinationValue, 337Quaternion currentIterationValue; 373Quaternion fromValue; 618private Quaternion GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 929Quaternion prevKeyValue = _keyFrames[index - 1].Value; 933Quaternion currentKeyValue = _keyFrames[index].Value;
System\Windows\Media\Animation\Generated\QuaternionIndependentAnimationStorage.cs (2)
46Quaternion tempValue = (Quaternion)dobj.GetValue(_dependencyProperty);
System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (5)
1184public SplineQuaternionKeyFrame(Quaternion value) 1193public SplineQuaternionKeyFrame(Quaternion value, KeyTime keyTime) 1203public SplineQuaternionKeyFrame(Quaternion value, KeyTime keyTime, KeySpline keySpline) 1234protected override Quaternion InterpolateValueCore(Quaternion baseValue, double keyFrameProgress)
System\Windows\Media\Composition.cs (1)
64internal static MilQuaternionF QuaternionToMilQuaternionF(Quaternion q)
System\Windows\Media3D\AxisAngleRotation3D.cs (4)
69internal override Quaternion InternalQuaternion 89_cachedQuaternionValue = Quaternion.Identity; 115private Quaternion _cachedQuaternionValue = c_dirtyQuaternion; 120internal static readonly Quaternion c_dirtyQuaternion = new Quaternion(
System\Windows\Media3D\Converters\Generated\QuaternionValueSerializer.cs (5)
38if (!(value is Quaternion)) 53return Quaternion.Parse(value ); 66if (value is Quaternion) 68Quaternion instance = (Quaternion) value;
System\Windows\Media3D\Generated\Quaternion.cs (14)
47public static bool operator == (Quaternion quaternion1, Quaternion quaternion2) 73public static bool operator != (Quaternion quaternion1, Quaternion quaternion2) 89public static bool Equals (Quaternion quaternion1, Quaternion quaternion2) 117if ((null == o) || !(o is Quaternion)) 122Quaternion value = (Quaternion)o; 123return Quaternion.Equals(this,value); 137public bool Equals(Quaternion value) 139return Quaternion.Equals(this, value); 168public static Quaternion Parse(string source) 174Quaternion value;
System\Windows\Media3D\Generated\QuaternionConverter.cs (4)
84return Quaternion.Parse(source); 106if (destinationType != null && value is Quaternion) 108Quaternion instance = (Quaternion)value;
System\Windows\Media3D\Generated\QuaternionRotation3D.cs (8)
60target._cachedQuaternionValue = (Quaternion)e.NewValue; 72public Quaternion Quaternion 237private Quaternion _cachedQuaternionValue = Quaternion.Identity; 241internal static Quaternion s_Quaternion = Quaternion.Identity; 268typeof(Quaternion), 270Quaternion.Identity,
System\Windows\Media3D\Matrix3D.cs (5)
203public void Rotate(Quaternion quaternion) 214public void RotatePrepend(Quaternion quaternion) 226public void RotateAt(Quaternion quaternion, Point3D center) 236public void RotateAtPrepend(Quaternion quaternion, Point3D center) 1075internal static Matrix3D CreateRotationMatrix(ref Quaternion quaternion, ref Point3D center)
System\Windows\Media3D\Quaternion.cs (29)
95public static Quaternion Identity 265public static Quaternion operator +(Quaternion left, Quaternion right) 301public static Quaternion Add(Quaternion left, Quaternion right) 312public static Quaternion operator -(Quaternion left, Quaternion right) 347public static Quaternion Subtract(Quaternion left, Quaternion right) 358public static Quaternion operator *(Quaternion left, Quaternion right) 373Quaternion result = new Quaternion(x,y,z,w); 383public static Quaternion Multiply(Quaternion left, Quaternion right) 449public static Quaternion Slerp(Quaternion from, Quaternion to, double t) 464public static Quaternion Slerp(Quaternion from, Quaternion to, double t, bool useShortestPath) 733private static Quaternion GetIdentity() 736Quaternion q = new Quaternion(0,0,0,1); 746private static Quaternion s_identity = GetIdentity();
System\Windows\Media3D\QuaternionRotation3D.cs (2)
34public QuaternionRotation3D(Quaternion quaternion) 51internal override Quaternion InternalQuaternion { get { return _cachedQuaternionValue; } }
System\Windows\Media3D\RotateTransform3D.cs (1)
104Quaternion quaternion = rotation.InternalQuaternion;
System\Windows\Media3D\Rotation3D.cs (1)
75internal abstract Quaternion InternalQuaternion
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
588case 494: t = () => typeof(Quaternion); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
8004typeof(System.Windows.Media.Media3D.Quaternion),
System\Windows\Markup\KnownTypes.cs (1)
6048case KnownElements.Quaternion: t = typeof(System.Windows.Media.Media3D.Quaternion); break;