Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Super class for all position events. More...
#include <mitkInteractionPositionEvent.h>
Public Types | |
typedef InteractionPositionEvent | Self |
typedef InteractionEvent | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Types inherited from mitk::InteractionEvent | |
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 |
Point2D | GetPointerPositionOnScreen () const |
Point3D | GetPositionInWorld () const |
virtual bool | IsSuperClassOf (const InteractionEvent::Pointer &baseClass) const override |
Public Member Functions inherited from mitk::InteractionEvent | |
void | SetSender (BaseRenderer *sender) |
BaseRenderer * | GetSender () const |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
static Pointer | New (BaseRenderer *_arga, const Point2D &_argb) |
Static Public Member Functions inherited from mitk::InteractionEvent | |
static const char * | GetStaticNameOfClass () |
static Pointer | New (BaseRenderer *_arg) |
Protected Member Functions | |
InteractionPositionEvent (BaseRenderer *baseRenderer, const Point2D &mousePosition) | |
virtual | ~InteractionPositionEvent () |
virtual bool | IsEqual (const InteractionEvent &) const override |
Protected Member Functions inherited from mitk::InteractionEvent | |
InteractionEvent (BaseRenderer *) | |
virtual | ~InteractionEvent () |
Additional Inherited Members | |
Static Public Attributes inherited from mitk::InteractionEvent | |
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 |
Super class for all position events.
This class is instantiated with a BaseRenderer and the 2D pointer position relative to the renderer, the object then queries the Renderer for 3D world coordinates and supplies them to deriving classes.
Definition at line 40 of file mitkInteractionPositionEvent.h.
typedef itk::SmartPointer<const Self> mitk::InteractionPositionEvent::ConstPointer |
Definition at line 43 of file mitkInteractionPositionEvent.h.
Definition at line 43 of file mitkInteractionPositionEvent.h.
Definition at line 43 of file mitkInteractionPositionEvent.h.
Definition at line 43 of file mitkInteractionPositionEvent.h.
|
protected |
Definition at line 20 of file mitkInteractionPositionEvent.cpp.
|
protectedvirtual |
Definition at line 43 of file mitkInteractionPositionEvent.cpp.
|
inlineoverridevirtual |
Reimplemented from mitk::InteractionEvent.
Reimplemented in mitk::MouseWheelEvent, mitk::MouseDoubleClickEvent, mitk::MousePressEvent, mitk::MouseReleaseEvent, and mitk::MouseMoveEvent.
Definition at line 43 of file mitkInteractionPositionEvent.h.
|
virtual |
Reimplemented from mitk::InteractionEvent.
Reimplemented in mitk::MouseWheelEvent, mitk::MouseDoubleClickEvent, mitk::MousePressEvent, mitk::MouseReleaseEvent, and mitk::MouseMoveEvent.
mitk::Point2D mitk::InteractionPositionEvent::GetPointerPositionOnScreen | ( | ) | const |
Definition at line 26 of file mitkInteractionPositionEvent.cpp.
Referenced by mitk::DisplayInteractor::AdjustLevelWindow(), mitk::ClippingPlaneInteractor3D::CheckOverObject(), mitk::SurfaceDeformationDataInteractor3D::CheckOverObject(), mitk::AffineBaseDataInteractor3D::CheckOverObject(), mitk::DisplayInteractor::CheckSwivelPossible(), mitk::SurfaceDeformationDataInteractor3D::DeformObject(), GetPositionOnScreen(), mitk::DisplayInteractor::Init(), mitk::SurfaceDeformationDataInteractor3D::InitDeformation(), mitk::AffineImageCropperInteractor::InitDeformation(), mitk::AffineBaseDataInteractor3D::InitMembers(), mitk::AffineImageCropperInteractor::InitRotate(), mitk::ClippingPlaneInteractor3D::InitRotate(), mitk::AffineImageCropperInteractor::InitTranslate(), mitk::ClippingPlaneInteractor3D::InitTranslate(), mitk::PlanarFigureInteractor::IsPositionInsideMarker(), mitk::PlanarFigureInteractor::IsPositionOverFigure(), mitk::DisplayInteractor::Move(), mitk::FastMarchingTool::OnAddPoint(), mitk::RegionGrowingTool::OnMouseMoved(), mitk::RegionGrowingTool::OnMousePressed(), mitk::ClippingPlaneInteractor3D::RotateObject(), mitk::AffineImageCropperInteractor::RotateObject(), mitk::AffineBaseDataInteractor3D::RotateObject(), mitk::DisplayInteractor::Scroll(), mitk::PlanarFigureInteractor::SetPreviewPointPosition(), mitk::DisplayInteractor::Swivel(), mitk::ClippingPlaneInteractor3D::TranslateObject(), mitk::DisplayInteractor::UpdateStatusbar(), and mitk::DisplayInteractor::Zoom().
mitk::Point3D mitk::InteractionPositionEvent::GetPositionInWorld | ( | ) | const |
Definition at line 31 of file mitkInteractionPositionEvent.cpp.
Referenced by mitk::SinglePointDataInteractor::AddPoint(), mitk::PointSetDataInteractor::AddPoint(), mitk::SegmentationInteractor::ChangeActiveLabel(), mitk::PlanarFigureInteractor::CheckFigureOnRenderingGeometry(), mitk::AffineImageCropperInteractor::CheckOverObject(), mitk::TubeGraphDataInteractor::CheckOverTube(), mitk::DisplayInteractor::CheckRotationPossible(), mitk::PointSetDataInteractor::CheckSelection(), mitk::DisplayInteractor::CheckSwivelPossible(), mitk::AffineImageCropperInteractor::DeformObject(), GetPositionInWorld(), mitk::AffineImageCropperInteractor::InitDeformation(), mitk::AffineBaseDataInteractor3D::InitMembers(), mitk::PointSetDataInteractor::InitMove(), mitk::AffineImageCropperInteractor::InitRotate(), mitk::AffineImageCropperInteractor::InitTranslate(), mitk::PointSetDataInteractor::IsClosedContour(), mitk::ContourModelInteractor::IsHovering(), mitk::ContourModelLiveWireInteractor::IsHovering(), mitk::LiveWireTool2D::IsPositionEventInsideImageRegion(), mitk::PaintbrushTool::MouseMoved(), mitk::PointSetDataInteractor::MovePoint(), QmitkFreeSurferParcellationHandler::Notify(), mitk::LiveWireTool2D::OnAddPoint(), mitk::LiveWireTool2D::OnCheckPoint(), mitk::ContourModelInteractor::OnCheckPointClick(), mitk::ContourModelLiveWireInteractor::OnCheckPointClick(), mitk::LiveWireTool2D::OnInitLiveWire(), mitk::ContourTool::OnMouseMoved(), mitk::CorrectorTool2D::OnMouseMoved(), mitk::LiveWireTool2D::OnMouseMoved(), mitk::SetRegionTool::OnMousePressed(), mitk::ContourTool::OnMousePressed(), mitk::PaintbrushTool::OnMousePressed(), mitk::CorrectorTool2D::OnMousePressed(), mitk::RegionGrowingTool::OnMousePressed(), mitk::RegionGrowingTool::OnMousePressedOutside(), mitk::ContourModelInteractor::OnMoveContour(), mitk::ContourModelInteractor::OnMovePoint(), mitk::ContourModelLiveWireInteractor::OnMovePoint(), mitk::PointSetDataInteractor::RemovePoint(), mitk::DisplayInteractor::Rotate(), mitk::AffineBaseDataInteractor3D::RotateObject(), mitk::AffineImageCropperInteractor::ScaleRadius(), mitk::PointSetDataInteractor::SelectPoint(), mitk::DisplayInteractor::SetCrosshair(), mitk::PlanarFigureInteractor::TransformPositionEventToPoint2D(), mitk::AffineImageCropperInteractor::TranslateObject(), mitk::AffineBaseDataInteractor3D::TranslateObject(), mitk::PointSetDataInteractor::UnSelectAll(), and mitk::PointSetDataInteractor::UnSelectPointAtPosition().
|
inlinestatic |
Definition at line 43 of file mitkInteractionPositionEvent.h.
|
overrideprotectedvirtual |
Reimplemented from mitk::InteractionEvent.
Reimplemented in mitk::MouseWheelEvent, mitk::MouseDoubleClickEvent, mitk::MousePressEvent, mitk::MouseReleaseEvent, and mitk::MouseMoveEvent.
Definition at line 38 of file mitkInteractionPositionEvent.cpp.
|
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.
Reimplemented in mitk::MouseWheelEvent, mitk::MouseDoubleClickEvent, mitk::MousePressEvent, mitk::MouseReleaseEvent, and mitk::MouseMoveEvent.
Definition at line 47 of file mitkInteractionPositionEvent.cpp.
|
inlinestatic |
Definition at line 44 of file mitkInteractionPositionEvent.h.
Referenced by mitk::EventFactory::CreateEvent(), and mitk::FastMarchingTool::OnAddPoint().