- Timestamp:
- 05/11/17 16:25:14 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.BinPacking.Views/3.3/Container3DView.xaml
r14708 r14971 34 34 > 35 35 <Grid> 36 <Viewport3D Name="viewport3D1" > 37 <Viewport3D.Camera> 38 <PerspectiveCamera x:Name="camMain" Position="0.5 8 8" LookDirection="0 -1 -1"> <!-- camera position for design time--> 39 </PerspectiveCamera> 40 </Viewport3D.Camera> 41 <ModelVisual3D> 42 <ModelVisual3D.Content> 43 <DirectionalLight x:Name="dirLightMain" Direction="0,-1,-1"/> 44 </ModelVisual3D.Content> 45 </ModelVisual3D> 46 <ModelVisual3D> 47 </ModelVisual3D> 48 <ModelVisual3D x:Name="MyModel"> 49 <ModelVisual3D.Content> 50 <Model3DGroup> 51 </Model3DGroup> 52 </ModelVisual3D.Content> 53 <ModelVisual3D.Transform> 54 <Transform3DGroup> 55 <ScaleTransform3D x:Name="scale" ScaleX="1" ScaleY="1" ScaleZ="1"/> 56 <TranslateTransform3D OffsetX="-0.5" OffsetY="-0.5" OffsetZ="-0.5" /> 57 <RotateTransform3D> 58 <RotateTransform3D.Rotation> 59 <AxisAngleRotation3D x:Name="rotateX" Axis="0 1 0"/> 60 </RotateTransform3D.Rotation> 61 </RotateTransform3D> 62 <RotateTransform3D> 63 <RotateTransform3D.Rotation> 64 <AxisAngleRotation3D x:Name="rotateY" Axis="1 0 0"/> 65 </RotateTransform3D.Rotation> 66 </RotateTransform3D> 67 <TranslateTransform3D OffsetX="0.5" OffsetY="0.5" OffsetZ="0.5" /> 68 <ScaleTransform3D x:Name="scaleZoom" CenterX="0.5" CenterY="0.5" CenterZ="0.5" ScaleX="1" ScaleY="1" ScaleZ="1"/> 69 </Transform3DGroup> 70 </ModelVisual3D.Transform> 71 </ModelVisual3D> 72 </Viewport3D> 36 <Border BorderThickness="1" Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"> 37 <Viewport3D Name="viewport3D1" > 38 <Viewport3D.Camera> 39 <PerspectiveCamera x:Name="camMain" Position="0.5 8 8" LookDirection="0 -1 -1"> <!-- camera position for design time--> 40 </PerspectiveCamera> 41 </Viewport3D.Camera> 42 <ModelVisual3D> 43 <ModelVisual3D.Content> 44 <DirectionalLight x:Name="dirLightMain" Direction="0,-1,-1"/> 45 </ModelVisual3D.Content> 46 </ModelVisual3D> 47 <ModelVisual3D> 48 </ModelVisual3D> 49 <ModelVisual3D x:Name="MyModel"> 50 <ModelVisual3D.Content> 51 <Model3DGroup> 52 </Model3DGroup> 53 </ModelVisual3D.Content> 54 <ModelVisual3D.Transform> 55 <Transform3DGroup> 56 <ScaleTransform3D x:Name="scale" ScaleX="1" ScaleY="1" ScaleZ="1"/> 57 <TranslateTransform3D OffsetX="-0.5" OffsetY="-0.5" OffsetZ="-0.5" /> 58 <RotateTransform3D> 59 <RotateTransform3D.Rotation> 60 <AxisAngleRotation3D x:Name="rotateX" Axis="0 1 0"/> 61 </RotateTransform3D.Rotation> 62 </RotateTransform3D> 63 <RotateTransform3D> 64 <RotateTransform3D.Rotation> 65 <AxisAngleRotation3D x:Name="rotateY" Axis="1 0 0"/> 66 </RotateTransform3D.Rotation> 67 </RotateTransform3D> 68 <TranslateTransform3D OffsetX="0.5" OffsetY="0.5" OffsetZ="0.5" /> 69 <ScaleTransform3D x:Name="scaleZoom" CenterX="0.5" CenterY="0.5" CenterZ="0.5" ScaleX="1" ScaleY="1" ScaleZ="1"/> 70 </Transform3DGroup> 71 </ModelVisual3D.Transform> 72 </ModelVisual3D> 73 </Viewport3D> 74 </Border> 73 75 </Grid> 74 76 </UserControl>
Note: See TracChangeset
for help on using the changeset viewer.