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