Пример #1
0
                    /// <summary>
                    /// 构造函数
                    /// </summary>
                    /// <param name="name">名称</param>
                    /// <param name="ref_sceneManager">地理场景管理器</param>
                    public RadarWave(string name, EarthView.World.Spatial3D.GeoSceneManager ref_sceneManager) : base(CreatedWhenConstruct.CWC_NotToCreate)
                    {
                        NameValuePairList list      = new NameValuePairList();
                        BasePtr           valuename = new BasePtr(name);

                        list.Add("name", valuename.PtrVal);
                        BasePtr valueref_sceneManager = new BasePtr(ref_sceneManager);

                        list.Add("ref_sceneManager", valueref_sceneManager.PtrVal);
                        Create("CRadarWave", list);
                        RegisterCallBack();
                        this.needDispose = true;
                        GlobalTraceInfoMap.Put(this);
                    }
Пример #2
0
                    /// <summary>
                    /// 构造函数
                    /// </summary>
                    /// <param name="ref_pManager">地球场景管理器</param>
                    public AltitudeListener(EarthView.World.Spatial3D.GeoSceneManager ref_pManager) : base(CreatedWhenConstruct.CWC_NotToCreate)
                    {
                        NameValuePairList list = new NameValuePairList();
                        BasePtr           valueref_pManager = new BasePtr(ref_pManager);

                        list.Add("ref_pManager", valueref_pManager.PtrVal);
                        Create("CAltitudeListenerProxy", list);
                        if (!"EarthView.World.Spatial3D.Analysis.AltitudeListener".Equals(((Object)this).GetType().ToString()))
                        {
                            this.SetCustomExtend(true);
                        }
                        RegisterCallBack();
                        this.needDispose = true;
                        GlobalTraceInfoMap.Put(this);
                    }
Пример #3
0
 /// <summary>
 /// 设置场景管理器
 /// </summary>
 /// <param name="ref_pManager">场景管理器</param>
 public void SetGeoSceneManager(EarthView.World.Spatial3D.GeoSceneManager ref_pManager)
 {
     EarthView_World_Spatial3D_Analysis_CAltitudeListener_setGeoSceneManager_void_CGeoSceneManager(this.NativeObject, object.Equals(ref_pManager, null) ? IntPtr.Zero : ref_pManager.NativeObject);
 }