18 #ifndef niftkAffineTransformDataInteractor3D_h
19 #define niftkAffineTransformDataInteractor3D_h
21 #include "niftkCoreExports.h"
23 #include <mitkDataInteractor.h>
24 #include <mitkBaseRenderer.h>
26 #include <vtkPolyData.h>
27 #include <vtkRenderer.h>
28 #include <vtkRenderWindow.h>
29 #include <vtkRenderWindowInteractor.h>
30 #include <vtkLegendScaleActor.h>
31 #include <vtkAxesActor.h>
33 #include <QApplication>
48 void transformReady();
54 itkFactorylessNewMacro(Self)
58 void SetInteractionMode(
unsigned int interactionMode);
60 void SetInteractionModeToTranslation();
62 void SetInteractionModeToRotation();
64 unsigned int GetInteractionMode() const;
67 void SetAxesFixed(
bool on,
int which = 0);
70 inline
void SetBoundingObjectNode(
mitk::DataNode * bObj) {m_BoundingObjectNode = bObj;}
72 vtkMatrix4x4* GetUpdatedGeometry();
83 virtual void ConnectActionsAndFunctions()
override;
85 bool UpdateCurrentRendererPointers(
const mitk::InteractionEvent * interactionEvent);
87 bool CheckObject(
const mitk::InteractionEvent *interactionEvent);
89 bool SelectObject(mitk::StateMachineAction* action, mitk::InteractionEvent* interactionEvent);
91 bool DeselectObject(mitk::StateMachineAction* action, mitk::InteractionEvent* interactionEvent);
93 bool InitMove(mitk::StateMachineAction* action, mitk::InteractionEvent* interactionEvent);
95 bool Move(mitk::StateMachineAction* action, mitk::InteractionEvent* interactionEvent);
97 bool AcceptMove(mitk::StateMachineAction* action, mitk::InteractionEvent* interactionEvent);
102 bool m_InteractionMode;
105 mitk::Point2D m_InitialPickedDisplayPoint;
106 double m_InitialPickedPointWorld[4];
108 mitk::Point2D m_CurrentlyPickedDisplayPoint;
109 double m_CurrentlyPickedPointWorld[4];
111 mitk::BaseGeometry::Pointer m_OriginalGeometry;
113 mitk::BaseGeometry::Pointer m_UpdatedGeometry;
115 mitk::Vector3D m_ObjectNormal;
117 mitk::BaseRenderer * m_CurrentRenderer;
118 vtkRenderer * m_CurrentVtkRenderer;
119 vtkCamera * m_CurrentCamera;
121 mitk::DataNode * m_BoundingObjectNode;
Definition: ReceptorMemberCommandTest.cxx:25
Definition: niftkExceptionObject.h:21