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