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