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