WPF中三维物体的选中

 

C#
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Windows.Media.Media3D;
using System.Windows.Media.Animation;
using System.Threading;

namespace 钢卷仓库
{
    
    /// <summary>
    /// MainWindow.xaml 的交互逻辑
    /// </summary>
    /// 
    public partial class MainWindow : Window
    {
        ModelVisual3D goods;
        Coil[] c1;
        Locator[,] locator;
        public MainWindow()
        {
            this.InitializeComponent();

            int SUM = 3;
            int count = 0;
            locator = new Locator[10, 4];
            c1 = new Coil[SUM];
            for (int i = 0; i < 10; i++)
            {
                for (int j = 0; j < 4; j++)
                {
                    locator[i, j] = new Locator(i + 1, j + 1);
                }
            }
            for (int r = 0; r < 10; r++)
            {
                for (int c = 0; c < 4; c++)
                {
                    for (int i = 0; i < 56; i++)
                    {
                        goods = new ModelVisual3D();
                        Model3DGroup group = new Model3DGroup();
                        group.Children.Add(gangjuan.Clone());
                        goods.Content = group;
                        cangku.Children.Add(goods);
                        c1[count] = new Coil(goods, locator[r, c], i);
                        c1[count].show();
                        count++;
                        if (count == SUM)
                        {
                            //orign.Children.Clear() ;
                            return;
                        }
                    }
                }
            }
        }
        private void Viewport3D_MouseDown(object sender, MouseButtonEventArgs e)
        {

            Viewport3D theViewport = sender as Viewport3D;
            Point theMousePosition = e.GetPosition(theViewport);
            PointHitTestParameters pointparams = new PointHitTestParameters(theMousePosition);
            VisualTreeHelper.HitTest(theViewport,
                                     null,
                                     HitTestResultHandler,
                                     pointparams);
        }

        private HitTestResultBehavior HitTestResultHandler(HitTestResult theResult)
        {
            GeometryModel3D theHitModel = getModel(theResult);

            if (theHitModel != null)
            {
                changeModel(theHitModel);
            }
            return HitTestResultBehavior.Stop;
        }

        private void changeModel(GeometryModel3D theModel)
        {
            DiffuseMaterial theMaterial;
            SolidColorBrush theBrush;

            theMaterial = theModel.Material as DiffuseMaterial;
            theBrush = theMaterial.Brush as SolidColorBrush;
            if(theBrush==null)
                return;
            if (theBrush.Color != Colors.Red)
                theBrush.Color = Colors.Red;
            else
            {
                theBrush.Color =Colors.LightGray;
            }
        }

        private GeometryModel3D getModel(HitTestResult theResult)
        {
            GeometryModel3D retval;

            if (typeof(RayMeshGeometry3DHitTestResult) == theResult.GetType())
            {
                retval = (GeometryModel3D)((RayMeshGeometry3DHitTestResult)theResult).ModelHit;
            }
            else
            {
                retval = null;
            }
            return retval;
        }
    }

    public class Locator   //创建一个货位类
    {
        int row = 1;
        int column = 1;
        bool[] empty = new bool[56];
        bool full;

        public Locator(int r, int c)//通过构造函数传入货位的行列信息
        {
            row = r;
            column = c;
            for (int g = 0; g < 56; g++)
            {
                empty[g] = true;
            }
        }

        public bool Full//布尔型属性 判断货满没有
        {
            get { return full; }
            private set { full = value; }
        }

        public bool this[int index]
        {
            get
            {
                return empty[index];
            }
        }

        public void getxyz(ref double x, ref double y, ref double z)
        {
            int i ;
            for (i=0; i < 56; i++)
            {
                if (empty[i])
                {
                    break;
                }
            }
            if (i > 55)
            {
                MessageBox.Show("此满,请指定其他货位");//如果货满则不产生坐标
                full = true;
                
                return;
            }
            
            if (i < 20)
            {
                x = 64 + (column - 1) * 60 + 5 + ((int)((i ) / 5)) * 14;//first layer
                z = 65 + (row - 1) * 50 + 4 + ((i ) % 5) * 8;
                y=4;
            }
            else if(i<36)
            {
                x = 64 + (column - 1) * 60 + 5 + ((int)(i-20) / 4) * 14;
                z = 65 + (row - 1) * 50  +8+ ((i-20 ) % 4) * 8;
                y = 10.928;
            }
            else if (i < 48)
            {
                x = 64 + (column - 1) * 60 + 5 + ((int)(i - 36) / 3) * 14;
                z = 65 + (row - 1) * 50 + 12 + ((i - 36) % 3) * 8;
                y = 17.856;
            }
            else
            {
                x = 64 + (column - 1) * 60 + 5 + ((int)(i - 48) / 2) * 14;
                z = 65 + (row - 1) * 50 + 16 + ((i - 48) % 2) * 8;
                y = 24.784;
            }
            empty[i] = false;//子货位被占
        }
    }

    public class Coil:DependencyObject  //创建一个钢卷类
    {
        double X = 0;
        double Y = 0;
        double Z = 0;
        Locator l;
        Binding binding;
        
        int id;
        TranslateTransform3D t1 = new TranslateTransform3D();
        Transform3DGroup g = new Transform3DGroup();
        public int ID
        {
            get
            {
                return id;
            }
            private set
            {
                id = value;
            }
        }

        public static readonly DependencyProperty CoilColorProperty;
        public Color CoilColor
        {
            set
            {
                SetValue(CoilColorProperty, value);
            }
            get
            {
                return (Color)GetValue(CoilColorProperty);
            }
        }
        static Coil()
        {
            FrameworkPropertyMetadata metadata = new FrameworkPropertyMetadata();
            metadata.DefaultValue = Colors.LightGray;
            metadata.PropertyChangedCallback += OnCoilColorPropertyChanged;
            CoilColorProperty = DependencyProperty.Register("CoilColor", typeof(Color), typeof(Coil), metadata);
        }
        static void OnCoilColorPropertyChanged(DependencyObject obj, DependencyPropertyChangedEventArgs args)
        {
            Coil coil=obj as Coil;
            if(coil.CoilColor==Colors.Red)
            MessageBox.Show("钢卷,ID:"+coil.ID.ToString());
        }

        public Coil(ModelVisual3D mv,Locator l,int id)
        {
            
            Model3DGroup mg = new Model3DGroup();
            GeometryModel3D gm = new GeometryModel3D();
            DiffuseMaterial dm = new DiffuseMaterial();
            SolidColorBrush sb = new SolidColorBrush();
            
            sb.Color = Colors.LightGray;
            dm.Brush = sb;
            
            mg = mv.Content as Model3DGroup;
            gm = mg.Children[0] as GeometryModel3D;
            gm.Material = dm;
            
            binding = new Binding("Color") {Source=sb };
            BindingOperations.SetBinding(this, CoilColorProperty, binding);
            g.Children.Add(t1);
            mv.Transform = g;
            this.l = l;
            this.id = id;
            
        }
        
        public void show()
        { 
            l.getxyz(ref X, ref Y, ref Z);//执行此步之后,才能判断出最新的full状态
            t1.OffsetX = X;
            t1.OffsetY = Y;
            t1.OffsetZ = Z;
        }

        public void test()
        {
            MessageBox.Show(CoilColor.ToString());
        }
    }


}

 

