Example #1
0
        public FrmTrafficRoute(TerraExplorerClass te, TerraExplorerX.ISGWorld61 sgWorld)
        {
            InitializeComponent();

            m_TerraExplorer = te;
            m_SGWorld       = sgWorld;
            lblStatus.Text  = "";
        }
Example #2
0
        public FrmTrafficRoute(TerraExplorerClass te,TerraExplorerX.ISGWorld61 sgWorld)
        {
            InitializeComponent();

            m_TerraExplorer = te;
            m_SGWorld = sgWorld;
            lblStatus.Text = "";
        }
Example #3
0
        public FrmViewshed(ISGWorld61 hook, TerraExplorerClass te)
        {
            InitializeComponent();

            this.m_Hook          = hook;
            this.m_EventHook     = hook as _ISGWorld61Events_Event;
            this.m_TerraExplorer = te;
            this.m_GroupID       = this.m_Hook.ProjectTree.FindItem("视域分析");
            if (this.m_GroupID <= 0)
            {
                this.m_GroupID = this.m_Hook.ProjectTree.CreateGroup("视域分析");
            }

            // 绑定
            Bound();
        }
Example #4
0
        private string m_VisibleArea = ConfigurationManager.AppSettings["ViewshedVisible"]; //Visible Area

        #endregion Fields

        #region Constructors

        public FrmViewshed(ISGWorld61 hook ,TerraExplorerClass te)
        {
            InitializeComponent();

            this.m_Hook = hook;
            this.m_EventHook = hook as _ISGWorld61Events_Event;
            this.m_TerraExplorer = te;
            this.m_GroupID = this.m_Hook.ProjectTree.FindItem("视域分析");
            if (this.m_GroupID <= 0)
            {
                this.m_GroupID = this.m_Hook.ProjectTree.CreateGroup("视域分析");
            }

            // 绑定
            Bound();
        }
Example #5
0
        static Program()
        {
            TE = new TerraExplorerClass();
            sgworld = new SGWorld61Class();

            Program.ITE = Program.TE as ITerraExplorer5;
            Program.IInfoTree = (IInformationTree5)Program.TE;
            Program.pRender = (IRender5)Program.TE;
            Program.pPlane5 = (IPlane5)Program.TE;
            Program.Terrain5 = (ITerrain5)Program.TE;
            Program.pNavigate6 = (INavigate61)Program.sgworld.Navigate;
            Program.pIobject = (IObjectManager51)Program.TE;
            Program.pCreator6 = (ICreator61)Program.sgworld.Creator;
            Program.pDateTime = (IDateTime61)Program.sgworld.DateTime;
            Program.pCoordServices6 = (ICoordServices61)Program.sgworld.CoordServices;
            Program.CoordSys = (ICoordSys3)Program.TE;
        }
Example #6
0
        static Program()
        {
            TE      = new TerraExplorerClass();
            sgworld = new SGWorld61Class();

            Program.ITE             = Program.TE as ITerraExplorer5;
            Program.IInfoTree       = (IInformationTree5)Program.TE;
            Program.pRender         = (IRender5)Program.TE;
            Program.pPlane5         = (IPlane5)Program.TE;
            Program.Terrain5        = (ITerrain5)Program.TE;
            Program.pNavigate6      = (INavigate61)Program.sgworld.Navigate;
            Program.pIobject        = (IObjectManager51)Program.TE;
            Program.pCreator6       = (ICreator61)Program.sgworld.Creator;
            Program.pDateTime       = (IDateTime61)Program.sgworld.DateTime;
            Program.pCoordServices6 = (ICoordServices61)Program.sgworld.CoordServices;
            Program.CoordSys        = (ICoordSys3)Program.TE;
        }