ActiViz .NET
5.8.0
|
The sender of each ActiViz.NET event passes itself as its "sender" parameter and an instance of vtkObjectEventArgs as its "e" parameter. More...
Public Member Functions | |
vtkObjectEventArgs (Kitware.VTK.vtkObject caller, uint eventId, IntPtr callData) | |
Each ActiViz.NET event automatically constructs a vtkObjectEventArgs to pass to its handlers. Client ActiViz.NET applications do not need to call this vtkObjectEventArgs constructor. | |
Properties | |
Kitware.VTK.vtkObject | Caller [get] |
Caller is the object that invoked the event. Usually it is the same object as the event handler's "sender" parameter. | |
uint | EventId [get] |
EventId is usually a value in the vtkCommand.EventIds enum. It is primarily useful for handlers of the "Any" event. The "Any" event fires whenever any other event is invoked from a given vtkObject. In that case, the EventId passed with the event indicates the actual event that was invoked. | |
IntPtr | CallData [get] |
CallData varies based on what event is firing. It is frequently IntPtr.Zero (NULL from C++)... If non-zero, see the documentation of the specific event for the type of the data. | |
Private Attributes | |
Kitware.VTK.vtkObject | m_Caller |
uint | m_EventId |
IntPtr | m_CallData |
The sender of each ActiViz.NET event passes itself as its "sender" parameter and an instance of vtkObjectEventArgs as its "e" parameter.
vtkObjectEventArgs.vtkObjectEventArgs | ( | Kitware.VTK.vtkObject | caller, |
uint | eventId, | ||
IntPtr | callData | ||
) |
Each ActiViz.NET event automatically constructs a vtkObjectEventArgs to pass to its handlers. Client ActiViz.NET applications do not need to call this vtkObjectEventArgs constructor.
IntPtr vtkObjectEventArgs.m_CallData [private] |
uint vtkObjectEventArgs.m_EventId [private] |
IntPtr vtkObjectEventArgs.CallData [get] |
CallData varies based on what event is firing. It is frequently IntPtr.Zero (NULL from C++)... If non-zero, see the documentation of the specific event for the type of the data.
Caller is the object that invoked the event. Usually it is the same object as the event handler's "sender" parameter.
uint vtkObjectEventArgs.EventId [get] |
EventId is usually a value in the vtkCommand.EventIds enum. It is primarily useful for handlers of the "Any" event. The "Any" event fires whenever any other event is invoked from a given vtkObject. In that case, the EventId passed with the event indicates the actual event that was invoked.
It is also useful in the case of user defined events, where the event id value is outside the pre-defined range of vtkCommand.EventIds.