Esempio n. 1
0
        public new static vtkImplicitHalo New()
        {
            vtkImplicitHalo result      = null;
            uint            mteStatus   = 0u;
            uint            mteIndex    = 4294967295u;
            uint            rawRefCount = 0u;
            IntPtr          intPtr      = vtkImplicitHalo.vtkImplicitHalo_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkImplicitHalo = (vtkImplicitHalo)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkImplicitHalo.Register(null);
                }
            }
            return(vtkImplicitHalo);
        }