public new static vtkEvent New() { vtkEvent result = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkEvent.vtkEvent_New(ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; result = (vtkEvent)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); } return(result); }
public new static vtkEvent SafeDownCast(vtkObjectBase o) { vtkEvent vtkEvent = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkEvent.vtkEvent_SafeDownCast_11((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkEvent = (vtkEvent)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkEvent.Register(null); } } return(vtkEvent); }
public uint GetTranslation(vtkEvent VTKEvent) { return(vtkWidgetEventTranslator.vtkWidgetEventTranslator_GetTranslation_05(base.GetCppThis(), (VTKEvent == null) ? default(HandleRef) : VTKEvent.GetCppThis())); }
public void SetTranslation(vtkEvent VTKevent, uint widgetEvent) { vtkWidgetEventTranslator.vtkWidgetEventTranslator_SetTranslation_17(base.GetCppThis(), (VTKevent == null) ? default(HandleRef) : VTKevent.GetCppThis(), widgetEvent); }
public int RemoveTranslation(vtkEvent e) { return(vtkWidgetEventTranslator.vtkWidgetEventTranslator_RemoveTranslation_11(base.GetCppThis(), (e == null) ? default(HandleRef) : e.GetCppThis())); }