/// <summary> /// 相机锁定输入交互控制器构造函数 /// </summary> /// <param name="ref_camera">相机</param> /// <param name="ref_sceneManager">场景管理器</param> /// <param name="ref_viewport">视口</param> /// <param name="ref_dynamicModelManager">动态目标管理器,该参数对象的生命周期要与本对象保持一致</param> /// <param name="ref_globeControl">地球窗体</param> public DynamicCameraLockHandler(EarthView.World.Spatial3D.GlobeCamera ref_camera, EarthView.World.Graphic.SceneManager ref_sceneManager, EarthView.World.Graphic.Viewport ref_viewport, EarthView.IndustryEngine.DynamicModelLibrary.DynamicModelObjectManager ref_dynamicModelManager, EarthView.World.Spatial3D.Controls.GlobeControl ref_globeControl) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueref_camera = new BasePtr(ref_camera); list.Add("ref_camera", valueref_camera.PtrVal); BasePtr valueref_sceneManager = new BasePtr(ref_sceneManager); list.Add("ref_sceneManager", valueref_sceneManager.PtrVal); BasePtr valueref_viewport = new BasePtr(ref_viewport); list.Add("ref_viewport", valueref_viewport.PtrVal); BasePtr valueref_dynamicModelManager = new BasePtr(ref_dynamicModelManager); list.Add("ref_dynamicModelManager", valueref_dynamicModelManager.PtrVal); BasePtr valueref_globeControl = new BasePtr(ref_globeControl); list.Add("ref_globeControl", valueref_globeControl.PtrVal); Create("CDynamicCameraLockHandlerProxy", list); if (!"EarthView.IndustryEngine.DynamicModelLibrary.DynamicCameraLockHandler".Equals(((Object)this).GetType().ToString())) { this.SetCustomExtend(true); } RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
public ModelOctreeManager(string web, EarthView.World.Spatial.Evspatialserver pNetServer, EarthView.World.Spatial.Evbasemodeldataset pNetDataset, EarthView.World.Spatial.Evbasemodellayerinfo pNetDatasetInfo, EarthView.World.Spatial.Math.AxisAlignedBox box, uint maxDepth) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueweb = new BasePtr(web); list.Add("web", valueweb.PtrVal); BasePtr valuepNetServer = new BasePtr(pNetServer); list.Add("pNetServer", valuepNetServer.PtrVal); BasePtr valuepNetDataset = new BasePtr(pNetDataset); list.Add("pNetDataset", valuepNetDataset.PtrVal); BasePtr valuepNetDatasetInfo = new BasePtr(pNetDatasetInfo); list.Add("pNetDatasetInfo", valuepNetDatasetInfo.PtrVal); BasePtr valuebox = new BasePtr(box); list.Add("box", valuebox.PtrVal); BasePtr valuemaxDepth = new BasePtr(maxDepth); list.Add("maxDepth", valuemaxDepth.PtrVal); Create("CModelOctreeManager", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
public FontStyle(string fontFamily, byte size, bool isItalic, bool isBold, bool hasShadow, bool antiAlias) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuefontFamily = new BasePtr(fontFamily); list.Add("fontFamily", valuefontFamily.PtrVal); BasePtr valuesize = new BasePtr(size); list.Add("size", valuesize.PtrVal); BasePtr valueisItalic = new BasePtr(isItalic); list.Add("isItalic", valueisItalic.PtrVal); BasePtr valueisBold = new BasePtr(isBold); list.Add("isBold", valueisBold.PtrVal); BasePtr valuehasShadow = new BasePtr(hasShadow); list.Add("hasShadow", valuehasShadow.PtrVal); BasePtr valueantiAlias = new BasePtr(antiAlias); list.Add("antiAlias", valueantiAlias.PtrVal); Create("FontStyle", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
public void Dispose() { if (!BasePtr.Equals(IntPtr.Zero)) { IntPtr ptr = BasePtr; BasePtr = IntPtr.Zero; Methods.yr_rules_destroy(ptr); } }
public MapLayerActiveEvent(ushort type) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuetype = new BasePtr(type); list.Add("type", valuetype.PtrVal); Create("CMapLayerActiveEvent", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
///<summary> ///构造函数 ///</summary> ///<param name="driverText">驱动错误文本</param> ///<returns></returns> public SqlError(string driverText) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuedriverText = new BasePtr(driverText); list.Add("driverText", valuedriverText.PtrVal); Create("CSqlError", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
///<summary> ///拷贝构造函数 ///</summary> ///<param name="other">错误类</param> ///<returns></returns> public SqlError(EarthView.World.Core.Database.SqlError other) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueother = new BasePtr(other); list.Add("other", valueother.PtrVal); Create("CSqlError", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
/// <summary> /// 默认构造函数 /// </summary> public LinestringTrackingItemWrapper(EarthView.World.Spatial2D.Controls.MapControl ref_mapcontrol) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueref_mapcontrol = new BasePtr(ref_mapcontrol); list.Add("ref_mapcontrol", valueref_mapcontrol.PtrVal); Create("CLinestringTrackingItemWrapper", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
public WriteLocker(EarthView.World.Core.ReadWriteLock pWriteLocker) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuepWriteLocker = new BasePtr(pWriteLocker); list.Add("pWriteLocker", valuepWriteLocker.PtrVal); Create("CWriteLocker", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
///<summary> ///构造函数 ///</summary> ///<param name="cursorName">游标名</param> ///<returns></returns> public SqlIndex(string cursorName) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuecursorName = new BasePtr(cursorName); list.Add("cursorName", valuecursorName.PtrVal); Create("CSqlIndex", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
public PageSize(EarthView.World.Display.PageSize sz) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuesz = new BasePtr(sz); list.Add("sz", valuesz.PtrVal); Create("CPageSize", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
/// <summary> /// 构造函数 /// </summary> /// <param name="pND">网络数据集</param> /// <returns></returns> public NetworkAnalyst(EarthView.World.Spatial2D.GeoDataset.NetworkDataset ref_pND) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueref_pND = new BasePtr(ref_pND); list.Add("ref_pND", valueref_pND.PtrVal); Create("CNetworkAnalyst", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
/// <summary> /// 构造函数 /// </summary> /// <param name="url">数据源配置字符串</param> /// <returns></returns> public DataSourceUrl(string url) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueurl = new BasePtr(url); list.Add("url", valueurl.PtrVal); Create("CDataSourceUrl", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
/// <summary> /// 默认构造函数 /// </summary> /// <param name=></param> /// <returns></returns> public LatticeFontCache(byte[] filePath) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuefilePath = new BasePtr(filePath); list.Add("filePath", valuefilePath.PtrVal); Create("CLatticeFontCache", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
public ModelDatasetSpatialUtility(EarthView.World.Spatial3D.Dataset.EntityDataset ds) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueds = new BasePtr(ds); list.Add("ds", valueds.PtrVal); Create("CModelDatasetSpatialUtility", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
/// <summary> /// 与外部传进来的互斥体指针进行绑定 /// </summary> /// <param name="mutex">外部的互斥体指针</param> /// <returns></returns> public MutexLocker(EarthView.World.Core.Mutex mutex) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuemutex = new BasePtr(mutex); list.Add("mutex", valuemutex.PtrVal); Create("CMutexLocker", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
/// <summary> /// 复制构造函数 /// </summary> /// <param name="obj">包围盒对象</param> /// <returns></returns> public RotatedEnvelope(ref EarthView.World.Spatial.Geometry.RotatedEnvelope obj) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueobj = new BasePtr(obj); list.Add("obj", valueobj.PtrVal); Create("CRotatedEnvelope", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
///<summary> ///构造函数 ///</summary> /// <param name="eModel">数学模型</param> public Rectification(EarthView.World.Spatial2D.GeoCorretion.RECTIFYMODELTYPE eModel) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueeModel = new BasePtr(eModel); list.Add("eModel", valueeModel.PtrVal); Create("CRectification", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
/// <summary> /// 构造函数 /// </summary> /// <param name="pSceneManager">场景管理器</param> /// <returns></returns> public ModelObjectManager(EarthView.World.Graphic.SceneManager ref_pSceneManager) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueref_pSceneManager = new BasePtr(ref_pSceneManager); list.Add("ref_pSceneManager", valueref_pSceneManager.PtrVal); Create("CModelObjectManager", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
public MaterialResourceCache(string group) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuegroup = new BasePtr(group); list.Add("group", valuegroup.PtrVal); Create("CMaterialResourceCache", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
/// <summary> /// 构造函数 /// </summary> /// <param name="tilepathrule">瓦片路径规则</param> /// <returns></returns> public TilePath(EarthView.World.Spatial.TilePathRule tilepathrule) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuetilepathrule = new BasePtr(tilepathrule); list.Add("tilepathrule", valuetilepathrule.PtrVal); Create("CTilePath", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
public RaySceneQueryResultSimple(EarthView.World.Graphic.RaySceneQueryResult pParentRaySceneQueryResult) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuepParentRaySceneQueryResult = new BasePtr(pParentRaySceneQueryResult); list.Add("pParentRaySceneQueryResult", valuepParentRaySceneQueryResult.PtrVal); Create("RaySceneQueryResultSimple", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
/// <summary> /// /// </summary> /// <param name=""></param> /// <returns></returns> /// <memo></memo> public ModelSceneSerialzier(string scenefile) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuescenefile = new BasePtr(scenefile); list.Add("scenefile", valuescenefile.PtrVal); Create("CModelSceneSerialzier", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
/// <summary> /// 构造函数 /// </summary> ///<param "moonTextureName">材质名称</param> ///<returns></returns> public Moon(string moonTextureName) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuemoonTextureName = new BasePtr(moonTextureName); list.Add("moonTextureName", valuemoonTextureName.PtrVal); Create("CMoon", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
public FontStyle(uint val) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueval = new BasePtr(val); list.Add("val", valueval.PtrVal); Create("FontStyle", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
public LatticeTextBox(uint argb) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valueargb = new BasePtr(argb); list.Add("argb", valueargb.PtrVal); Create("CLatticeTextBox", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
/// <summary> /// 构造函数 /// </summary> /// <param name="name">EVString对象的引用</param> /// <returns></returns> public DynLib(string name) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuename = new BasePtr(name); list.Add("name", valuename.PtrVal); Create("CDynLib", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
public LatticeTextBox(EarthView.World.Graphic.ColourValue color) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuecolor = new BasePtr(color); list.Add("color", valuecolor.PtrVal); Create("CLatticeTextBox", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
public StringVectorPtr(EarthView.World.Core.StringVectorPtr r) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuer = new BasePtr(r); list.Add("r", valuer.PtrVal); Create("StringVectorPtr", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }
///<summary> ///构造函数 /// </summary> /// <param name="driverType">驱动名</param> ///<returns></returns> public Sqlstandardization(string driverType) : base(CreatedWhenConstruct.CWC_NotToCreate) { NameValuePairList list = new NameValuePairList(); BasePtr valuedriverType = new BasePtr(driverType); list.Add("driverType", valuedriverType.PtrVal); Create("CSqlstandardization", list); RegisterCallBack(); this.needDispose = true; GlobalTraceInfoMap.Put(this); }