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