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