Beispiel #1
0
 private static extern void EarthView_World_Spatial3D_Dataset_CModelEventUtility_sendCommitIDEvent_void_IDataset_EntityDatasetOperType_ev_uint32_ev_uint32(IntPtr pDataset, EarthView.World.Spatial3D.Dataset.ENTITYDATASETOPERTYPE operType, uint cacheID, uint dbID);
Beispiel #2
0
 /// <summary>
 /// 通知提交的ID
 /// </summary>
 /// <param name=""></param>
 /// <returns></returns>
 public static void SendCommitIDEvent(EarthView.World.Spatial.GeoDataset.Idataset pDataset, EarthView.World.Spatial3D.Dataset.ENTITYDATASETOPERTYPE operType, uint cacheID, uint dbID)
 {
     EarthView_World_Spatial3D_Dataset_CModelEventUtility_sendCommitIDEvent_void_IDataset_EntityDatasetOperType_ev_uint32_ev_uint32(object.Equals(pDataset, null) ? IntPtr.Zero : pDataset.NativeObject, operType, cacheID, dbID);
 }
Beispiel #3
0
 private static extern void EarthView_World_Spatial3D_Dataset_CModelEventUtility_sendUpdateOctreeEvent_void_IDataset_IFeature_EntityDatasetOperType(IntPtr pDataset, IntPtr info, EarthView.World.Spatial3D.Dataset.ENTITYDATASETOPERTYPE operType);
Beispiel #4
0
 /// <summary>
 /// 发送更新索引事件
 /// </summary>
 /// <returns></returns>
 public static void SendUpdateOctreeEvent(EarthView.World.Spatial.GeoDataset.Idataset pDataset, EarthView.World.Spatial.GeoDataset.Ifeature info, EarthView.World.Spatial3D.Dataset.ENTITYDATASETOPERTYPE operType)
 {
     EarthView_World_Spatial3D_Dataset_CModelEventUtility_sendUpdateOctreeEvent_void_IDataset_IFeature_EntityDatasetOperType(object.Equals(pDataset, null) ? IntPtr.Zero : pDataset.NativeObject, object.Equals(info, null) ? IntPtr.Zero : info.NativeObject, operType);
 }
 /// <summary>
 /// 模型操作提交
 /// </summary>
 /// <param name="operType">模型操作类别</param>
 /// <param name="cacheID">未提交前模型的ID</param>
 /// <param name="dbID">提交后在数据库中的ID</param>
 /// <returns></returns>
 public virtual void OnEndCommitModel(EarthView.World.Spatial3D.Atlas.Iglobelayer pLayer, EarthView.World.Spatial3D.Dataset.ENTITYDATASETOPERTYPE operType, uint cacheID, uint dbID)
 {
     EarthView_World_Spatial3D_CLayer3DEditorListener_onEndCommitModel_void_IGlobeLayer_EntityDatasetOperType_ev_uint32_ev_uint32(this.NativeObject, object.Equals(pLayer, null) ? IntPtr.Zero : pLayer.NativeObject, operType, cacheID, dbID);
 }
 private static extern void EarthView_World_Spatial3D_CLayer3DEditorListener_onEndCommitModel_void_IGlobeLayer_EntityDatasetOperType_ev_uint32_ev_uint32(IntPtr pNativeObject, IntPtr pLayer, EarthView.World.Spatial3D.Dataset.ENTITYDATASETOPERTYPE operType, uint cacheID, uint dbID);
                protected void EarthView_World_Spatial3D_CLayer3DEditorListener_onEndCommitModel_void_IGlobeLayer_EntityDatasetOperType_ev_uint32_ev_uint32_Function(IntPtr pLayer, EarthView.World.Spatial3D.Dataset.ENTITYDATASETOPERTYPE operType, uint cacheID, uint dbID)
                {
                    EarthView.World.Spatial3D.Atlas.Iglobelayer csobj_pLayer = new EarthView.World.Spatial3D.Atlas.Iglobelayer(CreatedWhenConstruct.CWC_NotToCreate);
                    csobj_pLayer.BindNativeObject(pLayer, "IGlobeLayer");
                    csobj_pLayer.Delegate = true;
                    IClassFactory csobj_pLayerClassFactory = GlobalClassFactoryMap.Get(csobj_pLayer.GetCppInstanceTypeName());

                    if (csobj_pLayerClassFactory != null)
                    {
                        csobj_pLayer.Delegate = true;
                        csobj_pLayer          = csobj_pLayerClassFactory.Create() as EarthView.World.Spatial3D.Atlas.Iglobelayer;
                        csobj_pLayer.BindNativeObject(pLayer, "IGlobeLayer");
                        csobj_pLayer.Delegate = true;
                    }

                    OnEndCommitModel(csobj_pLayer, operType, cacheID, dbID);
                }
Beispiel #8
0
 /// <summary>
 /// 设置数据集操作类型
 /// </summary>
 /// <param name="evtype">事件类型</param>
 /// <returns></returns>
 public void SetOperationType(EarthView.World.Spatial3D.Dataset.ENTITYDATASETOPERTYPE evtype)
 {
     EarthView_World_Spatial3D_Dataset_CModelDatasetEditEvent_setOperationType_void_EntityDatasetOperType(this.NativeObject, evtype);
 }
Beispiel #9
0
 private static extern void EarthView_World_Spatial3D_Dataset_CModelDatasetEditEvent_setOperationType_void_EntityDatasetOperType(IntPtr pNativeObject, EarthView.World.Spatial3D.Dataset.ENTITYDATASETOPERTYPE evtype);