界面
<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:tools="clr-namespace:_3DTools;assembly=3DTools"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
    x:Class="钢卷仓库.MainWindow"
    x:Name="Window"
    Title="MainWindow"
    Width="1258.5" Height="872">
    <Grid>
        <tools:TrackballDecorator>
            <Viewport3D x:Name="cangku" Margin="72.5,8,109.5,-8" MouseRightButtonDown="Viewport3D_MouseDown">
                <Viewport3D.Camera>
                    <PerspectiveCamera Position="215,557,960" LookDirection="-60,-731,-801" FarPlaneDistance="3000" 
                        NearPlaneDistance="1" UpDirection="0,15,0"/>
                </Viewport3D.Camera>
                <Viewport3D.Children>
                    <ModelVisual3D x:Name="dimian">
                    <ModelVisual3D.Transform>
                        <Transform3DGroup/>
                    </ModelVisual3D.Transform>
                    <ModelVisual3D.Content>
                        <Model3DGroup>
                             <DirectionalLight Color="#FFFFFF" Direction="3.4,-8.5,18.4" >
                                 <DirectionalLight.Transform>
                                     <Transform3DGroup>
                                         <TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                                         <ScaleTransform3D ScaleZ="1" ScaleY="1" ScaleX="1"/>
                                         <RotateTransform3D d:EulerAngles="0,0,0">
                                             <RotateTransform3D.Rotation>
                                                 <AxisAngleRotation3D Axis="0,1,0" Angle="0"/>
                                             </RotateTransform3D.Rotation>
                                         </RotateTransform3D>
                                         <TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                                         <TranslateTransform3D OffsetY="113.278"/>
                                     </Transform3DGroup>
                                 </DirectionalLight.Transform>
                             </DirectionalLight>
                            <GeometryModel3D>
                                <GeometryModel3D.Material>
                                    <DiffuseMaterial>
                                        <DiffuseMaterial.Brush>
                                            <ImageBrush ImageSource="地面.png">
                                                <ImageBrush.RelativeTransform>
                                                    <TransformGroup>
                                                        <ScaleTransform CenterY="0.5" CenterX="0.5"/>
                                                        <SkewTransform CenterY="0.5" CenterX="0.5"/>
                                                        <RotateTransform Angle="90" CenterY="0.5" CenterX="0.5"/>
                                                        <TranslateTransform/>
                                                    </TransformGroup>
                                                </ImageBrush.RelativeTransform>
                                            </ImageBrush>
                                        </DiffuseMaterial.Brush>
                                    </DiffuseMaterial>
                                </GeometryModel3D.Material>
                                <GeometryModel3D.Geometry>
                                    <MeshGeometry3D Positions="0,0,0 360,0,0 360,0,620 0,0,620"
                                        TriangleIndices="0 3 2 2 1 0" TextureCoordinates="0,0 0,1 1,1 1,0"/>
                                </GeometryModel3D.Geometry>
                            </GeometryModel3D>
                        </Model3DGroup>
                    </ModelVisual3D.Content>
                  </ModelVisual3D>
                    <ModelVisual3D x:Name="gudingzhijia">
                        <ModelVisual3D.Content>
                            <Model3DGroup>
                                <DirectionalLight Direction="-419,-1144,-524" Color="White" >
                                    <DirectionalLight.Transform>
                                        <Transform3DGroup>
                                            <TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                                            <ScaleTransform3D ScaleZ="1" ScaleY="1" ScaleX="1"/>
                                            <RotateTransform3D d:EulerAngles="13.588,0,0">
                                                <RotateTransform3D.Rotation>
                                                    <AxisAngleRotation3D Axis="1,0,0" Angle="13.588"/>
                                                </RotateTransform3D.Rotation>
                                            </RotateTransform3D>
                                            <TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                                            <TranslateTransform3D OffsetZ="885.75" OffsetY="279.805" OffsetX="434.917"/>
                                        </Transform3DGroup>
                                    </DirectionalLight.Transform>
                                </DirectionalLight>
                                <GeometryModel3D>
                                    <GeometryModel3D.Material>
                                        <MaterialGroup>
                                            <DiffuseMaterial>
                                                <DiffuseMaterial.Brush>
                                                    <SolidColorBrush Color="Blue"/>
                                                </DiffuseMaterial.Brush>
                                            </DiffuseMaterial>
                                        </MaterialGroup>
                                    </GeometryModel3D.Material>
                                    <GeometryModel3D.Geometry>
                                        <MeshGeometry3D x:Name="gudingzhijia_MG" Positions="50,0,50 30,0,50 30,0,20 30,80,20 30,0,20 30,0,50 50,0,20 30,80,20 50,0,20 30,0,20 50,80,50 30,0,50 50,0,50
