Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
Class to create events from within the application to signal about internal events. More...
#include <mitkInternalEvent.h>
Public Types | |
typedef InternalEvent | Self |
typedef InteractionEvent | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
![]() | |
enum | MouseButtons { NoButton, LeftMouseButton, RightMouseButton, MiddleMouseButton } |
enum | ModifierKeys { NoKey, ShiftKey, ControlKey, AltKey } |
typedef InteractionEvent | Self |
typedef itk::LightObject | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
std::string | GetSignalName () const |
DataInteractor * | GetTargetInteractor () const |
bool | IsSuperClassOf (const InteractionEvent::Pointer &baseClass) const override |
![]() | |
void | SetSender (BaseRenderer *sender) |
BaseRenderer * | GetSender () const |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New (BaseRenderer *_arga, DataInteractor *_argb, const std::string &_argc) |
![]() | |
static const char * | GetStaticNameOfClass () |
static Pointer | New (BaseRenderer *_arg) |
Protected Member Functions | |
InternalEvent (BaseRenderer *, DataInteractor *destInteractor, const std::string &signalName) | |
~InternalEvent () override | |
bool | IsEqual (const InteractionEvent &) const override |
![]() | |
InteractionEvent (BaseRenderer *) | |
~InteractionEvent () override | |
Additional Inherited Members | |
![]() | |
static const std::string | KeyEsc |
static const std::string | KeyEnter |
static const std::string | KeyReturn |
static const std::string | KeyDelete |
static const std::string | KeyArrowUp |
static const std::string | KeyArrowDown |
static const std::string | KeyArrowLeft |
static const std::string | KeyArrowRight |
static const std::string | KeyF1 |
static const std::string | KeyF2 |
static const std::string | KeyF3 |
static const std::string | KeyF4 |
static const std::string | KeyF5 |
static const std::string | KeyF6 |
static const std::string | KeyF7 |
static const std::string | KeyF8 |
static const std::string | KeyF9 |
static const std::string | KeyF10 |
static const std::string | KeyF11 |
static const std::string | KeyF12 |
static const std::string | KeyPos1 |
static const std::string | KeyEnd |
static const std::string | KeyInsert |
static const std::string | KeyPageUp |
static const std::string | KeyPageDown |
static const std::string | KeySpace |
Class to create events from within the application to signal about internal events.
These events can target a specific DataInteractor, if this DataInteractor is specified in the constructor; else this parameter is set to nullptr and the event is treated as a regular event.
Definition at line 34 of file mitkInternalEvent.h.
typedef itk::SmartPointer<const Self> mitk::InternalEvent::ConstPointer |
Definition at line 37 of file mitkInternalEvent.h.
Definition at line 37 of file mitkInternalEvent.h.
Definition at line 37 of file mitkInternalEvent.h.
Definition at line 37 of file mitkInternalEvent.h.
|
protected |
Definition at line 16 of file mitkInternalEvent.cpp.
|
overrideprotected |
Definition at line 29 of file mitkInternalEvent.cpp.
|
inlineoverridevirtual |
Reimplemented from mitk::InteractionEvent.
Definition at line 37 of file mitkInternalEvent.h.
|
virtual |
Reimplemented from mitk::InteractionEvent.
std::string mitk::InternalEvent::GetSignalName | ( | ) | const |
Definition at line 33 of file mitkInternalEvent.cpp.
Referenced by mitk::EventConfig::GetMappedEvent(), and mitk::Dispatcher::QueueEvent().
|
inlinestatic |
Definition at line 37 of file mitkInternalEvent.h.
mitk::DataInteractor * mitk::InternalEvent::GetTargetInteractor | ( | ) | const |
Definition at line 38 of file mitkInternalEvent.cpp.
Referenced by mitk::Dispatcher::QueueEvent().
|
overrideprotectedvirtual |
Reimplemented from mitk::InteractionEvent.
Definition at line 23 of file mitkInternalEvent.cpp.
References mitk::InteractionEvent::IsEqual().
|
overridevirtual |
This class implements an up cast to check if the provided baseClass object is derived from this class. This function is used to support polymorphism on state machine pattern (XML) level.
Reimplemented from mitk::InteractionEvent.
Definition at line 43 of file mitkInternalEvent.cpp.
|
inlinestatic |
Definition at line 38 of file mitkInternalEvent.h.
Referenced by mitk::PointSetDataInteractor::Abort(), mitk::PointSetDataInteractor::AddPoint(), mitk::ExampleInteractor::ConnectActionsAndFunctions(), mitk::EventFactory::CreateEvent(), mitk::PointSetDataInteractor::IsClosedContour(), QmitkRenderWindow::leaveEvent(), mitk::PlanarFigureInteractor::RemoveSelectedPoint(), and mitk::GizmoInteractor::SetManipulatedObjectNode().