public vtkCommand NewInstance() { vtkCommand result = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkCommand.vtkCommand_NewInstance_10(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; result = (vtkCommand)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); } return(result); }
public static vtkCommand SafeDownCast(vtkObjectBase o) { vtkCommand vtkCommand = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkCommand.vtkCommand_SafeDownCast_13((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkCommand = (vtkCommand)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkCommand.Register(null); } } return(vtkCommand); }
public vtkCommand GetObserver() { vtkCommand vtkCommand = null; uint mteStatus = 0u; uint mteIndex = 4294967295u; uint rawRefCount = 0u; IntPtr intPtr = vtkView.vtkView_GetObserver_06(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount); if (IntPtr.Zero != intPtr) { bool flag; vtkCommand = (vtkCommand)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag); if (flag) { vtkCommand.Register(null); } } return(vtkCommand); }
public void GrabFocus(vtkCommand mouseEvents, vtkCommand keypressEvents) { vtkInteractorObserver.vtkInteractorObserver_GrabFocus_14(base.GetCppThis(), (mouseEvents == null) ? default(HandleRef) : mouseEvents.GetCppThis(), (keypressEvents == null) ? default(HandleRef) : keypressEvents.GetCppThis()); }