Example #1
0
        public new vtkImageContinuousErode3D NewInstance()
        {
            vtkImageContinuousErode3D result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkImageContinuousErode3D.vtkImageContinuousErode3D_NewInstance_04(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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

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