17 instantiations of Matrix3D
PresentationCore (15)
MS\Internal\Media3D\LineUtil.cs (1)
245new Matrix3D(a, y2, z2, 0,
MS\Internal\Media3D\M3DUtil.cs (1)
475return new Matrix3D(
System\Windows\Media3D\Camera.cs (1)
95viewMatrix = new Matrix3D(
System\Windows\Media3D\Generated\Matrix3D.cs (1)
228value = new Matrix3D(
System\Windows\Media3D\Matrix3D.cs (2)
433Matrix3D result = new Matrix3D( 1365Matrix3D matrix = new Matrix3D(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)
System\Windows\Media3D\MatrixCamera.cs (1)
170Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\OrthographicCamera.cs (2)
62return new Matrix3D( 194Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\PerspectiveCamera.cs (2)
84return new Matrix3D( 201Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\ProjectionCamera.cs (1)
85Matrix3D viewMatrix = new Matrix3D(
System\Windows\Media3D\ScaleTransform3D.cs (1)
105Matrix3D matrix = new Matrix3D();
System\Windows\Media3D\Transform3DGroup.cs (1)
56Matrix3D transform = new Matrix3D();
System\Windows\Media3D\TranslateTransform3D.cs (1)
78Matrix3D matrix = new Matrix3D();
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7249DefaultConstructor = delegate () { return new System.Windows.Media.Media3D.Matrix3D(); },
System\Windows\Markup\KnownTypes.cs (1)
1389case KnownElements.Matrix3D: o = new System.Windows.Media.Media3D.Matrix3D(); break;
159 references to Matrix3D
PresentationCore (156)
MS\Internal\Media\VisualTreeUtils.cs (2)
143Matrix3D worldTransform = Matrix3D.Identity;
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (2)
265Matrix3D cameraToObjectTransform = _worldTransformation * _camera.GetViewMatrix(); 1325private Matrix3D _worldTransformation;
MS\Internal\Media3D\LineUtil.cs (4)
81public static void Transform(Matrix3D modelMatrix, 122private static void TransformSingular(ref Matrix3D modelMatrix, 224private static double[,] TransformedLineMatrix(ref Matrix3D modelMatrix, 244Matrix3D m = modelMatrix *
MS\Internal\Media3D\M3DUtil.cs (11)
117Matrix3D matrix = transform.Value; 124internal static Rect3D ComputeTransformedAxisAlignedBoundingBox( /* IN */ ref Rect3D originalBox, /* IN */ ref Matrix3D matrix) 142internal static Rect3D ComputeTransformedAxisAlignedBoundingBoxAffine(/* IN */ ref Rect3D originalBox, /* IN */ ref Matrix3D matrix) 320internal static Rect3D ComputeTransformedAxisAlignedBoundingBoxNonAffine(/* IN */ ref Rect3D originalBox, /* IN */ ref Matrix3D matrix) 382internal static Matrix3D GetWorldToViewportTransform3D(Camera camera, Rect viewport) 412internal static Matrix3D GetHomogeneousToViewportTransform3D(Rect viewport) 504internal static Matrix3D GetWorldTransformationMatrix(Visual3D visual) 517internal static Matrix3D GetWorldTransformationMatrix(Visual3D visual3DStart, out Viewport3DVisual viewport) 520Matrix3D worldTransform = Matrix3D.Identity; 555internal static bool TryTransformToViewport3DVisual(Visual3D visual3D, out Viewport3DVisual viewport, out Matrix3D matrix)
System\Windows\Media\Composition.cs (1)
23internal static D3DMATRIX Matrix3DToD3DMATRIX(Matrix3D m)
System\Windows\Media\MILUtilities.cs (1)
167ref Matrix3D viewProjMatrix,
System\Windows\Media3D\Camera.cs (5)
65internal abstract Matrix3D GetViewMatrix(); 66internal abstract Matrix3D GetProjectionMatrix(double aspectRatio); 68internal static void PrependInverseTransform(Transform3D transform, ref Matrix3D viewMatrix) 90internal static void PrependInverseTransform(Matrix3D matrix, ref Matrix3D viewMatrix)
System\Windows\Media3D\Converters\Generated\Matrix3DValueSerializer.cs (3)
45if (!(value is Matrix3D)) 60return Matrix3D.Parse(value ); 73if (value is Matrix3D instance)
System\Windows\Media3D\GeneralTransform3DGroup.cs (2)
132Matrix3D matrix = Matrix3D.Identity;
System\Windows\Media3D\GeneralTransform3DTo2D.cs (2)
18internal GeneralTransform3DTo2D(Matrix3D projectionTransform, GeneralTransform transformBetween2D) 154private Matrix3D _projectionTransform;
System\Windows\Media3D\Generated\Matrix3D.cs (14)
53public static bool operator == (Matrix3D matrix1, Matrix3D matrix2) 91public static bool operator != (Matrix3D matrix1, Matrix3D matrix2) 107public static bool Equals (Matrix3D matrix1, Matrix3D matrix2) 147if ((null == o) || !(o is Matrix3D)) 152Matrix3D value = (Matrix3D)o; 153return Matrix3D.Equals(this,value); 167public bool Equals(Matrix3D value) 169return Matrix3D.Equals(this, value); 210public static Matrix3D Parse(string source) 216Matrix3D value;
System\Windows\Media3D\Generated\Matrix3DConverter.cs (4)
89return Matrix3D.Parse(source); 111if (destinationType != null && value is Matrix3D) 113Matrix3D instance = (Matrix3D)value;
System\Windows\Media3D\Generated\MatrixCamera.cs (12)
85public Matrix3D ViewMatrix 89return (Matrix3D) GetValue(ViewMatrixProperty); 100public Matrix3D ProjectionMatrix 104return (Matrix3D) GetValue(ProjectionMatrixProperty); 281internal static Matrix3D s_ViewMatrix = Matrix3D.Identity; 282internal static Matrix3D s_ProjectionMatrix = Matrix3D.Identity; 308typeof(Matrix3D), 310Matrix3D.Identity, 317typeof(Matrix3D), 319Matrix3D.Identity,
System\Windows\Media3D\Generated\MatrixTransform3D.cs (6)
78public Matrix3D Matrix 82return (Matrix3D) GetValue(MatrixProperty); 248internal static Matrix3D s_Matrix = Matrix3D.Identity; 274typeof(Matrix3D), 276Matrix3D.Identity,
System\Windows\Media3D\HitTestParameters3D.cs (5)
105internal Matrix3D WorldTransformMatrix 138internal Matrix3D ModelTransformMatrix 178internal Matrix3D HitTestProjectionMatrix 190_hitTestProjectionMatrix = new Matrix3D?(value); 208private Matrix3D? _hitTestProjectionMatrix = null;
System\Windows\Media3D\Matrix3D.cs (15)
112public static Matrix3D Identity 174public void Prepend(Matrix3D matrix) 183public void Append(Matrix3D matrix) 424public static Matrix3D operator * (Matrix3D matrix1, Matrix3D matrix2) 433Matrix3D result = new Matrix3D( 476public static Matrix3D Multiply(Matrix3D matrix1, Matrix3D matrix2) 1074internal static Matrix3D CreateRotationMatrix(ref Quaternion quaternion, ref Point3D center) 1076Matrix3D matrix = s_identity; 1362private static Matrix3D CreateIdentity() 1365Matrix3D matrix = new Matrix3D(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1) 1455private static readonly Matrix3D s_identity = CreateIdentity();
System\Windows\Media3D\Matrix3DStack.cs (6)
37public Matrix3D Pop() 39Matrix3D top = Top; 48public void Push(Matrix3D matrix) 80public Matrix3D Top 102private readonly List<Matrix3D> _stack = new List<Matrix3D>();
System\Windows\Media3D\MatrixCamera.cs (8)
32public MatrixCamera(Matrix3D viewMatrix, Matrix3D projectionMatrix) 63internal override Matrix3D GetViewMatrix() 65Matrix3D viewMatrix = ViewMatrix; 70internal override Matrix3D GetProjectionMatrix(double aspectRatio) { return ProjectionMatrix; } 92Matrix3D worldToCamera = GetViewMatrix() * ProjectionMatrix; 93Matrix3D cameraToWorld = worldToCamera; 170Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\MatrixTransform3D.cs (3)
39public MatrixTransform3D(Matrix3D matrix) 63public override Matrix3D Value 84internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\MeshGeometry3D.cs (6)
371Matrix3D worldTransformMatrix = rayParams.HasWorldTransformMatrix ? rayParams.WorldTransformMatrix : Matrix3D.Identity; 395Matrix3D m = rayParams.HitTestProjectionMatrix; 440Matrix3D worldTransformMatrix = rayParams.HasWorldTransformMatrix ? rayParams.WorldTransformMatrix : Matrix3D.Identity; 481Matrix3D m = rayParams.HitTestProjectionMatrix;
System\Windows\Media3D\OrthographicCamera.cs (6)
54internal Matrix3D GetProjectionMatrix(double aspectRatio, double zn, double zf) 69internal override Matrix3D GetProjectionMatrix(double aspectRatio) 101Matrix3D viewMatrix = CreateViewMatrix(Transform, ref position, ref lookDirection, ref upDirection); 102Matrix3D invView = viewMatrix; 186Matrix3D projectionMatrix = GetProjectionMatrix(aspectRatio, zn, zf); 194Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\PerspectiveCamera.cs (7)
64internal Matrix3D GetProjectionMatrix(double aspectRatio, double zn, double zf) 91internal override Matrix3D GetProjectionMatrix(double aspectRatio) 144Matrix3D viewMatrix = CreateViewMatrix(transform: null, ref position, ref lookDirection, ref upDirection); 145Matrix3D invView = viewMatrix; 180Matrix3D m = transform.Value; 193Matrix3D projectionMatrix = GetProjectionMatrix(aspectRatio, zn, zf); 201Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\Point3D.cs (2)
162public static Point3D operator *(Point3D point, Matrix3D matrix) 173public static Point3D Multiply(Point3D point, Matrix3D matrix)
System\Windows\Media3D\Point4D.cs (2)
132public static Point4D operator *(Point4D point, Matrix3D matrix) 143public static Point4D Multiply(Point4D point, Matrix3D matrix)
System\Windows\Media3D\ProjectionCamera.cs (3)
55internal override Matrix3D GetViewMatrix() 70internal static Matrix3D CreateViewMatrix(Transform3D transform, ref Point3D position, ref Vector3D lookDirection, ref Vector3D upDirection) 85Matrix3D viewMatrix = new Matrix3D(
System\Windows\Media3D\RotateTransform3D.cs (4)
90public override Matrix3D Value 100return Matrix3D.Identity; 106return Matrix3D.CreateRotationMatrix(ref quaternion, ref center); 112internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\ScaleTransform3D.cs (3)
99public override Matrix3D Value 105Matrix3D matrix = new Matrix3D(); 114internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\Transform3D.cs (3)
136Matrix3D matrix = Value; 196public abstract Matrix3D Value { get; } 200internal abstract void Append(ref Matrix3D matrix);
System\Windows\Media3D\Transform3DGroup.cs (3)
50public override Matrix3D Value 56Matrix3D transform = new Matrix3D(); 97internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\TranslateTransform3D.cs (3)
72public override Matrix3D Value 78Matrix3D matrix = new Matrix3D(); 87internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\Vector3D.cs (2)
381public static Vector3D operator *(Vector3D vector, Matrix3D matrix) 392public static Vector3D Multiply(Vector3D vector, Matrix3D matrix)
System\Windows\Media3D\Viewport3DVisual.cs (2)
505Matrix3D viewProjMatrix = camera.GetViewMatrix() * camera.GetProjectionMatrix(aspectRatio); 570Matrix3D viewProjMatrix = camera.GetViewMatrix() * camera.GetProjectionMatrix(aspectRatio);
System\Windows\Media3D\Visual3D.cs (4)
1657Matrix3D m = Matrix3D.Identity; 1691m = Matrix3D.Identity; 1795Matrix3D projectionTransform;
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
479case 386: t = () => typeof(Matrix3D); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7246typeof(System.Windows.Media.Media3D.Matrix3D),
System\Windows\Markup\KnownTypes.cs (1)
5933case KnownElements.Matrix3D: t = typeof(System.Windows.Media.Media3D.Matrix3D); break;