Created
September 20, 2014 18:02
-
-
Save dgwaldo/12039cc5c0323c571c58 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h:HelixViewport3D Name="HelixViewport3D" | |
PanGesture="LeftClick" | |
DataContext="{Binding PreviewPlot, UpdateSourceTrigger=PropertyChanged}" | |
DefaultCamera="{Binding PerspectiveCamera, UpdateSourceTrigger=PropertyChanged}" | |
services:HelixViewport3DZoomExtent.ZoomExtentsOnUpdate="{Binding RelativeSource={RelativeSource AncestorType={x:Type views:WellSurveyPlot3DPreview}}, | |
Path=DataContext.PreviewUpdatedReZoom, UpdateSourceTrigger=PropertyChanged}"> | |
<h:SunLight/> | |
<h:TubeVisual3D Path="{Binding TubePath}" Diameter="75" ThetaDiv="12" IsPathClosed="False" Fill="DarkSlateGray"/> | |
<h:GridLinesVisual3D Width="{Binding GridLength}" Length="{Binding GridLength}" MajorDistance="{Binding MajorGridLines}" Thickness="25" | |
MinorDistance="{Binding MajorGridLines, UpdateSourceTrigger=PropertyChanged}" LengthDirection="1,0,0" Normal="0,0,1" | |
Center="{Binding BottomPlaneCenter,UpdateSourceTrigger=PropertyChanged}" Fill="DarkGray" /> | |
<h:GridLinesVisual3D Width="{Binding GridLength}" Length="{Binding GridLength, UpdateSourceTrigger=PropertyChanged}" LengthDirection="0,0,1" Normal="1,0,0" Thickness="25" | |
MajorDistance="{Binding MajorGridLines}" MinorDistance="{Binding MajorGridLines}" | |
Center="{Binding BackLeftPlaneCenter, UpdateSourceTrigger=PropertyChanged}" Fill="LightGray" /> | |
<h:GridLinesVisual3D Width="{Binding GridLength}" Length="{Binding GridLength, UpdateSourceTrigger=PropertyChanged}" LengthDirection="1,0,0" Normal="0,1,0" Thickness="25" | |
MajorDistance="{Binding MajorGridLines}" MinorDistance="{Binding MajorGridLines}" | |
Center="{Binding BackRightPlaneCenter,UpdateSourceTrigger=PropertyChanged}" Fill="LightGray" /> | |
</h:HelixViewport3D> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment