50 references to Viewport2DVisual3D
PresentationCore (50)
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (12)
82internal GeneralTransform2DTo3DTo2D(Viewport2DVisual3D visual3D, Visual fromVisual) 202foundIntersection = Viewport2DVisual3D.GetIntersectionInfo(rayResult, out pointHit); 218result = Viewport2DVisual3D.TextureCoordsToVisualCoords(pointHit, _visualBrushBounds); 249texCoordsOfInterest[i] = Viewport2DVisual3D.VisualCoordsToTextureCoords(visCorners[i], _visualBrushBounds); 1115Point ptOnVisual = Viewport2DVisual3D.TextureCoordsToVisualCoords(closestIntersection, _visualBrushBounds); 1130finalPoint = Viewport2DVisual3D.VisualCoordsToTextureCoords(finalVisualPoint, _visualBrushBounds); 1148Point texCoord = Viewport2DVisual3D.VisualCoordsToTextureCoords(inPoint, _visualBrushBounds); 1153Viewport2DVisual3D.Get3DPointFor2DCoordinate(texCoord, 1185texCoordsOfInterest[0] = Viewport2DVisual3D.VisualCoordsToTextureCoords(rect.TopLeft, _visualBrushBounds); 1186texCoordsOfInterest[1] = Viewport2DVisual3D.VisualCoordsToTextureCoords(rect.TopRight, _visualBrushBounds); 1187texCoordsOfInterest[2] = Viewport2DVisual3D.VisualCoordsToTextureCoords(rect.BottomRight, _visualBrushBounds); 1188texCoordsOfInterest[3] = Viewport2DVisual3D.VisualCoordsToTextureCoords(rect.BottomLeft, _visualBrushBounds);
Core\CSharp\System\Windows\Media\Visual.cs (5)
1874if (potentialHitTestTarget is Viewport2DVisual3D) 4609Viewport2DVisual3D gAsVisual3D = g as Viewport2DVisual3D; 4729Viewport2DVisual3D containingVisual3D = VisualTreeHelper.GetContainingVisual3D(this) as Viewport2DVisual3D;
Core\CSharp\System\Windows\Media3D\GeneralTransform2DTo3D.cs (3)
32Viewport2DVisual3D containingVisual3D, 74Point texCoord = Viewport2DVisual3D.VisualCoordsToTextureCoords(final2DPoint, _childBounds); 79if (!Viewport2DVisual3D.Get3DPointFor2DCoordinate(texCoord,
Core\CSharp\System\Windows\Media3D\RayHitTestParameters.cs (4)
135Viewport2DVisual3D viewport2DVisual3D = result.VisualHit as Viewport2DVisual3D; 143if (Viewport2DVisual3D.GetIntersectionInfo(result, out intersectionPoint)) 146Point visualPoint = Viewport2DVisual3D.TextureCoordsToVisualCoords(intersectionPoint, viewport2DVisual3DChild);
Core\CSharp\System\Windows\Media3D\Viewport2DVisual3D.cs (26)
297typeof(Viewport2DVisual3D), 325Viewport2DVisual3D viewport2DVisual3D = ((Viewport2DVisual3D)sender); 500if ((Boolean)diffMaterial.GetValue(Viewport2DVisual3D.IsVisualHostMaterialProperty)) 509if ((Boolean)emmMaterial.GetValue(Viewport2DVisual3D.IsVisualHostMaterialProperty)) 518if ((Boolean)specMaterial.GetValue(Viewport2DVisual3D.IsVisualHostMaterialProperty)) 529if ((Boolean)matGroup.GetValue(Viewport2DVisual3D.IsVisualHostMaterialProperty)) 566typeof(Viewport2DVisual3D), 579Viewport2DVisual3D viewport2DVisual3D = ((Viewport2DVisual3D)sender); 688typeof(Viewport2DVisual3D), 703Viewport2DVisual3D viewport2DVisual3D = ((Viewport2DVisual3D)sender); 716typeof(Viewport2DVisual3D), 748typeof(Viewport2DVisual3D), 760Viewport2DVisual3D viewport2DVisual3D = ((Viewport2DVisual3D)sender); 901typeof(Viewport2DVisual3D), 907Viewport2DVisual3D viewport2D = (Viewport2DVisual3D) d; 917typeof(Viewport2DVisual3D), 924Viewport2DVisual3D viewport2D = (Viewport2DVisual3D) d; 934typeof(Viewport2DVisual3D), 940Viewport2DVisual3D viewport2D = (Viewport2DVisual3D) d;