30,80,50 33.640381,80,50 30,80,50 34.418247,80,50 37.085209,80,50 37.863075,80,50 40.752285,80,50 41.530151,80,50 44.308239,80,50 45.086102,80,50 50,80,50 50,0,50 50,0,20
33.640381,80,20 50,80,20 45.086102,80,20 50,80,20 34.418247,80,20 44.308239,80,20 41.530151,80,20 40.752285,80,20 37.863075,80,20 37.085209,80,20 330,0,50 310,0,20 330,0,20
310,80,20 330,0,20 310,0,20 330,80,50 330,0,50 330,0,20 313.6236,80,20 314.40146,80,20 326.27832,80,20 330,80,20 330,80,20 325.50046,80,20 322.4379,80,20
321.66003,80,20 318.59747,80,20 317.81961,80,20 310,0,50 310,80,20 310,0,20 310,0,50 330,80,50 310,0,50 330,0,50 310,80,50 313.6236,80,50 310,80,50
314.40146,80,50 317.81961,80,50 318.59747,80,50 321.66003,80,50 322.4379,80,50 325.50046,80,50 326.27832,80,50 30,0,570 50,0,600 30,0,600 50,80,600 30,0,600 50,0,600
30,80,570 30,0,570 30,0,600 30,80,600 33.640381,80,600 30,80,600 45.086102,80,600 34.418247,80,600 37.085209,80,600 37.863075,80,600 40.752285,80,600 41.530151,80,600 44.308239,80,600
50,0,570 50,80,600 50,0,600 50,0,570 30,80,570 50,0,570 30,0,570 33.640381,80,570 50,80,570 45.086102,80,570 50,80,570 34.418247,80,570 44.308239,80,570
41.530151,80,570 40.752285,80,570 37.863075,80,570 37.085209,80,570 310,0,570 330,0,570 330,0,600 330,80,600 330,0,600 330,0,570 310,0,600 330,80,600 310,0,600
330,0,600 310,80,570 330,0,570 310,0,570 313.6236,80,570 330,80,570 326.27832,80,570 330,80,570 314.40146,80,570 325.50046,80,570 322.4379,80,570 321.66003,80,570 318.59747,80,570
317.81961,80,570 310,80,570 310,0,570 310,0,600 310,80,600 313.6236,80,600 310,80,600 326.27832,80,600 314.40146,80,600 317.81961,80,600 318.59747,80,600 321.66003,80,600 322.4379,80,600
325.50046,80,600 50,0,325 30,0,325 30,0,295 30,80,295 30,0,295 30,0,325 50,0,295 30,80,295 50,0,295 30,0,295 50,80,325 30,0,325
50,0,325 30,80,325 33.640381,80,325 30,80,325 45.086102,80,325 34.418247,80,325 37.085209,80,325 37.863075,80,325 40.752285,80,325 41.530151,80,325 44.308239,80,325 50,80,325 50,0,325
50,0,295 33.640381,80,295 50,80,295 45.086102,80,295 50,80,295 34.418247,80,295 44.308239,80,295 41.530151,80,295 40.752285,80,295 37.863075,80,295 37.085209,80,295 330,0,325 310,0,295
330,0,295 310,80,295 330,0,295 310,0,295 330,80,325 330,0,325 330,0,295 313.6236,80,295 330,80,295 326.27832,80,295 330,80,295 314.40146,80,295 325.50046,80,295
322.4379,80,295 321.66003,80,295 318.59747,80,295 317.81961,80,295 310,0,325 310,80,295 310,0,295 310,0,325 330,80,325 310,0,325 330,0,325 310,80,325 313.6236,80,325
310,80,325 326.27832,80,325 314.40146,80,325 317.81961,80,325 318.59747,80,325 321.66003,80,325 322.4379,80,325 325.50046,80,325 30,85,0 30,80,620 33.640381,80,620 30,80,620 30,80,600
33.640381,80,600 33.640381,80,570 30,80,570 30,80,325 33.640381,80,325 33.640381,80,295 30,80,295 30,80,50 33.640381,80,50 30,80,0 33.640381,80,20 30,80,20 30,80,0
33.640381,85,0 30,80,0 30,85,0 33.640381,80,0 33.640381,80,0 30,85,620 33.640381,85,0 30,85,0 30,85,620 33.640381,80,620 30,85,620 30,80,620 33.640381,85,620
33.640381,85,620 34.418247,80,20 33.640381,80,50 34.418247,80,50 33.640381,80,20 33.640381,85,620 33.640381,80,50 33.640381,80,20 33.640381,80,295 37.085209,80,295 34.418247,80,50 37.085209,80,50 34.418247,85,0
34.418247,80,20 34.418247,80,50 34.418247,80,295 34.418247,80,295 37.863075,80,20 37.085209,80,50 37.863075,80,50 37.085209,80,20 37.085209,85,620 37.085209,80,50 37.085209,80,20 37.085209,80,295 40.752285,80,295
37.863075,80,50 40.752285,80,50 37.863075,85,0 37.863075,80,20 37.863075,80,50 37.863075,80,295 37.863075,80,295 41.530151,80,20 40.752285,80,50 41.530151,80,50 40.752285,80,20 40.752285,85,620 40.752285,80,50
40.752285,80,20 40.752285,80,295 44.308239,80,295 41.530151,80,50 44.308239,80,50 41.530151,85,0 41.530151,80,20 41.530151,80,50 41.530151,80,295 41.530151,80,295 45.086102,80,20 44.308239,80,50 45.086102,80,50
44.308239,80,20 44.308239,85,620 44.308239,80,50 44.308239,80,20 44.308239,80,295 50,80,295 45.086102,80,50 50,80,50 45.086102,80,295 45.086102,85,0 45.086102,80,20 45.086102,80,50 45.086102,80,295
50,85,620 45.086102,80,325 50,80,325 50,80,570 45.086102,80,570 50,80,620 45.086102,80,600 50,80,600 50,80,620 45.086102,85,620 50,80,620 50,85,620 45.086102,80,620
45.086102,80,620 50,80,0 50,85,0 45.086102,85,620 50,85,620 50,85,0 45.086102,80,0 50,85,0 50,80,0 45.086102,85,0 45.086102,85,0 45.086102,80,0 50,80,0
50,80,20 45.086102,80,20 33.640381,80,0 45.086102,80,0 41.530151,80,0 44.308239,80,20 41.530151,80,20 44.308239,80,0 44.308239,80,0 41.530151,80,0 37.863075,80,0 40.752285,80,20 37.863075,80,20
40.752285,80,0 40.752285,80,0 37.863075,80,0 34.418247,80,0 37.085209,80,20 34.418247,80,20 37.085209,80,0 37.085209,80,0 34.418247,80,0 310,80,0 313.6236,80,20 310,80,20 313.6236,80,50
314.40146,80,20 313.6236,80,20 313.6236,80,0 313.6236,85,620 313.6236,80,50 313.6236,80,20 313.6236,80,0 310,85,0 310,80,0 326.27832,80,0 330,80,20 326.27832,80,20 330,85,620
330,80,0 330,80,0 325.50046,80,50 326.27832,80,20 325.50046,80,20 326.27832,80,50 326.27832,85,0 326.27832,80,20 326.27832,80,50 326.27832,80,0 322.4379,80,0 325.50046,80,20 322.4379,80,20
325.50046,85,620 325.50046,80,50 325.50046,80,20 325.50046,80,0 325.50046,80,0 321.66003,80,50 322.4379,80,20 321.66003,80,20 322.4379,80,50 322.4379,85,0 322.4379,80,20 322.4379,80,50 322.4379,80,0
318.59747,80,0 321.66003,80,20 318.59747,80,20 321.66003,85,620 321.66003,80,50 321.66003,80,20 321.66003,80,0 321.66003,80,0 317.81961,80,50 318.59747,80,20 317.81961,80,20 318.59747,80,50 318.59747,85,0
318.59747,80,20 318.59747,80,50 318.59747,80,0 314.40146,80,0 317.81961,80,20 314.40146,80,20 317.81961,85,620 317.81961,80,50 317.81961,80,20 317.81961,80,0 317.81961,80,0 314.40146,80,50 314.40146,85,0
314.40146,80,20 314.40146,80,50 314.40146,80,0 310,80,620 313.6236,80,620 310,80,620 310,80,600 313.6236,80,600 313.6236,80,570 310,80,570 310,80,325 313.6236,80,325 313.6236,80,295
310,80,295 310,80,50 313.6236,80,50 313.6236,85,0 310,80,0 310,85,0 313.6236,80,0 310,85,620 313.6236,85,0 310,85,0 310,85,620 313.6236,80,620 310,85,620
310,80,620 313.6236,85,620 313.6236,85,620 313.6236,80,295 317.81961,80,295 314.40146,80,50 317.81961,80,50 314.40146,80,295 314.40146,80,295 317.81961,80,295 321.66003,80,295 318.59747,80,50 321.66003,80,50
318.59747,80,295 318.59747,80,295 321.66003,80,295 325.50046,80,295 322.4379,80,50 325.50046,80,50 322.4379,80,295 322.4379,80,295 325.50046,80,295 330,80,295 326.27832,80,50 330,80,50 326.27832,80,295
326.27832,80,295 326.27832,80,325 330,80,325 330,80,570 326.27832,80,570 330,80,620 326.27832,80,600 330,80,600 330,80,620 326.27832,85,620 330,80,620 330,85,620 326.27832,80,620
326.27832,80,620 330,85,0 326.27832,85,620 330,85,620 330,85,0 326.27832,80,0 330,85,0 330,80,0 326.27832,85,0 326.27832,85,0 34.418247,80,570 33.640381,80,600 34.418247,80,600
33.640381,80,570 33.640381,80,600 33.640381,80,570 33.640381,80,620 37.085209,80,620 34.418247,80,600 37.085209,80,600 34.418247,80,570 34.418247,80,600 34.418247,80,620 34.418247,80,620 37.863075,80,570 37.085209,80,600
37.863075,80,600 37.085209,80,570 37.085209,80,600 37.085209,80,570 37.085209,80,620 40.752285,80,620 37.863075,80,600 40.752285,80,600 37.863075,80,570 37.863075,80,600 37.863075,80,620 37.863075,80,620 41.530151,80,570
40.752285,80,600 41.530151,80,600 40.752285,80,570 40.752285,80,600 40.752285,80,570 40.752285,80,620 44.308239,80,620 41.530151,80,600 44.308239,80,600 41.530151,80,570 41.530151,80,600 41.530151,80,620 41.530151,80,620
45.086102,80,570 44.308239,80,600 45.086102,80,600 44.308239,80,570 44.308239,80,600 44.308239,80,570 44.308239,80,620 45.086102,80,570 45.086102,80,600 45.086102,80,620 33.640381,80,325 45.086102,80,325 41.530151,80,325
44.308239,80,570 41.530151,80,570 44.308239,80,325 44.308239,80,325 41.530151,80,325 37.863075,80,325 40.752285,80,570 37.863075,80,570 40.752285,80,325 40.752285,80,325 37.863075,80,325 34.418247,80,325 37.085209,80,570
34.418247,80,570 37.085209,80,325 37.085209,80,325 34.418247,80,325 313.6236,80,600 314.40146,80,570 313.6236,80,570 313.6236,80,600 313.6236,80,570 313.6236,80,325 325.50046,80,600 326.27832,80,570 325.50046,80,570
326.27832,80,600 326.27832,80,570 326.27832,80,600 326.27832,80,325 322.4379,80,325 325.50046,80,570 322.4379,80,570 325.50046,80,600 325.50046,80,570 325.50046,80,325 325.50046,80,325 321.66003,80,600 322.4379,80,570
321.66003,80,570 322.4379,80,600 322.4379,80,570 322.4379,80,600 322.4379,80,325 318.59747,80,325 321.66003,80,570 318.59747,80,570 321.66003,80,600 321.66003,80,570 321.66003,80,325 321.66003,80,325 317.81961,80,600
318.59747,80,570 317.81961,80,570 318.59747,80,600 318.59747,80,570 318.59747,80,600 318.59747,80,325 314.40146,80,325 317.81961,80,570 314.40146,80,570 317.81961,80,600 317.81961,80,570 317.81961,80,325 317.81961,80,325
314.40146,80,600 314.40146,80,570 314.40146,80,600 314.40146,80,325 313.6236,80,620 317.81961,80,620 314.40146,80,600 317.81961,80,600 314.40146,80,620 314.40146,80,620 317.81961,80,620 321.66003,80,620 318.59747,80,600
321.66003,80,600 318.59747,80,620 318.59747,80,620 321.66003,80,620 325.50046,80,620 322.4379,80,600 325.50046,80,600 322.4379,80,620 322.4379,80,620 325.50046,80,620 326.27832,80,620 34.418247,80,295 33.640381,80,325
34.418247,80,325 33.640381,80,295 37.863075,80,295 37.085209,80,325 37.863075,80,325 37.085209,80,295 41.530151,80,295 40.752285,80,325 41.530151,80,325 40.752285,80,295 45.086102,80,295 44.308239,80,325 45.086102,80,325
44.308239,80,295 313.6236,80,325 314.40146,80,295 313.6236,80,295 325.50046,80,325 326.27832,80,295 325.50046,80,295 326.27832,80,325 321.66003,80,325 322.4379,80,295 321.66003,80,295 322.4379,80,325 317.81961,80,325
318.59747,80,295 317.81961,80,295 318.59747,80,325 314.40146,80,325 33.640381,85,0 34.418247,85,620 34.418247,80,620 37.085209,80,620 34.418247,85,620 37.085209,85,620 37.085209,85,0 37.085209,80,0 34.418247,80,0
37.085209,85,0 34.418247,85,0 37.863075,85,620 37.863075,80,620 40.752285,80,620 37.863075,85,620 40.752285,85,620 40.752285,85,0 40.752285,80,0 37.863075,80,0 40.752285,85,0 37.863075,85,0 41.530151,85,620
41.530151,80,620 44.308239,80,620 41.530151,85,620 44.308239,85,620 44.308239,85,0 44.308239,80,0 41.530151,80,0 44.308239,85,0 41.530151,85,0 45.086102,85,620 313.6236,85,0 314.40146,85,620 314.40146,80,620
317.81961,80,620 314.40146,85,620 317.81961,85,620 317.81961,85,0 317.81961,80,0 314.40146,80,0 317.81961,85,0 314.40146,85,0 318.59747,85,620 318.59747,80,620 321.66003,80,620 318.59747,85,620 321.66003,85,620
321.66003,85,0 321.66003,80,0 318.59747,80,0 321.66003,85,0 318.59747,85,0 322.4379,85,620 322.4379,80,620 325.50046,80,620 322.4379,85,620 325.50046,85,620 325.50046,85,0 325.50046,80,0 322.4379,80,0
325.50046,85,0 322.4379,85,0 326.27832,85,620 37.085209,85,0 34.418247,85,0 34.418247,85,620 37.085209,85,620 40.752285,85,0 37.863075,85,0 37.863075,85,620 40.752285,85,620 44.308239,85,0 41.530151,85,0
41.530151,85,620 44.308239,85,620 317.81961,85,0 314.40146,85,0 314.40146,85,620 317.81961,85,620 321.66003,85,0 318.59747,85,0 318.59747,85,620 321.66003,85,620 325.50046,85,0 322.4379,85,0 322.4379,85,620
325.50046,85,620"  TriangleIndices="0 1 2 3 4 5 6 0 2 7 8 9 10 11 12 3 5 13 14 15 11 16 14 11 17 16 11 18 17 11 19 18 11 20 19 11 21 20 11 22 21 11 10 22 11 23 24 25 26 8 7 27 23 25 28 29 8 30 8 26 31 28 8 32 31 8 33
 32 8 34 33 8 35 34 8 30 35 8 36 37 38 39 40 41 42 43 44 39 45 40 46 40 45 47 48 40 42 44 49 50 47 40 51 50 40 52 51 40 53 52 40 54 53 40 46
  54 40 36 55 37 56 57 58 59 60 61 62 56 58 63 64 60 65 63 60 66 65 60 67 66 60 68 67 60 69 68 60 70 69 60 71 70 60 59 71 60 72 73 74 75 76 
  77 78 79 80 78 80 81 82 83 76 84 76 75 85 82 76 86 85 76 87 86 76 88 87 76 89 88 76 90 89 76 84 90 76 72 91 73 92 93 94 95 96 97 98 96 95 
  92 94 99 100 101 96 102 96 98 103 100 96 104 103 96 105 104 96 106 105 96 107 106 96 102 107 96 108 109 110 111 112 113 114 108 110 115 
  116 117 118 119 120 121 119 118 111 113 122 123 124 119 125 119 121 126 123 119 127 126 119 128 127 119 129 128 119 130 129 119 125 130 
  119 131 132 133 131 133 134 135 136 116 137 116 115 138 135 116 139 138 116 140 139 116 141 140 116 142 141 116 143 142 116 137 143 116 
  144 145 146 147 148 149 150 144 146 151 152 153 154 155 156 147 149 157 158 159 155 160 155 154 161 158 155 162 161 155 163 162 155 164 
  163 155 165 164 155 166 165 155 160 166 155 167 168 169 170 152 151 167 169 171 172 173 152 174 152 170 175 172 152 176 175 152 177 176 
  152 178 177 152 179 178 152 174 179 152 180 181 182 183 184 185 186 187 188 189 184 183 186 188 190 191 192 184 193 184 189 194 191 184 
  195 194 184 196 195 184 197 196 184 198 197 184 193 198 184 180 199 181 200 201 202 203 204 205 200 202 206 207 208 204 209 204 203 210 
  207 204 211 210 204 212 211 204 213 212 204 214 213 204 215 214 204 209 215 204 216 78 81 217 216 81 218 219 220 218 220 221 216 157 78 
  222 223 224 216 147 157 225 222 224 216 13 147 226 227 228 216 3 13 226 228 229 216 230 3 231 232 233 234 235 236 237 231 233 234 238 235 
  217 239 216 240 241 242 243 244 245 246 244 243 240 242 247 248 249 250 248 251 249 252 253 254 252 255 253 256 257 258 259 260 261 262 
  257 256 259 261 263 264 265 266 267 265 264 268 269 270 268 271 269 272 273 274 275 276 277 278 273 272 275 277 279 280 281 282 283 281 
  280 284 285 286 284 287 285 288 289 290 291 292 293 294 289 288 291 293 295 296 297 298 299 297 296 300 301 302 300 303 301 304 305 306 
  307 305 304 308 309 310 308 310 311 27 312 23 171 23 312 312 92 99 167 312 99 313 314 315 313 315 316 312 317 92 318 319 320 321 322 323
   324 318 320 321 325 322 326 327 312 328 329 330 27 326 312 167 171 312 331 332 333 334 332 331 335 328 330 336 337 338 336 338 339 252 
   254 340 308 341 309 342 343 344 342 345 343 300 302 346 291 347 292 348 349 350 348 351 349 284 286 352 275 353 276 354 355 356 354 357
    355 268 270 358 259 359 260 360 361 362 363 364 365 366 361 360 367 368 369 367 369 370 371 56 62 371 372 56 373 374 375 376 42 49 377 
    376 49 373 378 374 379 380 381 382 380 379 383 384 385 383 386 384 387 388 389 390 391 392 387 393 388 390 392 394 395 396 397 398 396 
    395 399 400 401 399 402 400 403 404 405 406 407 408 403 409 404 406 408 410 411 412 413 414 412 411 415 416 417 415 418 416 419 420 421
     422 423 424 419 425 420 422 424 426 427 364 363 428 429 430 428 431 429 371 131 134 432 371 134 433 434 435 433 435 436 371 206 131 
     437 438 439 371 200 206 440 437 439 371 62 200 441 442 443 441 443 444 445 446 447 445 448 446 432 449 371 450 451 452 453 454 455
      456 454 453 450 452 457 367 458 368 459 460 461 462 460 459 428 430 463 422 464 423 465 466 467 468 466 465 415 417 469 406 470 407 
      471 472 473 474 472 471 399 401 475 390 476 391 477 478 479 480 478 477 383 385 481 190 42 376 376 111 122 186 376 122 482 483 484 
      482 484 485 376 486 111 487 488 489 490 491 492 493 487 489 490 494 491 377 495 376 496 497 498 186 190 376 499 500 501 502 500 499 
      503 496 498 504 505 506 504 507 505 252 508 509 252 510 508 511 512 513 259 514 515 511 516 512 259 515 517 518 519 520 521 519 518 
      268 522 523 268 524 522 525 526 527 275 528 529 525 530 526 275 529 531 532 533 534 535 533 532 284 536 537 284 538 536 539 540 541 
      291 542 543 539 544 540 291 543 545 546 547 548 549 547 546 300 550 551 300 552 550 308 553 554 308 554 555 252 509 556 308 557 553 
      558 559 560 561 559 558 300 551 562 291 563 542 564 565 566 567 565 564 284 537 568 275 569 528 570 571 572 573 571 570 268 523 574 
      259 575 514 576 577 578 367 579 580 367 580 581 582 583 584 585 583 582 383 586 587 383 588 586 589 590 591 390 592 593 594 590 589 
      390 593 595 596 597 598 599 597 596 399 600 601 399 602 600 603 604 605 406 606 607 608 604 603 406 607 609 610 611 612 613 611 610 
      415 614 615 415 616 614 617 618 619 422 620 621 622 618 617 422 621 623 624 577 576 428 625 626 428 627 625 367 628 579 629 630 631 
      629 632 630 428 626 633 422 634 620 635 636 637 635 638 636 415 615 639 406 640 606 641 642 643 641 644 642 399 601 645 390 646 592 
      383 587 647 648 649 650 648 651 649 252 556 255 259 263 575 652 653 654 655 653 652 268 574 271 275 279 569 656 657 658 659 657 656 
      284 568 287 291 295 563 660 661 662 663 661 660 300 562 303 308 311 557 664 665 666 367 581 458 667 668 669 670 668 667 383 481 588 
      390 595 476 671 672 673 674 672 671 399 475 602 406 609 470 675 676 677 678 676 675 415 469 616 422 623 464 
      679 665 664 428 463 627 680 252 340 681 682 683 259 517 684 685 681 683 686 687 688 268 358 689 686 688 690 691 692 693 275 531 694 
      695 691 693 696 697 698 
      284 352 699 696 698 700 701 702 703 291 545 704 705 701 703 706 707 708 300 346 709 706 708 710 308 555 711 712 367 370 713 714 715 
      428 633 716 717 713 715 718 719 720 422 426 721 718 720 722 723 724 725 415 639 726 727 723 725 728 729 730 406 410 731 728 730 732 
      733 734 735 399 645 736 737 733 735 738 739 740 390 394 741 738 740 742 383 647 743 744 745 746 747 744 746 748 749 750 751 748 750 
      752 753 754 755 752 754 756 757 758 759 756 758 760 761 762 763 760 762 764 765 766 767 764 766"/>
                                    </GeometryModel3D.Geometry>
                                </GeometryModel3D>
                            </Model3DGroup>
                        </ModelVisual3D.Content>
                    </ModelVisual3D>
                    <ModelVisual3D x:Name="henliang">
                        <ModelVisual3D.Content>
                            <Model3DGroup>
                                <Model3DGroup.Transform>
                                    <Transform3DGroup>
                                        <TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                                        <ScaleTransform3D ScaleZ="1" ScaleY="1" ScaleX="1"/>
                                        <RotateTransform3D d:EulerAngles="0,0,0">
                                            <RotateTransform3D.Rotation>
                                                <AxisAngleRotation3D Axis="0,1,0" Angle="0"/>
                                            </RotateTransform3D.Rotation>
                                        </RotateTransform3D>
                                        <TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                                        <TranslateTransform3D OffsetZ="-520" OffsetX="0" OffsetY="0"/>
                                    </Transform3DGroup>
                                </Model3DGroup.Transform>
                                <GeometryModel3D>
                                    <GeometryModel3D.Material>
                                        <MaterialGroup>
                                            <DiffuseMaterial>
                                                <DiffuseMaterial.Brush>
                                                    <SolidColorBrush Color="Blue"/>
                                                </DiffuseMaterial.Brush>
                                            </DiffuseMaterial>
                                        </MaterialGroup>
                                    </GeometryModel3D.Material>
                                    <GeometryModel3D.Geometry>
                                        <MeshGeometry3D Positions="330,85,580 30,85,590 30,85,580 30,87.5,590 30,85,580 30,85,590 330,87.5,580 330,85,580 30,85,580 30,87.5,580 30,87.5,580 330,85,590 30,87.5,590
