public new vtkImageDilateErode3D NewInstance()
        {
            vtkImageDilateErode3D result = null;
            uint   mteStatus             = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkImageDilateErode3D.vtkImageDilateErode3D_NewInstance_06(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkImageDilateErode3D)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Ejemplo n.º 2
0
        public virtual vtkImageDilateErode3D GetFilter0()
        {
            vtkImageDilateErode3D vtkImageDilateErode3D = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkImageOpenClose3D.vtkImageOpenClose3D_GetFilter0_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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