示例#1
0
        public new static vtkGeoTerrain New()
        {
            vtkGeoTerrain result      = null;
            uint          mteStatus   = 0u;
            uint          mteIndex    = 4294967295u;
            uint          rawRefCount = 0u;
            IntPtr        intPtr      = vtkGeoTerrain.vtkGeoTerrain_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkGeoTerrain)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
示例#2
0
        public new static vtkGeoTerrain SafeDownCast(vtkObjectBase o)
        {
            vtkGeoTerrain vtkGeoTerrain = null;
            uint          mteStatus     = 0u;
            uint          mteIndex      = 4294967295u;
            uint          rawRefCount   = 0u;
            IntPtr        intPtr        = vtkGeoTerrain.vtkGeoTerrain_SafeDownCast_13((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkGeoTerrain = (vtkGeoTerrain)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkGeoTerrain.Register(null);
                }
            }
            return(vtkGeoTerrain);
        }
示例#3
0
        public virtual vtkGeoTerrain GetTerrain()
        {
            vtkGeoTerrain vtkGeoTerrain = null;
            uint          mteStatus     = 0u;
            uint          mteIndex      = 4294967295u;
            uint          rawRefCount   = 0u;
            IntPtr        intPtr        = vtkGeoView.vtkGeoView_GetTerrain_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkGeoTerrain = (vtkGeoTerrain)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkGeoTerrain.Register(null);
                }
            }
            return(vtkGeoTerrain);
        }
示例#4
0
 public virtual void SetTerrain(vtkGeoTerrain terrain)
 {
     vtkGeoView.vtkGeoView_SetTerrain_17(base.GetCppThis(), (terrain == null) ? default(HandleRef) : terrain.GetCppThis());
 }