30,85,590 330,85,590 330,87.5,580 330,85,590 330,85,580 330,87.5,590 330,87.5,590 330,100,590 330,100,580 30,100,580 30,97.5,580 30,100,580 330,100,580
30,100,590 30,97.5,580 30,100,590 30,100,580 330,97.5,590 330,100,580 330,100,590 330,97.5,580 330,97.5,580 330,97.5,590 330,100,590 30,100,590 30,97.5,590
30,97.5,590 30,88.112511,588.31714 330,87.5,590 30,88.112511,588.31714 30,87.5,590 30,88.112511,581.68286 330,88.112511,581.68286 30,87.5,580 30,88.112511,581.68286 330,87.5,580 30,96.887489,588.31714 30,96.887489,581.68286 330,96.887489,581.68286
30,88.112511,581.68286 30,96.887489,581.68286 330,88.112511,581.68286 330,97.5,580 30,96.887489,581.68286 30,97.5,580 330,96.887489,581.68286 330,96.887489,588.31714 30,97.5,590 30,96.887489,588.31714 330,97.5,590 330,88.112511,588.31714 30,96.887489,588.31714
30,88.112511,588.31714 330,96.887489,588.31714 330,88.112511,588.31714 330,88.112511,581.68286 330,88.112511,588.31714 330,96.887489,588.31714 330,96.887489,581.68286"  TriangleIndices="0 1 2 3 4 5 6 7 8 9 4 3 6 8 10 0 11 1 12 13 14 15 16 17 18 12 14 15 19 16 
20 21 22 23 24 25 26 20 22 27 28 29 30 31 32 33 23 25 34 31 30 35 36 37 38 28 27 35 37 39 40 9 3 41 42 43 40 44 9 45 46 47 48 46 45 49 50 44 51 52 53 40 49 44 54 52 51 38 27 50 55 56 57 49 38 50 58 56 55 59 60 61 59 62 60 63 64 65 66 64 63 67 42 41 68 69 19 15 68 19 34 30 70 71 70 69 68 71 69 71 34 70"/>

                                    </GeometryModel3D.Geometry>
                                </GeometryModel3D>
                            </Model3DGroup>
                        </ModelVisual3D.Content>
                    </ModelVisual3D>
                    <ModelVisual3D x:Name="shengsuo">
                        <ModelVisual3D.Content>
                            <Model3DGroup>
                                <Model3DGroup.Transform>
                                    <Transform3DGroup>
                                        <TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                                        <ScaleTransform3D ScaleZ="1" ScaleY="1" ScaleX="1"/>
                                        <RotateTransform3D d:EulerAngles="0,0,0">
                                            <RotateTransform3D.Rotation>
                                                <AxisAngleRotation3D Axis="0,1,0" Angle="0"/>
                                            </RotateTransform3D.Rotation>
                                        </RotateTransform3D>
                                        <TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                                        <TranslateTransform3D OffsetZ="-520" OffsetX="0" OffsetY="0"/>
                                    </Transform3DGroup>
                                </Model3DGroup.Transform>
                                <GeometryModel3D>
                                    <GeometryModel3D.Material>
                                        <MaterialGroup>
                                            <DiffuseMaterial>
                                                <DiffuseMaterial.Brush>
                                                    <SolidColorBrush Color="Blue"/>
                                                </DiffuseMaterial.Brush>
                                            </DiffuseMaterial>
                                        </MaterialGroup>
                                    </GeometryModel3D.Material>
                                    <GeometryModel3D.Geometry>
                                        <MeshGeometry3D Positions="186.40451,92.5,584.70618 186.40451,92.5,585.29382 186.5,92.5,585 186.5,82.5,585 186.5,92.5,585 186.40451,92.5,585.29382 186.40451,82.5,584.70618 186.40451,92.5,584.70618 186.15436,92.5,584.52448 186.15436,92.5,585.47552 186.40451,82.5,
                                585.29382 186.15436,92.5,585.47552 185.84564,92.5,584.52448
