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