ActiViz .NET  5.10.1
Public Member Functions | Properties | Private Attributes | List of all members
Kitware.VTK.vtkObjectEventArgs Class Reference

The sender of each ActiViz.NET event passes itself as its "sender" parameter and an instance of vtkObjectEventArgs as its "e" parameter. More...

Inheritance diagram for Kitware.VTK.vtkObjectEventArgs:
[legend]
Collaboration diagram for Kitware.VTK.vtkObjectEventArgs:
[legend]

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. More...
 

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. More...
 
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. More...
 
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. More...
 

Private Attributes

Kitware.VTK.vtkObject m_Caller
 
uint m_EventId
 
IntPtr m_CallData
 

Detailed Description

The sender of each ActiViz.NET event passes itself as its "sender" parameter and an instance of vtkObjectEventArgs as its "e" parameter.

Constructor & Destructor Documentation

Kitware.VTK.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.

Member Data Documentation

IntPtr Kitware.VTK.vtkObjectEventArgs.m_CallData
private
Kitware.VTK.vtkObject Kitware.VTK.vtkObjectEventArgs.m_Caller
private
uint Kitware.VTK.vtkObjectEventArgs.m_EventId
private

Property Documentation

IntPtr Kitware.VTK.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.

Kitware.VTK.vtkObject Kitware.VTK.vtkObjectEventArgs.Caller
get

Caller is the object that invoked the event. Usually it is the same object as the event handler's "sender" parameter.

uint Kitware.VTK.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.


The documentation for this class was generated from the following file: