17 instantiations of Matrix3D
PresentationCore (15)
MS\Internal\Media3D\LineUtil.cs (1)
251new Matrix3D(a, y2, z2, 0,
MS\Internal\Media3D\M3DUtil.cs (1)
479return new Matrix3D(
System\Windows\Media3D\Camera.cs (1)
100viewMatrix = new Matrix3D(
System\Windows\Media3D\Generated\Matrix3D.cs (1)
243value = new Matrix3D(
System\Windows\Media3D\Matrix3D.cs (2)
448Matrix3D result = new Matrix3D( 1380Matrix3D 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)
182Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\OrthographicCamera.cs (2)
69return new Matrix3D( 201Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\PerspectiveCamera.cs (2)
91return new Matrix3D( 208Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\ProjectionCamera.cs (1)
88Matrix3D viewMatrix = new Matrix3D(
System\Windows\Media3D\ScaleTransform3D.cs (1)
114Matrix3D matrix = new Matrix3D();
System\Windows\Media3D\Transform3DGroup.cs (1)
74Matrix3D transform = new Matrix3D();
System\Windows\Media3D\TranslateTransform3D.cs (1)
87Matrix3D matrix = new Matrix3D();
PresentationFramework (2)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6611bamlType.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)
150Matrix3D worldTransform = Matrix3D.Identity;
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (2)
286Matrix3D cameraToObjectTransform = _worldTransformation * _camera.GetViewMatrix(); 1346private Matrix3D _worldTransformation;
MS\Internal\Media3D\LineUtil.cs (4)
87public static void Transform(Matrix3D modelMatrix, 128private static void TransformSingular(ref Matrix3D modelMatrix, 230private static double[,] TransformedLineMatrix(ref Matrix3D modelMatrix, 250Matrix3D m = modelMatrix *
MS\Internal\Media3D\M3DUtil.cs (11)
121Matrix3D matrix = transform.Value; 128internal static Rect3D ComputeTransformedAxisAlignedBoundingBox( /* IN */ ref Rect3D originalBox, /* IN */ ref Matrix3D matrix) 146internal static Rect3D ComputeTransformedAxisAlignedBoundingBoxAffine(/* IN */ ref Rect3D originalBox, /* IN */ ref Matrix3D matrix) 324internal static Rect3D ComputeTransformedAxisAlignedBoundingBoxNonAffine(/* IN */ ref Rect3D originalBox, /* IN */ ref Matrix3D matrix) 386internal static Matrix3D GetWorldToViewportTransform3D(Camera camera, Rect viewport) 416internal static Matrix3D GetHomogeneousToViewportTransform3D(Rect viewport) 508internal static Matrix3D GetWorldTransformationMatrix(Visual3D visual) 521internal static Matrix3D GetWorldTransformationMatrix(Visual3D visual3DStart, out Viewport3DVisual viewport) 524Matrix3D worldTransform = Matrix3D.Identity; 562internal static bool TryTransformToViewport3DVisual(Visual3D visual3D, out Viewport3DVisual viewport, out Matrix3D matrix)
System\Windows\Media\Composition.cs (1)
40internal static D3DMATRIX Matrix3DToD3DMATRIX(Matrix3D m)
System\Windows\Media\MILUtilities.cs (1)
174ref Matrix3D viewProjMatrix,
System\Windows\Media3D\Camera.cs (5)
70internal abstract Matrix3D GetViewMatrix(); 71internal abstract Matrix3D GetProjectionMatrix(double aspectRatio); 73internal static void PrependInverseTransform(Transform3D transform, ref Matrix3D viewMatrix) 95internal static void PrependInverseTransform(Matrix3D matrix, ref Matrix3D viewMatrix)
System\Windows\Media3D\Converters\Generated\Matrix3DValueSerializer.cs (5)
59if (!(value is Matrix3D)) 74return Matrix3D.Parse(value ); 87if (value is Matrix3D) 89Matrix3D instance = (Matrix3D) value;
System\Windows\Media3D\GeneralTransform3DGroup.cs (2)
150Matrix3D matrix = Matrix3D.Identity;
System\Windows\Media3D\GeneralTransform3DTo2D.cs (2)
28internal GeneralTransform3DTo2D(Matrix3D projectionTransform, GeneralTransform transformBetween2D) 164private Matrix3D _projectionTransform;
System\Windows\Media3D\Generated\Matrix3D.cs (14)
68public static bool operator == (Matrix3D matrix1, Matrix3D matrix2) 106public static bool operator != (Matrix3D matrix1, Matrix3D matrix2) 122public static bool Equals (Matrix3D matrix1, Matrix3D matrix2) 162if ((null == o) || !(o is Matrix3D)) 167Matrix3D value = (Matrix3D)o; 168return Matrix3D.Equals(this,value); 182public bool Equals(Matrix3D value) 184return Matrix3D.Equals(this, value); 225public static Matrix3D Parse(string source) 231Matrix3D value;
System\Windows\Media3D\Generated\Matrix3DConverter.cs (4)
104return Matrix3D.Parse(source); 126if (destinationType != null && value is Matrix3D) 128Matrix3D instance = (Matrix3D)value;
System\Windows\Media3D\Generated\MatrixCamera.cs (12)
101public Matrix3D ViewMatrix 105return (Matrix3D) GetValue(ViewMatrixProperty); 116public Matrix3D ProjectionMatrix 120return (Matrix3D) GetValue(ProjectionMatrixProperty); 292internal static Matrix3D s_ViewMatrix = Matrix3D.Identity; 293internal static Matrix3D s_ProjectionMatrix = Matrix3D.Identity; 320typeof(Matrix3D), 322Matrix3D.Identity, 329typeof(Matrix3D), 331Matrix3D.Identity,
System\Windows\Media3D\Generated\MatrixTransform3D.cs (6)
94public Matrix3D Matrix 98return (Matrix3D) GetValue(MatrixProperty); 255internal static Matrix3D s_Matrix = Matrix3D.Identity; 282typeof(Matrix3D), 284Matrix3D.Identity,
System\Windows\Media3D\HitTestParameters3D.cs (5)
113internal Matrix3D WorldTransformMatrix 146internal Matrix3D ModelTransformMatrix 186internal Matrix3D HitTestProjectionMatrix 198_hitTestProjectionMatrix = new Matrix3D?(value); 216private Matrix3D? _hitTestProjectionMatrix = null;
System\Windows\Media3D\Matrix3D.cs (15)
127public static Matrix3D Identity 189public void Prepend(Matrix3D matrix) 198public void Append(Matrix3D matrix) 439public static Matrix3D operator * (Matrix3D matrix1, Matrix3D matrix2) 448Matrix3D result = new Matrix3D( 491public static Matrix3D Multiply(Matrix3D matrix1, Matrix3D matrix2) 1089internal static Matrix3D CreateRotationMatrix(ref Quaternion quaternion, ref Point3D center) 1091Matrix3D matrix = s_identity; 1377private static Matrix3D CreateIdentity() 1380Matrix3D matrix = new Matrix3D(1,0,0,0, 0,1,0,0, 0,0,1,0, 0,0,0,1); 1468private static readonly Matrix3D s_identity = CreateIdentity();
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>();
System\Windows\Media3D\MatrixCamera.cs (8)
44public MatrixCamera(Matrix3D viewMatrix, Matrix3D projectionMatrix) 75internal override Matrix3D GetViewMatrix() 77Matrix3D viewMatrix = ViewMatrix; 82internal override Matrix3D GetProjectionMatrix(double aspectRatio) { return ProjectionMatrix; } 104Matrix3D worldToCamera = GetViewMatrix() * ProjectionMatrix; 105Matrix3D cameraToWorld = worldToCamera; 182Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\MatrixTransform3D.cs (3)
48public MatrixTransform3D(Matrix3D matrix) 72public override Matrix3D Value 93internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\MeshGeometry3D.cs (6)
378Matrix3D worldTransformMatrix = rayParams.HasWorldTransformMatrix ? rayParams.WorldTransformMatrix : Matrix3D.Identity; 402Matrix3D m = rayParams.HitTestProjectionMatrix; 447Matrix3D worldTransformMatrix = rayParams.HasWorldTransformMatrix ? rayParams.WorldTransformMatrix : Matrix3D.Identity; 488Matrix3D m = rayParams.HitTestProjectionMatrix;
System\Windows\Media3D\OrthographicCamera.cs (6)
61internal Matrix3D GetProjectionMatrix(double aspectRatio, double zn, double zf) 76internal override Matrix3D GetProjectionMatrix(double aspectRatio) 108Matrix3D viewMatrix = CreateViewMatrix(Transform, ref position, ref lookDirection, ref upDirection); 109Matrix3D invView = viewMatrix; 193Matrix3D projectionMatrix = GetProjectionMatrix(aspectRatio, zn, zf); 201Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\PerspectiveCamera.cs (7)
71internal Matrix3D GetProjectionMatrix(double aspectRatio, double zn, double zf) 98internal override Matrix3D GetProjectionMatrix(double aspectRatio) 151Matrix3D viewMatrix = CreateViewMatrix(/* trasform = */ null, ref position, ref lookDirection, ref upDirection); 152Matrix3D invView = viewMatrix; 187Matrix3D m = transform.Value; 200Matrix3D projectionMatrix = GetProjectionMatrix(aspectRatio, zn, zf); 208Matrix3D viewportMatrix = new Matrix3D();
System\Windows\Media3D\Point3D.cs (2)
168public static Point3D operator *(Point3D point, Matrix3D matrix) 179public static Point3D Multiply(Point3D point, Matrix3D matrix)
System\Windows\Media3D\Point4D.cs (2)
138public static Point4D operator *(Point4D point, Matrix3D matrix) 149public static Point4D Multiply(Point4D point, Matrix3D matrix)
System\Windows\Media3D\ProjectionCamera.cs (3)
58internal override Matrix3D GetViewMatrix() 73internal static Matrix3D CreateViewMatrix(Transform3D transform, ref Point3D position, ref Vector3D lookDirection, ref Vector3D upDirection) 88Matrix3D viewMatrix = new Matrix3D(
System\Windows\Media3D\RotateTransform3D.cs (4)
100public override Matrix3D Value 110return Matrix3D.Identity; 116return Matrix3D.CreateRotationMatrix(ref quaternion, ref center); 122internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\ScaleTransform3D.cs (3)
108public override Matrix3D Value 114Matrix3D matrix = new Matrix3D(); 123internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\Transform3D.cs (3)
142Matrix3D matrix = Value; 202public abstract Matrix3D Value { get; } 206internal abstract void Append(ref Matrix3D matrix);
System\Windows\Media3D\Transform3DGroup.cs (3)
68public override Matrix3D Value 74Matrix3D transform = new Matrix3D(); 115internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\TranslateTransform3D.cs (3)
81public override Matrix3D Value 87Matrix3D matrix = new Matrix3D(); 96internal override void Append(ref Matrix3D matrix)
System\Windows\Media3D\Vector3D.cs (2)
386public static Vector3D operator *(Vector3D vector, Matrix3D matrix) 397public static Vector3D Multiply(Vector3D vector, Matrix3D matrix)
System\Windows\Media3D\Viewport3DVisual.cs (2)
523Matrix3D viewProjMatrix = camera.GetViewMatrix() * camera.GetProjectionMatrix(aspectRatio); 588Matrix3D viewProjMatrix = camera.GetViewMatrix() * camera.GetProjectionMatrix(aspectRatio);
System\Windows\Media3D\Visual3D.cs (4)
1666Matrix3D m = Matrix3D.Identity; 1703m = Matrix3D.Identity; 1810Matrix3D projectionTransform;
PresentationFramework (3)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
482case 386: t = () => typeof(Matrix3D); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
6609typeof(System.Windows.Media.Media3D.Matrix3D),
System\Windows\Markup\KnownTypes.cs (1)
5940case KnownElements.Matrix3D: t = typeof(System.Windows.Media.Media3D.Matrix3D); break;