50 references to Viewport2DVisual3D
PresentationCore (50)
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (12)
67
internal GeneralTransform2DTo3DTo2D(
Viewport2DVisual3D
visual3D, Visual fromVisual)
189
foundIntersection =
Viewport2DVisual3D
.GetIntersectionInfo(rayResult, out pointHit);
205
result =
Viewport2DVisual3D
.TextureCoordsToVisualCoords(pointHit, _visualBrushBounds);
236
texCoordsOfInterest[i] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(visCorners[i], _visualBrushBounds);
1102
Point ptOnVisual =
Viewport2DVisual3D
.TextureCoordsToVisualCoords(closestIntersection, _visualBrushBounds);
1117
finalPoint =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(finalVisualPoint, _visualBrushBounds);
1135
Point texCoord =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(inPoint, _visualBrushBounds);
1140
Viewport2DVisual3D
.Get3DPointFor2DCoordinate(texCoord,
1172
texCoordsOfInterest[0] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(rect.TopLeft, _visualBrushBounds);
1173
texCoordsOfInterest[1] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(rect.TopRight, _visualBrushBounds);
1174
texCoordsOfInterest[2] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(rect.BottomRight, _visualBrushBounds);
1175
texCoordsOfInterest[3] =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(rect.BottomLeft, _visualBrushBounds);
System\Windows\Media\Visual.cs (5)
1845
if (potentialHitTestTarget is
Viewport2DVisual3D
)
4547
Viewport2DVisual3D
gAsVisual3D = g as
Viewport2DVisual3D
;
4667
Viewport2DVisual3D
containingVisual3D = VisualTreeHelper.GetContainingVisual3D(this) as
Viewport2DVisual3D
;
System\Windows\Media3D\GeneralTransform2DTo3D.cs (3)
19
Viewport2DVisual3D
containingVisual3D,
61
Point texCoord =
Viewport2DVisual3D
.VisualCoordsToTextureCoords(final2DPoint, _childBounds);
66
if (!
Viewport2DVisual3D
.Get3DPointFor2DCoordinate(texCoord,
System\Windows\Media3D\RayHitTestParameters.cs (4)
127
Viewport2DVisual3D
viewport2DVisual3D = result.VisualHit as
Viewport2DVisual3D
;
135
if (
Viewport2DVisual3D
.GetIntersectionInfo(result, out intersectionPoint))
138
Point visualPoint =
Viewport2DVisual3D
.TextureCoordsToVisualCoords(intersectionPoint, viewport2DVisual3DChild);
System\Windows\Media3D\Viewport2DVisual3D.cs (26)
273
typeof(
Viewport2DVisual3D
),
301
Viewport2DVisual3D
viewport2DVisual3D = ((
Viewport2DVisual3D
)sender);
477
if ((Boolean)diffMaterial.GetValue(
Viewport2DVisual3D
.IsVisualHostMaterialProperty))
485
if ((Boolean)emmMaterial.GetValue(
Viewport2DVisual3D
.IsVisualHostMaterialProperty))
493
if ((Boolean)specMaterial.GetValue(
Viewport2DVisual3D
.IsVisualHostMaterialProperty))
503
if ((Boolean)matGroup.GetValue(
Viewport2DVisual3D
.IsVisualHostMaterialProperty))
540
typeof(
Viewport2DVisual3D
),
553
Viewport2DVisual3D
viewport2DVisual3D = ((
Viewport2DVisual3D
)sender);
662
typeof(
Viewport2DVisual3D
),
677
Viewport2DVisual3D
viewport2DVisual3D = ((
Viewport2DVisual3D
)sender);
690
typeof(
Viewport2DVisual3D
),
721
typeof(
Viewport2DVisual3D
),
733
Viewport2DVisual3D
viewport2DVisual3D = ((
Viewport2DVisual3D
)sender);
874
typeof(
Viewport2DVisual3D
),
880
Viewport2DVisual3D
viewport2D = (
Viewport2DVisual3D
) d;
890
typeof(
Viewport2DVisual3D
),
897
Viewport2DVisual3D
viewport2D = (
Viewport2DVisual3D
) d;
907
typeof(
Viewport2DVisual3D
),
913
Viewport2DVisual3D
viewport2D = (
Viewport2DVisual3D
) d;