Struct vtkMRMLLayerDMWidgetEventTranslationNode::EventKey

Nested Relationships

This struct is a nested type of Class vtkMRMLLayerDMWidgetEventTranslationNode.

Struct Documentation

struct EventKey

Simple struct compatible with std::map key usage.

Public Functions

inline bool operator==(const EventKey &other) const
inline bool operator<(const EventKey &other) const
inline std::tuple<int, unsigned long, int, int, std::string> AsTuple() const

Public Members

int widgetState = {vtkMRMLAbstractWidget::WidgetStateAny}
unsigned long eventId = {vtkCommand::NoEvent}
int modifier = {vtkEvent::NoModifier}
int repeatCount = {1}
std::string keySym = {}

Public Static Functions

static inline int thresholdRepeatCount(int repeatCount)

Slicer event data never generate repeat counts less than 1. Make sure the repeat count is always greater than one