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