17 instantiations of Matrix3D
PresentationCore (15)
MS\Internal\Media3D\LineUtil.cs (1)
246new Matrix3D(a, y2, z2, 0,
MS\Internal\Media3D\M3DUtil.cs (1)
476return new Matrix3D(
System\Windows\Media3D\Camera.cs (1)
96viewMatrix = new Matrix3D(
System\Windows\Media3D\Generated\Matrix3D.cs (1)
222value = new Matrix3D(
System\Windows\Media3D\Matrix3D.cs (2)
434Matrix3D result = new Matrix3D( 1366Matrix3D 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)
171Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\OrthographicCamera.cs (2)
63return new Matrix3D( 195Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\PerspectiveCamera.cs (2)
85return new Matrix3D( 202Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\ProjectionCamera.cs (1)
86Matrix3D viewMatrix = new Matrix3D(
System\Windows\Media3D\ScaleTransform3D.cs (1)
106Matrix3D matrix = new Matrix3D();
System\Windows\Media3D\Transform3DGroup.cs (1)
57Matrix3D transform = new Matrix3D();
System\Windows\Media3D\TranslateTransform3D.cs (1)
79Matrix3D matrix = new Matrix3D();
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6609bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.Media3D.Matrix3D(); };
System\Windows\Markup\KnownTypes.cs (1)
1396case KnownElements.Matrix3D: o = new System.Windows.Media.Media3D.Matrix3D(); break;
161 references to Matrix3D
PresentationCore (158)
MS\Internal\Media\VisualTreeUtils.cs (2)
144Matrix3D worldTransform = Matrix3D.Identity;
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (2)
270Matrix3D cameraToObjectTransform = _worldTransformation * _camera.GetViewMatrix(); 1330private Matrix3D _worldTransformation;
MS\Internal\Media3D\LineUtil.cs (4)
82public static void Transform(Matrix3D modelMatrix, 123private static void TransformSingular(ref Matrix3D modelMatrix, 225private static double[,] TransformedLineMatrix(ref Matrix3D modelMatrix, 245Matrix3D m = modelMatrix *
MS\Internal\Media3D\M3DUtil.cs (11)
118Matrix3D matrix = transform.Value; 125internal static Rect3D ComputeTransformedAxisAlignedBoundingBox( /* IN */ ref Rect3D originalBox, /* IN */ ref Matrix3D matrix) 143internal static Rect3D ComputeTransformedAxisAlignedBoundingBoxAffine(/* IN */ ref Rect3D originalBox, /* IN */ ref Matrix3D matrix) 321internal static Rect3D ComputeTransformedAxisAlignedBoundingBoxNonAffine(/* IN */ ref Rect3D originalBox, /* IN */ ref Matrix3D matrix) 383internal static Matrix3D GetWorldToViewportTransform3D(Camera camera, Rect viewport) 413internal static Matrix3D GetHomogeneousToViewportTransform3D(Rect viewport) 505internal static Matrix3D GetWorldTransformationMatrix(Visual3D visual) 518internal static Matrix3D GetWorldTransformationMatrix(Visual3D visual3DStart, out Viewport3DVisual viewport) 521Matrix3D worldTransform = Matrix3D.Identity; 559internal static bool TryTransformToViewport3DVisual(Visual3D visual3D, out Viewport3DVisual viewport, out Matrix3D matrix)
System\Windows\Media\Composition.cs (1)
24internal static D3DMATRIX Matrix3DToD3DMATRIX(Matrix3D m)
System\Windows\Media\MILUtilities.cs (1)
168ref Matrix3D viewProjMatrix,
System\Windows\Media3D\Camera.cs (5)
66internal abstract Matrix3D GetViewMatrix(); 67internal abstract Matrix3D GetProjectionMatrix(double aspectRatio); 69internal static void PrependInverseTransform(Transform3D transform, ref Matrix3D viewMatrix) 91internal static void PrependInverseTransform(Matrix3D matrix, ref Matrix3D viewMatrix)
System\Windows\Media3D\Converters\Generated\Matrix3DValueSerializer.cs (5)
38if (!(value is Matrix3D)) 53return Matrix3D.Parse(value ); 66if (value is Matrix3D) 68Matrix3D instance = (Matrix3D) value;
System\Windows\Media3D\GeneralTransform3DGroup.cs (2)
133Matrix3D matrix = Matrix3D.Identity;
System\Windows\Media3D\GeneralTransform3DTo2D.cs (2)
19internal GeneralTransform3DTo2D(Matrix3D projectionTransform, GeneralTransform transformBetween2D) 155private Matrix3D _projectionTransform;
System\Windows\Media3D\Generated\Matrix3D.cs (14)
47public static bool operator == (Matrix3D matrix1, Matrix3D matrix2) 85public static bool operator != (Matrix3D matrix1, Matrix3D matrix2) 101public static bool Equals (Matrix3D matrix1, Matrix3D matrix2) 141if ((null == o) || !(o is Matrix3D)) 146Matrix3D value = (Matrix3D)o; 147return Matrix3D.Equals(this,value); 161public bool Equals(Matrix3D value) 163return Matrix3D.Equals(this, value); 204public static Matrix3D Parse(string source) 210Matrix3D value;
System\Windows\Media3D\Generated\Matrix3DConverter.cs (4)
84return Matrix3D.Parse(source); 106if (destinationType != null && value is Matrix3D) 108Matrix3D instance = (Matrix3D)value;
System\Windows\Media3D\Generated\MatrixCamera.cs (12)
77public Matrix3D ViewMatrix 81return (Matrix3D) GetValue(ViewMatrixProperty); 92public Matrix3D ProjectionMatrix 96return (Matrix3D) GetValue(ProjectionMatrixProperty); 268internal static Matrix3D s_ViewMatrix = Matrix3D.Identity; 269internal static Matrix3D s_ProjectionMatrix = Matrix3D.Identity; 296typeof(Matrix3D), 298Matrix3D.Identity, 305typeof(Matrix3D), 307Matrix3D.Identity,
System\Windows\Media3D\Generated\MatrixTransform3D.cs (6)
70public Matrix3D Matrix 74return (Matrix3D) GetValue(MatrixProperty); 231internal static Matrix3D s_Matrix = Matrix3D.Identity; 258typeof(Matrix3D), 260Matrix3D.Identity,
System\Windows\Media3D\HitTestParameters3D.cs (5)
106internal Matrix3D WorldTransformMatrix 139internal Matrix3D ModelTransformMatrix 179internal Matrix3D HitTestProjectionMatrix 191_hitTestProjectionMatrix = new Matrix3D?(value); 209private Matrix3D? _hitTestProjectionMatrix = null;
System\Windows\Media3D\Matrix3D.cs (15)
113public static Matrix3D Identity 175public void Prepend(Matrix3D matrix) 184public void Append(Matrix3D matrix) 425public static Matrix3D operator * (Matrix3D matrix1, Matrix3D matrix2) 434Matrix3D result = new Matrix3D( 477public static Matrix3D Multiply(Matrix3D matrix1, Matrix3D matrix2) 1075internal static Matrix3D CreateRotationMatrix(ref Quaternion quaternion, ref Point3D center) 1077Matrix3D matrix = s_identity; 1363private static Matrix3D CreateIdentity() 1366Matrix3D matrix = new Matrix3D(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1); 1454private static readonly Matrix3D s_identity = CreateIdentity();
System\Windows\Media3D\Matrix3DStack.cs (6)
38public Matrix3D Pop() 40Matrix3D top = Top; 49public void Push(Matrix3D matrix) 81public Matrix3D Top 103private readonly List<Matrix3D> _stack = new List<Matrix3D>();
System\Windows\Media3D\MatrixCamera.cs (8)
33public MatrixCamera(Matrix3D viewMatrix, Matrix3D projectionMatrix) 64internal override Matrix3D GetViewMatrix() 66Matrix3D viewMatrix = ViewMatrix; 71internal override Matrix3D GetProjectionMatrix(double aspectRatio) { return ProjectionMatrix; } 93Matrix3D worldToCamera = GetViewMatrix() * ProjectionMatrix; 94Matrix3D cameraToWorld = worldToCamera; 171Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\MatrixTransform3D.cs (3)
40public MatrixTransform3D(Matrix3D matrix) 64public override Matrix3D Value 85internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\MeshGeometry3D.cs (6)
372Matrix3D worldTransformMatrix = rayParams.HasWorldTransformMatrix ? rayParams.WorldTransformMatrix : Matrix3D.Identity; 396Matrix3D m = rayParams.HitTestProjectionMatrix; 441Matrix3D worldTransformMatrix = rayParams.HasWorldTransformMatrix ? rayParams.WorldTransformMatrix : Matrix3D.Identity; 482Matrix3D m = rayParams.HitTestProjectionMatrix;
System\Windows\Media3D\OrthographicCamera.cs (6)
55internal Matrix3D GetProjectionMatrix(double aspectRatio, double zn, double zf) 70internal override Matrix3D GetProjectionMatrix(double aspectRatio) 102Matrix3D viewMatrix = CreateViewMatrix(Transform, ref position, ref lookDirection, ref upDirection); 103Matrix3D invView = viewMatrix; 187Matrix3D projectionMatrix = GetProjectionMatrix(aspectRatio, zn, zf); 195Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\PerspectiveCamera.cs (7)
65internal Matrix3D GetProjectionMatrix(double aspectRatio, double zn, double zf) 92internal override Matrix3D GetProjectionMatrix(double aspectRatio) 145Matrix3D viewMatrix = CreateViewMatrix(/* trasform = */ null, ref position, ref lookDirection, ref upDirection); 146Matrix3D invView = viewMatrix; 181Matrix3D m = transform.Value; 194Matrix3D projectionMatrix = GetProjectionMatrix(aspectRatio, zn, zf); 202Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\Point3D.cs (2)
163public static Point3D operator *(Point3D point, Matrix3D matrix) 174public static Point3D Multiply(Point3D point, Matrix3D matrix)
System\Windows\Media3D\Point4D.cs (2)
133public static Point4D operator *(Point4D point, Matrix3D matrix) 144public static Point4D Multiply(Point4D point, Matrix3D matrix)
System\Windows\Media3D\ProjectionCamera.cs (3)
56internal override Matrix3D GetViewMatrix() 71internal static Matrix3D CreateViewMatrix(Transform3D transform, ref Point3D position, ref Vector3D lookDirection, ref Vector3D upDirection) 86Matrix3D viewMatrix = new Matrix3D(
System\Windows\Media3D\RotateTransform3D.cs (4)
91public override Matrix3D Value 101return Matrix3D.Identity; 107return Matrix3D.CreateRotationMatrix(ref quaternion, ref center); 113internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\ScaleTransform3D.cs (3)
100public override Matrix3D Value 106Matrix3D matrix = new Matrix3D(); 115internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\Transform3D.cs (3)
137Matrix3D matrix = Value; 197public abstract Matrix3D Value { get; } 201internal abstract void Append(ref Matrix3D matrix);
System\Windows\Media3D\Transform3DGroup.cs (3)
51public override Matrix3D Value 57Matrix3D transform = new Matrix3D(); 98internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\TranslateTransform3D.cs (3)
73public override Matrix3D Value 79Matrix3D matrix = new Matrix3D(); 88internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\Vector3D.cs (2)
382public static Vector3D operator *(Vector3D vector, Matrix3D matrix) 393public static Vector3D Multiply(Vector3D vector, Matrix3D matrix)
System\Windows\Media3D\Viewport3DVisual.cs (2)
512Matrix3D viewProjMatrix = camera.GetViewMatrix() * camera.GetProjectionMatrix(aspectRatio); 577Matrix3D viewProjMatrix = camera.GetViewMatrix() * camera.GetProjectionMatrix(aspectRatio);
System\Windows\Media3D\Visual3D.cs (4)
1658Matrix3D m = Matrix3D.Identity; 1695m = Matrix3D.Identity; 1802Matrix3D projectionTransform;
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
480case 386: t = () => typeof(Matrix3D); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6607typeof(System.Windows.Media.Media3D.Matrix3D),
System\Windows\Markup\KnownTypes.cs (1)
5940case KnownElements.Matrix3D: t = typeof(System.Windows.Media.Media3D.Matrix3D); break;