public new static vtkMedicalImageReader2 New()
        {
            vtkMedicalImageReader2 result = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkMedicalImageReader2.vtkMedicalImageReader2_New(ref mteStatus, ref mteIndex, ref rawRefCount);

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

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