123 return val == this->
Device || val == vtkEventDataDevice::Any ||
124 this->
Device == vtkEventDataDevice::Any;
137 return (this->Device == vtkEventDataDevice::Any || edd->
Device == vtkEventDataDevice::Any ||
138 this->Device == edd->
Device) &&
139 (this->Input == vtkEventDataDeviceInput::Any || edd->
Input == vtkEventDataDeviceInput::Any ||
140 this->Input == edd->
Input) &&
141 (this->Action == vtkEventDataAction::Any || edd->
Action == vtkEventDataAction::Any ||
142 this->Action == edd->
Action);
147 this->Device = vtkEventDataDevice::Unknown;
148 this->Input = vtkEventDataDeviceInput::Unknown;
149 this->Action = vtkEventDataAction::Unknown;
const double * GetTrackPadPosition() const
void SetWorldDirection(const double p[3])
double TrackPadPosition[2]
void SetTrackPadPosition(const double p[2])
double WorldOrientation[4]
void SetWorldOrientation(const double p[4])
const double * GetWorldDirection() const
void GetTrackPadPosition(double v[2]) const
void SetTrackPadPosition(double x, double y)
const double * GetWorldOrientation() const
vtkEventDataDevice3D()=default
void GetWorldPosition(double v[3]) const
static vtkEventDataDevice3D * New()
vtkEventDataDevice3D * GetAsEventDataDevice3D() override
void SetWorldPosition(const double p[3])
const double * GetWorldPosition() const
void GetWorldOrientation(double v[4]) const
void GetWorldDirection(double v[3]) const
~vtkEventDataDevice3D() override=default
vtkEventDataForDevice * GetAsEventDataForDevice() override
void SetAction(vtkEventDataAction v)
~vtkEventDataForDevice() override=default
static vtkEventDataForDevice * New()
void SetInput(vtkEventDataDeviceInput v)
vtkEventDataDeviceInput Input
bool Equivalent(const vtkEventData *e) const override
vtkEventDataAction Action
vtkEventDataDevice GetDevice() const
vtkEventDataDevice Device
vtkEventDataDeviceInput GetInput() const
bool DeviceMatches(vtkEventDataDevice val)
vtkEventDataAction GetAction() const
void SetDevice(vtkEventDataDevice v)
virtual bool Equivalent(const vtkEventData *ed) const =0
bool operator==(const vtkEventData &a) const
~vtkEventData() override=default
virtual vtkEventDataForDevice * GetAsEventDataForDevice()
virtual vtkEventDataDevice3D * GetAsEventDataDevice3D()
vtkBaseTypeMacro(vtkEventData, vtkObjectBase)
abstract base class for most VTK objects
void InitializeObjectBase()
vtkEventDataDevice
platform-independent event data structures
const int vtkEventDataNumberOfDevices
const int vtkEventDataNumberOfInputs
#define VTK_SIZEHINT(...)