Пример #1
0
        public new static vtkGeoTerrain2D New()
        {
            vtkGeoTerrain2D result      = null;
            uint            mteStatus   = 0u;
            uint            mteIndex    = 4294967295u;
            uint            rawRefCount = 0u;
            IntPtr          intPtr      = vtkGeoTerrain2D.vtkGeoTerrain2D_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkGeoTerrain2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Пример #2
0
        public virtual vtkGeoTerrain2D GetSurface()
        {
            vtkGeoTerrain2D vtkGeoTerrain2D = null;
            uint            mteStatus       = 0u;
            uint            mteIndex        = 4294967295u;
            uint            rawRefCount     = 0u;
            IntPtr          intPtr          = vtkGeoView2D.vtkGeoView2D_GetSurface_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkGeoTerrain2D = (vtkGeoTerrain2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkGeoTerrain2D.Register(null);
                }
            }
            return(vtkGeoTerrain2D);
        }
Пример #3
0
        public new static vtkGeoTerrain2D SafeDownCast(vtkObjectBase o)
        {
            vtkGeoTerrain2D vtkGeoTerrain2D = null;
            uint            mteStatus       = 0u;
            uint            mteIndex        = 4294967295u;
            uint            rawRefCount     = 0u;
            IntPtr          intPtr          = vtkGeoTerrain2D.vtkGeoTerrain2D_SafeDownCast_08((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkGeoTerrain2D = (vtkGeoTerrain2D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkGeoTerrain2D.Register(null);
                }
            }
            return(vtkGeoTerrain2D);
        }
Пример #4
0
 public virtual void SetSurface(vtkGeoTerrain2D surf)
 {
     vtkGeoView2D.vtkGeoView2D_SetSurface_10(base.GetCppThis(), (surf == null) ? default(HandleRef) : surf.GetCppThis());
 }