17 instantiations of Matrix3D
PresentationCore (15)
Core\CSharp\MS\Internal\Media3D\LineUtil.cs (1)
252new Matrix3D(a, y2, z2, 0,
Core\CSharp\MS\Internal\Media3D\M3DUtil.cs (1)
480return new Matrix3D(
Core\CSharp\System\Windows\Media3D\Camera.cs (1)
102viewMatrix = new Matrix3D(
Core\CSharp\System\Windows\Media3D\Generated\Matrix3D.cs (1)
248value = new Matrix3D(
Core\CSharp\System\Windows\Media3D\Matrix3D.cs (2)
452Matrix3D result = new Matrix3D( 1384Matrix3D matrix = new Matrix3D(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1);
Core\CSharp\System\Windows\Media3D\MatrixCamera.cs (1)
184Matrix3D viewportMatrix = new Matrix3D();
Core\CSharp\System\Windows\Media3D\OrthographicCamera.cs (2)
70return new Matrix3D( 202Matrix3D viewportMatrix = new Matrix3D();
Core\CSharp\System\Windows\Media3D\PerspectiveCamera.cs (2)
92return new Matrix3D( 209Matrix3D viewportMatrix = new Matrix3D();
Core\CSharp\System\Windows\Media3D\ProjectionCamera.cs (1)
89Matrix3D viewMatrix = new Matrix3D(
Core\CSharp\System\Windows\Media3D\ScaleTransform3D.cs (1)
117Matrix3D matrix = new Matrix3D();
Core\CSharp\System\Windows\Media3D\Transform3DGroup.cs (1)
79Matrix3D transform = new Matrix3D();
Core\CSharp\System\Windows\Media3D\TranslateTransform3D.cs (1)
90Matrix3D matrix = new Matrix3D();
PresentationFramework (2)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6607bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.Media3D.Matrix3D(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1397case KnownElements.Matrix3D: o = new System.Windows.Media.Media3D.Matrix3D(); break;
161 references to Matrix3D
PresentationCore (158)
Core\CSharp\MS\Internal\Media\VisualTreeUtils.cs (2)
158Matrix3D worldTransform = Matrix3D.Identity;
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (2)
285Matrix3D cameraToObjectTransform = _worldTransformation * _camera.GetViewMatrix(); 1346private Matrix3D _worldTransformation;
Core\CSharp\MS\Internal\Media3D\LineUtil.cs (4)
88public static void Transform(Matrix3D modelMatrix, 129private static void TransformSingular(ref Matrix3D modelMatrix, 231private static double[,] TransformedLineMatrix(ref Matrix3D modelMatrix, 251Matrix3D m = modelMatrix *
Core\CSharp\MS\Internal\Media3D\M3DUtil.cs (11)
122Matrix3D matrix = transform.Value; 129internal static Rect3D ComputeTransformedAxisAlignedBoundingBox( /* IN */ ref Rect3D originalBox, /* IN */ ref Matrix3D matrix) 147internal static Rect3D ComputeTransformedAxisAlignedBoundingBoxAffine(/* IN */ ref Rect3D originalBox, /* IN */ ref Matrix3D matrix) 325internal static Rect3D ComputeTransformedAxisAlignedBoundingBoxNonAffine(/* IN */ ref Rect3D originalBox, /* IN */ ref Matrix3D matrix) 387internal static Matrix3D GetWorldToViewportTransform3D(Camera camera, Rect viewport) 417internal static Matrix3D GetHomogeneousToViewportTransform3D(Rect viewport) 510internal static Matrix3D GetWorldTransformationMatrix(Visual3D visual) 523internal static Matrix3D GetWorldTransformationMatrix(Visual3D visual3DStart, out Viewport3DVisual viewport) 526Matrix3D worldTransform = Matrix3D.Identity; 564internal static bool TryTransformToViewport3DVisual(Visual3D visual3D, out Viewport3DVisual viewport, out Matrix3D matrix)
Core\CSharp\System\Windows\Media\Composition.cs (1)
42internal static D3DMATRIX Matrix3DToD3DMATRIX(Matrix3D m)
Core\CSharp\System\windows\Media\MILUtilities.cs (1)
201ref Matrix3D viewProjMatrix,
Core\CSharp\System\Windows\Media3D\Camera.cs (5)
72internal abstract Matrix3D GetViewMatrix(); 73internal abstract Matrix3D GetProjectionMatrix(double aspectRatio); 75internal static void PrependInverseTransform(Transform3D transform, ref Matrix3D viewMatrix) 97internal static void PrependInverseTransform(Matrix3D matrix, ref Matrix3D viewMatrix)
Core\CSharp\System\Windows\Media3d\Converters\Generated\Matrix3DValueSerializer.cs (5)
62if (!(value is Matrix3D)) 78return Matrix3D.Parse(value ); 92if (value is Matrix3D) 94Matrix3D instance = (Matrix3D) value;
Core\CSharp\System\Windows\Media3D\GeneralTransform3DGroup.cs (2)
154Matrix3D matrix = Matrix3D.Identity;
Core\CSharp\System\Windows\Media3D\GeneralTransform3DTo2D.cs (2)
31internal GeneralTransform3DTo2D(Matrix3D projectionTransform, GeneralTransform transformBetween2D) 171private Matrix3D _projectionTransform;
Core\CSharp\System\Windows\Media3D\Generated\Matrix3D.cs (14)
73public static bool operator == (Matrix3D matrix1, Matrix3D matrix2) 111public static bool operator != (Matrix3D matrix1, Matrix3D matrix2) 127public static bool Equals (Matrix3D matrix1, Matrix3D matrix2) 167if ((null == o) || !(o is Matrix3D)) 172Matrix3D value = (Matrix3D)o; 173return Matrix3D.Equals(this,value); 187public bool Equals(Matrix3D value) 189return Matrix3D.Equals(this, value); 230public static Matrix3D Parse(string source) 236Matrix3D value;
Core\CSharp\System\Windows\Media3D\Generated\Matrix3DConverter.cs (4)
106return Matrix3D.Parse(source); 128if (destinationType != null && value is Matrix3D) 130Matrix3D instance = (Matrix3D)value;
Core\CSharp\System\Windows\Media3D\Generated\MatrixCamera.cs (12)
107public Matrix3D ViewMatrix 111return (Matrix3D) GetValue(ViewMatrixProperty); 122public Matrix3D ProjectionMatrix 126return (Matrix3D) GetValue(ProjectionMatrixProperty); 309internal static Matrix3D s_ViewMatrix = Matrix3D.Identity; 310internal static Matrix3D s_ProjectionMatrix = Matrix3D.Identity; 337typeof(Matrix3D), 339Matrix3D.Identity, 346typeof(Matrix3D), 348Matrix3D.Identity,
Core\CSharp\System\Windows\Media3D\Generated\MatrixTransform3D.cs (6)
100public Matrix3D Matrix 104return (Matrix3D) GetValue(MatrixProperty); 276internal static Matrix3D s_Matrix = Matrix3D.Identity; 303typeof(Matrix3D), 305Matrix3D.Identity,
Core\CSharp\System\Windows\Media3D\HitTestParameters3D.cs (5)
117internal Matrix3D WorldTransformMatrix 150internal Matrix3D ModelTransformMatrix 190internal Matrix3D HitTestProjectionMatrix 202_hitTestProjectionMatrix = new Matrix3D?(value); 220private Matrix3D? _hitTestProjectionMatrix = null;
Core\CSharp\System\Windows\Media3D\Matrix3D.cs (15)
131public static Matrix3D Identity 193public void Prepend(Matrix3D matrix) 202public void Append(Matrix3D matrix) 443public static Matrix3D operator * (Matrix3D matrix1, Matrix3D matrix2) 452Matrix3D result = new Matrix3D( 495public static Matrix3D Multiply(Matrix3D matrix1, Matrix3D matrix2) 1093internal static Matrix3D CreateRotationMatrix(ref Quaternion quaternion, ref Point3D center) 1095Matrix3D matrix = s_identity; 1381private static Matrix3D CreateIdentity() 1384Matrix3D matrix = new Matrix3D(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1); 1472private static readonly Matrix3D s_identity = CreateIdentity();
Core\CSharp\System\Windows\Media3D\Matrix3DStack.cs (6)
47public Matrix3D Pop() 49Matrix3D top = Top; 58public void Push(Matrix3D matrix) 90public Matrix3D Top 112private readonly List<Matrix3D> _stack = new List<Matrix3D>();
Core\CSharp\System\Windows\Media3D\MatrixCamera.cs (8)
46public MatrixCamera(Matrix3D viewMatrix, Matrix3D projectionMatrix) 77internal override Matrix3D GetViewMatrix() 79Matrix3D viewMatrix = ViewMatrix; 84internal override Matrix3D GetProjectionMatrix(double aspectRatio) { return ProjectionMatrix; } 106Matrix3D worldToCamera = GetViewMatrix() * ProjectionMatrix; 107Matrix3D cameraToWorld = worldToCamera; 184Matrix3D viewportMatrix = new Matrix3D();
Core\CSharp\System\Windows\Media3D\MatrixTransform3D.cs (3)
51public MatrixTransform3D(Matrix3D matrix) 75public override Matrix3D Value 96internal override void Append(ref Matrix3D matrix)
Core\CSharp\System\Windows\Media3D\MeshGeometry3D.cs (6)
383Matrix3D worldTransformMatrix = rayParams.HasWorldTransformMatrix ? rayParams.WorldTransformMatrix : Matrix3D.Identity; 407Matrix3D m = rayParams.HitTestProjectionMatrix; 452Matrix3D worldTransformMatrix = rayParams.HasWorldTransformMatrix ? rayParams.WorldTransformMatrix : Matrix3D.Identity; 493Matrix3D m = rayParams.HitTestProjectionMatrix;
Core\CSharp\System\Windows\Media3D\OrthographicCamera.cs (6)
62internal Matrix3D GetProjectionMatrix(double aspectRatio, double zn, double zf) 77internal override Matrix3D GetProjectionMatrix(double aspectRatio) 109Matrix3D viewMatrix = CreateViewMatrix(Transform, ref position, ref lookDirection, ref upDirection); 110Matrix3D invView = viewMatrix; 194Matrix3D projectionMatrix = GetProjectionMatrix(aspectRatio, zn, zf); 202Matrix3D viewportMatrix = new Matrix3D();
Core\CSharp\System\Windows\Media3D\PerspectiveCamera.cs (7)
72internal Matrix3D GetProjectionMatrix(double aspectRatio, double zn, double zf) 99internal override Matrix3D GetProjectionMatrix(double aspectRatio) 152Matrix3D viewMatrix = CreateViewMatrix(/* trasform = */ null, ref position, ref lookDirection, ref upDirection); 153Matrix3D invView = viewMatrix; 188Matrix3D m = transform.Value; 201Matrix3D projectionMatrix = GetProjectionMatrix(aspectRatio, zn, zf); 209Matrix3D viewportMatrix = new Matrix3D();
Core\CSharp\System\Windows\Media3D\Point3D.cs (2)
171public static Point3D operator *(Point3D point, Matrix3D matrix) 182public static Point3D Multiply(Point3D point, Matrix3D matrix)
Core\CSharp\System\Windows\Media3D\Point4D.cs (2)
141public static Point4D operator *(Point4D point, Matrix3D matrix) 152public static Point4D Multiply(Point4D point, Matrix3D matrix)
Core\CSharp\System\Windows\Media3D\ProjectionCamera.cs (3)
59internal override Matrix3D GetViewMatrix() 74internal static Matrix3D CreateViewMatrix(Transform3D transform, ref Point3D position, ref Vector3D lookDirection, ref Vector3D upDirection) 89Matrix3D viewMatrix = new Matrix3D(
Core\CSharp\System\Windows\Media3D\RotateTransform3D.cs (4)
103public override Matrix3D Value 113return Matrix3D.Identity; 119return Matrix3D.CreateRotationMatrix(ref quaternion, ref center); 125internal override void Append(ref Matrix3D matrix)
Core\CSharp\System\Windows\Media3D\ScaleTransform3D.cs (3)
111public override Matrix3D Value 117Matrix3D matrix = new Matrix3D(); 126internal override void Append(ref Matrix3D matrix)
Core\CSharp\System\Windows\Media3D\Transform3D.cs (3)
146Matrix3D matrix = Value; 207public abstract Matrix3D Value { get; } 211internal abstract void Append(ref Matrix3D matrix);
Core\CSharp\System\Windows\Media3D\Transform3DGroup.cs (3)
73public override Matrix3D Value 79Matrix3D transform = new Matrix3D(); 120internal override void Append(ref Matrix3D matrix)
Core\CSharp\System\Windows\Media3D\TranslateTransform3D.cs (3)
84public override Matrix3D Value 90Matrix3D matrix = new Matrix3D(); 99internal override void Append(ref Matrix3D matrix)
Core\CSharp\System\Windows\Media3D\Vector3D.cs (2)
391public static Vector3D operator *(Vector3D vector, Matrix3D matrix) 402public static Vector3D Multiply(Vector3D vector, Matrix3D matrix)
Core\CSharp\System\Windows\Media3D\Viewport3DVisual.cs (2)
527Matrix3D viewProjMatrix = camera.GetViewMatrix() * camera.GetProjectionMatrix(aspectRatio); 592Matrix3D viewProjMatrix = camera.GetViewMatrix() * camera.GetProjectionMatrix(aspectRatio);
Core\CSharp\System\Windows\Media3D\Visual3D.cs (4)
1694Matrix3D m = Matrix3D.Identity; 1731m = Matrix3D.Identity; 1841Matrix3D projectionTransform;
PresentationFramework (3)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
478case 386: t = () => typeof(Matrix3D); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6605typeof(System.Windows.Media.Media3D.Matrix3D),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5930case KnownElements.Matrix3D: t = typeof(System.Windows.Media.Media3D.Matrix3D); break;