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