private void HookErrorWindowEvents() { if (null == this.ErrorWindow) { this.ErrorWindow = Kitware.VTK.vtkOutputWindow.GetInstance(); this.ErrorHandler = new Kitware.VTK.vtkObject.vtkObjectEventHandler(ErrorWindow_ErrorHandler); this.ErrorWindow.ErrorEvt += this.ErrorHandler; } }
public new static vtkOutputWindow New() { vtkOutputWindow result = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkOutputWindow.vtkOutputWindow_New(ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; result = (vtkOutputWindow)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); } return(result); }
public new static vtkOutputWindow SafeDownCast(vtkObjectBase o) { vtkOutputWindow vtkOutputWindow = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkOutputWindow.vtkOutputWindow_SafeDownCast_13((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkOutputWindow = (vtkOutputWindow)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkOutputWindow.Register(null); } } return(vtkOutputWindow); }
public static vtkOutputWindow GetInstance() { vtkOutputWindow vtkOutputWindow = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkOutputWindow.vtkOutputWindow_GetInstance_06(ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkOutputWindow = (vtkOutputWindow)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkOutputWindow.Register(null); } } return(vtkOutputWindow); }
private void HookErrorWindowEvents() { if (null == this.ErrorWindow) { this.ErrorWindow = Kitware.VTK.vtkOutputWindow.GetInstance(); this.ErrorHandler = new Kitware.VTK.vtkObject.vtkObjectEventHandler(ErrorWindow_ErrorHandler); this.ErrorWindow.ErrorEvt += this.ErrorHandler; } }
public static void SetInstance(vtkOutputWindow instance) { vtkOutputWindow.vtkOutputWindow_SetInstance_14((instance == null) ? default(HandleRef) : instance.GetCppThis()); }