185.84564,92.5,585.47552 186.15436,82.5,585.47552 185.84564,92.5,585.47552 185.59549,92.5,584.70618 185.59549,92.5,585.29382 185.84564,82.5,585.47552 185.59549,92.5,585.29382 185.5,92.5,585 185.59549,82.5,585.29382 185.5,92.5,585 185.5,82.5,585 185.59549,92.5,584.70618 185.59549,82.5,584.70618
185.84564,92.5,584.52448 185.84564,82.5,584.52448 186.15436,92.5,584.52448 186.15436,82.5,584.52448 174.40451,92.5,584.70618 174.40451,92.5,585.29382 174.5,92.5,585 174.5,82.5,585 174.5,92.5,585 174.40451,92.5,585.29382 174.40451,82.5,584.70618 174.40451,92.5,584.70618 174.15436,92.5,584.52448
174.15436,92.5,585.47552 174.40451,82.5,585.29382 174.15436,92.5,585.47552 173.84564,92.5,584.52448 173.84564,92.5,585.47552 174.15436,82.5,585.47552 173.84564,92.5,585.47552 173.59549,92.5,584.70618 173.59549,92.5,585.29382 173.84564,82.5,585.47552 173.59549,92.5,585.29382 173.5,92.5,585 173.59549,82.5,585.29382
173.5,92.5,585 173.5,82.5,585 173.59549,92.5,584.70618 173.59549,82.5,584.70618 173.84564,92.5,584.52448 173.84564,82.5,584.52448 174.15436,92.5,584.52448 174.15436,82.5,584.52448 186.40451,82.5,585.29382 186.40451,82.5,584.70618 186.5,82.5,585 186.15436,82.5,585.47552 186.15436,82.5,584.52448
185.84564,82.5,585.47552 185.84564,82.5,584.52448 185.59549,82.5,585.29382 185.59549,82.5,584.70618 185.5,82.5,585 174.40451,82.5,585.29382 174.40451,82.5,584.70618 174.5,82.5,585 174.15436,82.5,585.47552 174.15436,82.5,584.52448 173.84564,82.5,585.47552 173.84564,82.5,584.52448 173.59549,82.5,585.29382
173.59549,82.5,584.70618 173.5,82.5,585" TriangleIndices="0 1 2 3 4 5 6 7 4 6 4 3 8 9 1 10 5 11 0 8 1 10 3 5 12 13 9 14 11 15 8 12 9 10 11 14 16 17 13 18 15 19 12 16 13 14 15 18 16 20 17 21 19 22 18 19 21 23 22 24 21 22 23 25 24 26 23 24 25 27 26 28 25 26 27 29 28 7 27 28 29 29 7 6 30 31 32 33 34 35 36 37
 34 36 34 33 38 39 31 40 35 41 30 38 31 40 33 35 42 43 39 44 41 45 38 42 39 40 41 44 46 47 43 48 45 49 42 46 43 44 45 48 46 50 47 51 49 52 48 49 51 53 52 54 51 52 53 55 54 56 53 54 55 57 56 58 55 56 57 59 58 37 57 58 59 59 37 36 60 61 62 63 64 61 60 63 61 65 66 64 63 65 64 67 68 66 65 67 66 67 69 68 70 71 
 72 73 74 71 70 73 71 75 76 74 73 75 74 77 78 76 75 77 76 77 79 78"/>
                                    </GeometryModel3D.Geometry>
                                </GeometryModel3D>
                            </Model3DGroup>
                        </ModelVisual3D.Content>
                    </ModelVisual3D>
                    <ModelVisual3D x:Name="zhuashou">
                        <ModelVisual3D.Content>
                            <Model3DGroup>
                                <Model3DGroup.Transform>
                                    <Transform3DGroup>
                                        <TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                                        <ScaleTransform3D ScaleZ="1" ScaleY="1" ScaleX="1"/>
                                        <RotateTransform3D d:EulerAngles="0,0,0">
                                            <RotateTransform3D.Rotation>
                                                <AxisAngleRotation3D Axis="0,1,0" Angle="0"/>
                                            </RotateTransform3D.Rotation>
                                        </RotateTransform3D>
                                        <TranslateTransform3D OffsetZ="0" OffsetX="0" OffsetY="0"/>
                                        <TranslateTransform3D OffsetZ="-520" OffsetX="0" OffsetY="0"/>
                                    </Transform3DGroup>
                                </Model3DGroup.Transform>
                                <GeometryModel3D>
                                    <GeometryModel3D.Material>
                                        <MaterialGroup>
                                            <DiffuseMaterial>
                                                <DiffuseMaterial.Brush>
                                                    <SolidColorBrush Color="Blue"/>
                                                </DiffuseMaterial.Brush>
                                            </DiffuseMaterial>
                                        </MaterialGroup>
                                    </GeometryModel3D.Material>
                                    <GeometryModel3D.Geometry>
                                        <MeshGeometry3D Positions="174,81,583.5 172.5,74,583.5 172.5,82.5,583.5 172.5,82.5,586.5 172.5,82.5,583.5 172.5,74,583.5 187.5,82.5,583.5 187.5,
                                82.5,586.5 187.5,82.5,583.5 172.5,82.5,583.5 172.5,82.5,586.5 174,74,583.5 174,74,586.5
