17 #ifndef mitkGizmoInteractor_h
18 #define mitkGizmoInteractor_h
28 #include <vtkCellPicker.h>
29 #include <vtkSmartPointer.h>
38 class InteractionPositionEvent;
60 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
69 void SetManipulatedObjectNode(
DataNode *node);
106 void ApplyTranslationToManipulatedObject(
const Vector3D &projectedMovement);
109 void ApplyEqualScalingToManipulatedObject(
double scalingFactor);
112 void ApplyRotationToManipulatedObject(
double angle_deg);
128 std::map<BaseRenderer *, vtkSmartPointer<vtkCellPicker>> m_Picker;
133 Point2D m_InitialClickPosition2D;
134 double m_InitialClickPosition2DZ;
135 Point3D m_InitialClickPosition3D;
137 Point2D m_InitialGizmoCenter2D;
138 Point3D m_InitialGizmoCenter3D;
143 std::unique_ptr<Operation> m_FinalDoOperation;
144 std::unique_ptr<Operation> m_FinalUndoOperation;
Super class for all position events.
DataCollection - Class to facilitate loading/accessing structured data.
itk::SmartPointer< Self > Pointer
Base class from with interactors that handle DataNodes are to be derived.
HandleType
Names for the different parts of the gizmo.
Represents an action, that is executed after a certain event (in statemachine-mechanism) TODO: implem...
virtual void ConnectActionsAndFunctions() override
#define mitkClassMacro(className, SuperClassName)
Class for nodes of the DataTree.