172.5,74,583.5 174,74,583.5 172.5,74,586.5 172.5,74,586.5 174,74,586.5 174,74,583.5 174,81,583.5 186,81,583.5 174,81,586.5 174,81,583.5 186,81,583.5 174,81,586.5 186,74,583.5
186,81,586.5 186,81,583.5 186,74,583.5 186,81,586.5 187.5,74,583.5 187.5,74,586.5 186,74,583.5 187.5,74,583.5 186,74,586.5 186,74,586.5 187.5,74,586.5 187.5,74,583.5 187.5,82.5,583.5
187.5,82.5,586.5 186,81,586.5 187.5,82.5,586.5 172.5,82.5,586.5 174,81,586.5 174,74,586.5 172.5,74,586.5 187.5,74,586.5 186,74,586.5" TriangleIndices="0 1 2 3 4 5 6 0 2 7 8 9 7 9 10 
0 11 1 12 13 14 15 3 5 16 13 12 17 18 19 6 20 0 21 22 23 17 19 24 6 25 20 26 27 28 21 23 29 6 30 25 31 32 33 34 32 31 26 28 35 36 37 38 36 38 39 40 41 42 43 40 42 44 43 42 45 44 42 40 
46 41 40 47 46"/>
                                    </GeometryModel3D.Geometry>
                                </GeometryModel3D>
                            </Model3DGroup>
                        </ModelVisual3D.Content>
                    </ModelVisual3D>
                    <ModelVisual3D >
                        <ModelVisual3D.Content>
                            <Model3DGroup>
                                <GeometryModel3D x:Name="gangjuan">
                                    <GeometryModel3D.Material>
                                            <DiffuseMaterial>
                                                <DiffuseMaterial.Brush>
                                                    <SolidColorBrush  Color="LightGray" Opacity="1"/>
                                                </DiffuseMaterial.Brush>
                                            </DiffuseMaterial>
                                    </GeometryModel3D.Material>
                                    <GeometryModel3D.Geometry>
                                        <MeshGeometry3D Positions="-5,3.994045,-0.21729 -5,-3.994045,-0.21729 -5,-4,0 5,-4,0 -5,-4,0 -5,-3.994045,-0.21729 -5,4,0 -5,-3.994045,0.21729 5,-3.994045,0.21729 -5,-3.994045,0.21729 -5,3.9764929,-0.43291301 -5,-3.9764929,-0.43291301 5,-3.994045,-0.21729
-5,-3.9764929,-0.43291301 -5,3.947324,-0.64696199 -5,-3.947324,-0.64696199 5,-3.9764929,-0.43291301 -5,-3.947324,-0.64696199 -5,3.906441,-0.85988998 -5,-3.906441,-0.85988998 5,-3.947324,-0.64696199 -5,-3.906441,-0.85988998 -5,3.854157,-1.07025 -5,-3.854157,-1.07025 5,-3.906441,-0.85988998 -5,-3.854157,-1.07025
-5,3.7906449,-1.277033 -5,-3.7906449,-1.277033 5,-3.854157,-1.07025 -5,-3.7906449,-1.277033 -5,3.715827,-1.4806679 -5,-3.715827,-1.4806679 5,-3.7906449,-1.277033 -5,-3.715827,-1.4806679 -5,3.630326,-1.679502 -5,-3.630326,-1.679502 5,-3.715827,-1.4806679 -5,-3.630326,-1.679502 -5,3.534054,-1.8735451
-5,-3.534054,-1.8735451 5,-3.630326,-1.679502 -5,-3.534054,-1.8735451 -5,3.4273181,-2.062367 -5,-3.4273181,-2.062367 5,-3.534054,-1.8735451 -5,-3.4273181,-2.062367 -5,3.310847,-2.244591 -5,-3.310847,-2.244591 5,-3.4273181,-2.062367 -5,-3.310847,-2.244591 -5,3.1843121,-2.4207129 -5,-3.1843121,-2.4207129
5,-3.310847,-2.244591 -5,-3.1843121,-2.4207129 -5,3.0485771,-2.5896249 -5,-3.0485771,-2.5896249 5,-3.1843121,-2.4207129 -5,-3.0485771,-2.5896249 -5,2.9040699,-2.750664 -5,-2.9040699,-2.750664 5,-3.0485771,-2.5896249 -5,-2.9040699,-2.750664 -5,2.750664,-2.9040699 -5,-2.750664,-2.9040699 5,-2.9040699,-2.750664
-5,-2.750664,-2.9040699 -5,2.5896249,-3.0485771 -5,-2.5896249,-3.0485771 5,-2.750664,-2.9040699 -5,-2.5896249,-3.0485771 -5,2.4207129,-3.1843121 -5,-2.4207129,-3.1843121 5,-2.5896249,-3.0485771 -5,-2.4207129,-3.1843121 -5,2.244591,-3.310847 -5,-2.244591,-3.310847 5,-2.4207129,-3.1843121 -5,-2.244591,-3.310847
-5,2.062367,-3.4273181 -5,-2.062367,-3.4273181 5,-2.244591,-3.310847 -5,-2.062367,-3.4273181 -5,1.8735451,-3.534054 -5,-1.8735451,-3.534054 5,-2.062367,-3.4273181 -5,-1.8735451,-3.534054 -5,1.679502,-3.630326 -5,-1.679502,-3.630326 5,-1.8735451,-3.534054 -5,-1.679502,-3.630326 -5,1.4806679,-3.715827
-5,-1.4806679,-3.715827 5,-1.679502,-3.630326 -5,-1.4806679,-3.715827 -5,1.277033,-3.7906449 -5,-1.277033,-3.7906449 5,-1.4806679,-3.715827 -5,-1.277033,-3.7906449 -5,1.07025,-3.854157 -5,-1.07025,-3.854157 5,-1.277033,-3.7906449 -5,-1.07025,-3.854157 -5,0.85988998,-3.906441 -5,-0.85988998,-3.906441
5,-1.07025,-3.854157 -5,-0.85988998,-3.906441 -5,0.64696199,-3.947324 -5,-0.64696199,-3.947324 5,-0.85988998,-3.906441 -5,-0.64696199,-3.947324 -5,0.432657,-3.976511 -5,-0.432657,-3.976511 5,-0.64696199,-3.947324 -5,-0.432657,-3.976511 -5,0.216443,-3.9941051 -5,-0.216443,-3.9941051 5,-0.432657,-3.976511
-5,-0.216443,-3.9941051 -5,0,-4 5,-0.216443,-3.9941051 -5,0,-4 5,0,-4 -5,0.216443,-3.9941051 5,0.216443,-3.9941051 -5,0.432657,-3.976511 5,0.432657,-3.976511 -5,0.64696199,-3.947324 5,0.64696199,-3.947324 -5,0.85988998,-3.906441 5,0.85988998,-3.906441
-5,1.07025,-3.854157 5,1.07025,-3.854157 -5,1.277033,-3.7906449 5,1.277033,-3.7906449 -5,1.4806679,-3.715827 5,1.4806679,-3.715827 -5,1.679502,-3.630326 5,1.679502,-3.630326 -5,1.8735451,-3.534054 5,1.8735451,-3.534054 -5,2.062367,-3.4273181 5,2.062367,-3.4273181 -5,2.244591,-3.310847
5,2.244591,-3.310847 -5,2.4207129,-3.1843121 5,2.4207129,-3.1843121 -5,2.5896249,-3.0485771 5,2.5896249,-3.0485771 -5,2.750664,-2.9040699 5,2.750664,-2.9040699 -5,2.9040699,-2.750664 5,2.9040699,-2.750664 -5,3.0485771,-2.5896249 5,3.0485771,-2.5896249 -5,3.1843121,-2.4207129 5,3.1843121,-2.4207129
-5,3.310847,-2.244591 5,3.310847,-2.244591 -5,3.4273181,-2.062367 5,3.4273181,-2.062367 -5,3.534054,-1.8735451 5,3.534054,-1.8735451 -5,3.630326,-1.679502 5,3.630326,-1.679502 -5,3.715827,-1.4806679 5,3.715827,-1.4806679 -5,3.7906449,-1.277033 5,3.7906449,-1.277033 -5,3.854157,-1.07025
5,3.854157,-1.07025 -5,3.906441,-0.85988998 5,3.906441,-0.85988998 -5,3.947324,-0.64696199 5,3.947324,-0.64696199 -5,3.9764929,-0.43291301 5,3.9764929,-0.43291301 -5,3.994045,-0.21729 5,3.994045,-0.21729 -5,4,0 -5,3.994045,0.21729 5,4,0 -5,3.994045,0.21729
-5,-3.9764929,0.43291301 -5,3.9764929,0.43291301 5,3.994045,0.21729 -5,3.9764929,0.43291301 -5,-3.947324,0.64696199 -5,3.947324,0.64696199 5,3.9764929,0.43291301 -5,3.947324,0.64696199 -5,-3.906441,0.85988998 -5,3.906441,0.85988998 5,3.947324,0.64696199 -5,3.906441,0.85988998 -5,-3.854157,1.07025
-5,3.854157,1.07025 5,3.906441,0.85988998 -5,3.854157,1.07025 -5,-3.7906449,1.277033 -5,3.7906449,1.277033 5,3.854157,1.07025 -5,3.7906449,1.277033 -5,-3.715827,1.4806679 -5,3.715827,1.4806679 5,3.7906449,1.277033 -5,3.715827,1.4806679 -5,-3.630326,1.679502 -5,3.630326,1.679502
5,3.715827,1.4806679 -5,3.630326,1.679502 -5,-3.534054,1.8735451 -5,3.534054,1.8735451 5,3.630326,1.679502 -5,3.534054,1.8735451 -5,-3.4273181,2.062367 -5,3.4273181,2.062367 5,3.534054,1.8735451 -5,3.4273181,2.062367 -5,-3.310847,2.244591 -5,3.310847,2.244591 5,3.4273181,2.062367
-5,3.310847,2.244591 -5,-3.1843121,2.4207129 -5,3.1843121,2.4207129 5,3.310847,2.244591 -5,3.1843121,2.4207129 -5,-3.0485771,2.5896249 -5,3.0485771,2.5896249 5,3.1843121,2.4207129 -5,3.0485771,2.5896249 -5,-2.9040699,2.750664 -5,2.9040699,2.750664 5,3.0485771,2.5896249 -5,2.9040699,2.750664
-5,-2.750664,2.9040699 -5,2.750664,2.9040699 5,2.9040699,2.750664 -5,2.750664,2.9040699 -5,-2.5896249,3.0485771 -5,2.5896249,3.0485771 5,2.750664,2.9040699 -5,2.5896249,3.0485771 -5,-2.4207129,3.1843121 -5,2.4207129,3.1843121 5,2.5896249,3.0485771 -5,2.4207129,3.1843121 -5,-2.244591,3.310847
-5,2.244591,3.310847 5,2.4207129,3.1843121 -5,2.244591,3.310847 -5,-2.062367,3.4273181 -5,2.062367,3.4273181 5,2.244591,3.310847 -5,2.062367,3.4273181 -5,-1.8735451,3.534054 -5,1.8735451,3.534054 5,2.062367,3.4273181 -5,1.8735451,3.534054 -5,-1.679502,3.630326 -5,1.679502,3.630326
5,1.8735451,3.534054 -5,1.679502,3.630326 -5,-1.4806679,3.715827 -5,1.4806679,3.715827 5,1.679502,3.630326 -5,1.4806679,3.715827 -5,-1.277033,3.7906449 -5,1.277033,3.7906449 5,1.4806679,3.715827 -5,1.277033,3.7906449 -5,-1.07025,3.854157 -5,1.07025,3.854157 5,1.277033,3.7906449
-5,1.07025,3.854157 -5,-0.85988998,3.906441 -5,0.85988998,3.906441 5,1.07025,3.854157 -5,0.85988998,3.906441 -5,-0.64696199,3.947324 -5,0.64696199,3.947324 5,0.85988998,3.906441 -5,0.64696199,3.947324 -5,-0.432657,3.976511 -5,0.432657,3.976511 5,0.64696199,3.947324 -5,0.432657,3.976511
-5,-0.216443,3.9941051 -5,0.216443,3.9941051 5,0.432657,3.976511 -5,0.216443,3.9941051 -5,0,4 5,0.216443,3.9941051 -5,0,4 5,0,4 -5,-0.216443,3.9941051 5,-0.216443,3.9941051 -5,-0.432657,3.976511 5,-0.432657,3.976511 -5,-0.64696199,3.947324
5,-0.64696199,3.947324 -5,-0.85988998,3.906441 5,-0.85988998,3.906441 -5,-1.07025,3.854157 5,-1.07025,3.854157 -5,-1.277033,3.7906449 5,-1.277033,3.7906449 -5,-1.4806679,3.715827 5,-1.4806679,3.715827 -5,-1.679502,3.630326 5,-1.679502,3.630326 -5,-1.8735451,3.534054 5,-1.8735451,3.534054
-5,-2.062367,3.4273181 5,-2.062367,3.4273181 -5,-2.244591,3.310847 5,-2.244591,3.310847 -5,-2.4207129,3.1843121 5,-2.4207129,3.1843121 -5,-2.5896249,3.0485771 5,-2.5896249,3.0485771 -5,-2.750664,2.9040699 5,-2.750664,2.9040699 -5,-2.9040699,2.750664 5,-2.9040699,2.750664 -5,-3.0485771,2.5896249
5,-3.0485771,2.5896249 -5,-3.1843121,2.4207129 5,-3.1843121,2.4207129 -5,-3.310847,2.244591 5,-3.310847,2.244591 -5,-3.4273181,2.062367 5,-3.4273181,2.062367 -5,-3.534054,1.8735451 5,-3.534054,1.8735451 -5,-3.630326,1.679502 5,-3.630326,1.679502 -5,-3.715827,1.4806679 5,-3.715827,1.4806679
-5,-3.7906449,1.277033 5,-3.7906449,1.277033 -5,-3.854157,1.07025 5,-3.854157,1.07025 -5,-3.906441,0.85988998 5,-3.906441,0.85988998 -5,-3.947324,0.64696199 5,-3.947324,0.64696199 -5,-3.9764929,0.43291301 5,-3.9764929,0.43291301 5,3.994045,0.21729 5,-3.994045,0.21729 5,-4,0
5,4,0 5,-3.994045,-0.21729 5,3.9764929,0.43291301 5,-3.9764929,0.43291301 5,3.947324,0.64696199 5,-3.947324,0.64696199 5,3.906441,0.85988998 5,-3.906441,0.85988998 5,3.854157,1.07025 5,-3.854157,1.07025 5,3.7906449,1.277033 5,-3.7906449,1.277033 5,3.715827,1.4806679
5,-3.715827,1.4806679 5,3.630326,1.679502 5,-3.630326,1.679502 5,3.534054,1.8735451 5,-3.534054,1.8735451 5,3.4273181,2.062367 5,-3.4273181,2.062367 5,3.310847,2.244591 5,-3.310847,2.244591 5,3.1843121,2.4207129 5,-3.1843121,2.4207129 5,3.0485771,2.5896249 5,-3.0485771,2.5896249
5,2.9040699,2.750664 5,-2.9040699,2.750664 5,2.750664,2.9040699 5,-2.750664,2.9040699 5,2.5896249,3.0485771 5,-2.5896249,3.0485771 5,2.4207129,3.1843121 5,-2.4207129,3.1843121 5,2.244591,3.310847 5,-2.244591,3.310847 5,2.062367,3.4273181 5,-2.062367,3.4273181 5,1.8735451,3.534054
5,-1.8735451,3.534054 5,1.679502,3.630326 5,-1.679502,3.630326 5,1.4806679,3.715827 5,-1.4806679,3.715827 5,1.277033,3.7906449 5,-1.277033,3.7906449 5,1.07025,3.854157 5,-1.07025,3.854157 5,0.85988998,3.906441 5,-0.85988998,3.906441 5,0.64696199,3.947324 5,-0.64696199,3.947324
5,0.432657,3.976511 5,-0.432657,3.976511 5,0.216443,3.9941051 5,-0.216443,3.9941051 5,0,4 5,3.994045,-0.21729 5,-3.9764929,-0.43291301 5,3.9764929,-0.43291301 5,-3.947324,-0.64696199 5,3.947324,-0.64696199 5,-3.906441,-0.85988998 5,3.906441,-0.85988998 5,-3.854157,-1.07025
5,3.854157,-1.07025 5,-3.7906449,-1.277033 5,3.7906449,-1.277033 5,-3.715827,-1.4806679 5,3.715827,-1.4806679 5,-3.630326,-1.679502 5,3.630326,-1.679502 5,-3.534054,-1.8735451 5,3.534054,-1.8735451 5,-3.4273181,-2.062367 5,3.4273181,-2.062367 5,-3.310847,-2.244591 5,3.310847,-2.244591
5,-3.1843121,-2.4207129 5,3.1843121,-2.4207129 5,-3.0485771,-2.5896249 5,3.0485771,-2.5896249 5,-2.9040699,-2.750664 5,2.9040699,-2.750664 5,-2.750664,-2.9040699 5,2.750664,-2.9040699 5,-2.5896249,-3.0485771 5,2.5896249,-3.0485771 5,-2.4207129,-3.1843121 5,2.4207129,-3.1843121 5,-2.244591,-3.310847
5,2.244591,-3.310847 5,-2.062367,-3.4273181 5,2.062367,-3.4273181 5,-1.8735451,-3.534054 5,1.8735451,-3.534054 5,-1.679502,-3.630326 5,1.679502,-3.630326 5,-1.4806679,-3.715827 5,1.4806679,-3.715827 5,-1.277033,-3.7906449 5,1.277033,-3.7906449 5,-1.07025,-3.854157 5,1.07025,-3.854157
5,-0.85988998,-3.906441 5,0.85988998,-3.906441 5,-0.64696199,-3.947324 5,0.64696199,-3.947324 5,-0.432657,-3.976511 5,0.432657,-3.976511 5,-0.216443,-3.9941051 5,0.216443,-3.9941051 5,0,-4" TriangleIndices="0 1 2 3 4 5 6 0 2 7 6 2 8 9 4 8 4 3 10 11 1 12 5 13 0 10 1 12 3 5 14 15 11 16 13 17 10 14 11 
12 13 16 18 19 15 20 17 21 14 18 15 16 17 20 22 23 19 24 21 25 18 22 19 20 21 24 26 27 23 28 25 29 22 26 23 24 25 28 30 31 27 32 29 33 26 30
 27 28 29 32 34 35 31 36 33 37 30 34 31 32 33 36 38 39 35 40 37 41 34 38 35 36 37 40 42 43 39 44 41 45 38 42 39 40 41 44 46 47 43 48 45 49 
 42 46 43 44 45 48 50 51 47 52 49 53 46 50 47 48 49 52 54 55 51 56 53 57 50 54 51 52 53 56 58 59 55 60 57 61 54 58 55 56 57 60 62 63 59 64 
 61 65 58 62 59 60 61 64 66 67 63 68 65 69 62 66 63 64 65 68 70 71 67 72 69 73 66 70 67 68 69 72 74 75 71 76 73 77 70 74 71 72 73 76 78 79 
 75 80 77 81 74 78 75 76 77 80 82 83 79 84 81 85 78 82 79 80 81 84 86 87 83 88 85 89 82 86 83 84 85 88 90 91 87 92 89 93 86 90 87 88 89 92 
 94 95 91 96 93 97 90 94 91 92 93 96 98 99 95 100 97 101 94 98 95 96 97 100 102 103 99 104 101 105 98 102 99 100 101 104 106 107 103 108 105
  109 102 106 103 104 105 108 110 111 107 112 109 113 106 110 107 108 109 112 114 115 111 116 113 117 110 114 111 112 113 116 114 118 115 
  119 117 120 116 117 119 121 120 122 119 120 121 123 122 124 121 122 123 125 124 126 123 124 125 127 126 128 125 126 127 129 128 130 127 
  128 129 131 130 132 129 130 131 133 132 134 131 132 133 135 134 136 133 134 135 137 136 138 135 136 137 139 138 140 137 138 139 141 140 
  142 139 140 141 143 142 144 141 142 143 145 144 146 143 144 145 147 146 148 145 146 147 149 148 150 147 148 149 151 150 152 149 150 151 
  153 152 154 151 152 153 155 154 156 153 154 155 157 156 158 155 156 157 159 158 160 157 158 159 161 160 162 159 160 161 163 162 164 161 
  162 163 165 164 166 163 164 165 167 166 168 165 166 167 169 168 170 167 168 169 171 170 172 169 170 171 173 172 174 171 172 173 175 174
   176 173 174 175 177 176 178 175 176 177 7 179 6 180 178 181 177 178 180 182 183 179 184 181 185 7 182 179 180 181 184 186 187 183 188 185
    189 182 186 183 184 185 188 190 191 187 192 189 193 186 190 187 188 189 192 194 195 191 196 193 197 190 194 191 192 193 196 198 199 195
     200 197 201 194 198 195 196 197 200 202 203 199 204 201 205 198 202 199 200 201 204 206 207 203 208 205 209 202 206 203 204 205 208 210
      211 207 212 209 213 206 210 207 208 209 212 214 215 211 216 213 217 210 214 211 212 213 216 218 219 215 220 217 221 214 218 215 216 
      217 220 222 223 219 224 221 225 218 222 219 220 221 224 226 227 223 228 225 229 222 226 223 224 225 228 230 231 227 232 229 233 226 
      230 227 228 229 232 234 235 231 236 233 237 230 234 231 232 233 236 238 239 235 240 237 241 234 238 235 236 237 240 242 243 239 244
       241 245 238 242 239 240 241 244 246 247 243 248 245 249 242 246 243 244 245 248 250 251 247 252 249 253 246 250 247 248 249 252 254 
       255 251 256 253 257 250 254 251 252 253 256 258 259 255 260 257 261 254 258 255 256 257 260 262 263 259 264 261 265 258 262 259 260
        261 264 266 267 263 268 265 269 262 266 263 264 265 268 270 271 267 272 269 273 266 270 267 268 269 272 274 275 271 276 273 277 270
         274 271 272 273 276 278 279 275 280 277 281 274 278 275 276 277 280 282 283 279 284 281 285 278 282 279 280 281 284 286 287 283 
         288 285 289 282 286 283 284 285 288 286 290 287 291 289 292 288 289 291 293 292 294 291 292 293 295 294 296 293 294 295 297 296 
         298 295 296 297 299 298 300 297 298 299 301 300 302 299 300 301 303 302 304 301 302 303 305 304 306 303 304 305 307 306 308 305 
         306 307 309 308 310 307 308 309 311 310 312 309 310 311 313 312 314 311 312 313 315 314 316 313 314 315 317 316 318 315 316 317 
         319 318 320 317 318 319 321 320 322 319 320 321 323 322 324 321 322 323 325 324 326 323 324 325 327 326 328 325 326 327 329 328 
         330 327 328 329 331 330 332 329 330 331 333 332 334 331 332 333 335 334 336 333 334 335 337 336 338 335 336 337 339 338 340 337 
         338 339 341 340 342 339 340 341 343 342 344 341 342 343 345 344 346 343 344 345 347 346 9 345 346 347 347 9 8 348 349 350 351 348 
         350 352 351 350 353 354 349 348 353 349 355 356 354 353 355 354 357 358 356 355 357 356 359 360 358 357 359 358 361 362 360 359 
         361 360 363 364 362 361 363 362 365 366 364 363 365 364 367 368 366 365 367 366 369 370 368 367 369 368 371 372 370 369 371 370 
         373 374 372 371 373 372 375 376 374 373 375 374 377 378 376 375 377 376 379 380 378 377 379 378 381 382 380 379 381 380 383 384 
         382 381 383 382 385 386 384 383 385 384 387 388 386 385 387 386 389 390 388 387 389 388 391 392 390 389 391 390 393 394 392 391 
         393 392 395 396 394 393 395 394 397 398 396 395 397 396 399 400 398 397 399 398 401 402 400 399 401 400 403 404 402 401 403 402 
         405 406 404 403 405 404 405 407 406 352 408 351 409 410 408 352 409 408 411 412 410 409 411 410 413 414 412 411 413 412 415 416 
         414 413 415 414 417 418 416 415 417 416 419 420 418 417 419 418 421 422 420 419 421 420 423 424 422 421 423 422 425 426 424 423 
         425 424 427 428 426 425 427 426 429 430 428 427 429 428 431 432 430 429 431 430 433 434 432 431 433 432 435 436 434 433 435 434 
         437 438 436 435 437 436 439 440 438 437 439 438 441 442 440 439 441 440 443 444 442 441 443 442 445 446 444 443 445 444 447 448
          446 445 447 446 449 450 448 447 449 448 451 452 450 449 451 450 453 454 452 451 453 452 455 456 454 453 455 454 457 458 456 455 
          457 456 459 460 458 457 459 458 461 462 460 459 461 460 461 463 462"/>
                                    </GeometryModel3D.Geometry>
                                </GeometryModel3D>
                            </Model3DGroup>
                        </ModelVisual3D.Content>
                    </ModelVisual3D>
                    <ModelVisual3D x:Name="qiangbi">
                        <ModelVisual3D.Content>
                            <Model3DGroup>
                                <GeometryModel3D>
                                    <GeometryModel3D.Material>
                                        <MaterialGroup>
                                            <DiffuseMaterial>
                                                <DiffuseMaterial.Brush>
                                                    <SolidColorBrush Color="Gray"/>
                                                </DiffuseMaterial.Brush>
                                            </DiffuseMaterial>
                                        </MaterialGroup>
                                    </GeometryModel3D.Material>
                                    <GeometryModel3D.Geometry>
                                        <MeshGeometry3D Positions="0 0 0 0 100 0 360 100 0 360 0 0 0 100 620 0 0 620 360 100 620 360 0 620" TriangleIndices="
                                                        0 3 2 2 1 0 1 4 5 5 0 1 2 3 7 7 6 2 6 7 5 5 4 6"/>
                                    </GeometryModel3D.Geometry>
                                </GeometryModel3D>
                            </Model3DGroup>
                        </ModelVisual3D.Content>
                    </ModelVisual3D>
                </Viewport3D.Children>
            </Viewport3D>
        </tools:TrackballDecorator>
    </Grid>
</Window>

    

 

 

 

 

 

 

 

 

 

 

 

 

 

 

posted @ 2012-09-28 20:30  zscflying  阅读(988)  评论(0编辑  收藏  举报