15 #ifndef AffineTransformInteractor3D_h
16 #define AffineTransformInteractor3D_h
18 #include <mitkInteractor.h>
19 #include <mitkInteractionConst.h>
20 #include <mitkCommon.h>
21 #include <mitkSurface.h>
22 #include <mitkBaseRenderer.h>
23 #include <mitkBoundingObject.h>
25 #include <vtkPolyData.h>
27 #include <vtkRenderer.h>
28 #include <vtkRenderWindow.h>
29 #include <vtkRenderWindowInteractor.h>
30 #include <vtkInteractorStyle.h>
31 #include <vtkLegendScaleActor.h>
32 #include <vtkAxesActor.h>
34 #include <vtkCaptionActor2D.h>
35 #include <vtkObject.h>
36 #include <vtkObjectFactory.h>
37 #include <vtkSmartPointer.h>
38 #include <vtkTextProperty.h>
40 #include <QApplication>
60 mitkNewMacro3Param(Self, const
char *,
mitk::DataNode *,
int)
63 void SetInteractionMode(
unsigned int interactionMode );
93 bool ColorizeSurface( vtkPolyData *polyData,
const mitk::Point3D &pickedPoint,
double scalar = 0.0 );
96 bool GetCurrentRenderer(
const mitk::StateEvent *
event, vtkRenderWindowInteractor * renderWindowInteractor, mitk::BaseRenderer * renderer);
99 bool OnAcCheckObject(mitk::Action * action,
const mitk::StateEvent * stateEvent);
102 bool OnAcInitMove(mitk::Action * action,
const mitk::StateEvent * stateEvent);
103 bool OnAcMove(mitk::Action * action,
const mitk::StateEvent * stateEvent);
104 bool OnAcAccept(mitk::Action * action,
const mitk::StateEvent * stateEvent);
109 mitk::ScalarType m_Precision;
110 bool m_InteractionMode;
113 mitk::Point3D m_InitialPickedWorldPoint;
114 mitk::Point2D m_InitialPickedDisplayPoint;
115 double m_InitialPickedPointWorld[4];
117 mitk::Point3D m_CurrentlyPickedWorldPoint;
118 mitk::Point2D m_CurrentlyPickedDisplayPoint;
119 double m_CurrentlyPickedPointWorld[4];
121 mitk::BaseGeometry::Pointer m_Geometry;
123 mitk::BaseGeometry::Pointer m_OriginalGeometry;
125 mitk::Vector3D m_ObjectNormal;
127 mitk::BaseRenderer * m_currentRenderer;
128 vtkRenderWindow * m_currentRenderWindow;
129 vtkRenderWindowInteractor * m_currentRenderWindowInteractor;
130 vtkRenderer * m_currentVtkRenderer;
131 vtkCamera * m_currentCamera;
133 vtkLegendScaleActor * m_legendActor;
134 vtkAxesActor * m_axesActor;
135 mitk::DataNode * m_boundingObjectNode;
141 inline void SetAxisLabelWidth(
double w) { this->XAxisLabel->SetWidth(w); this->YAxisLabel->SetWidth(w); this->ZAxisLabel->SetWidth(w); }
143 inline void SetAxisLabelHeight(
double h) { this->XAxisLabel->SetHeight(h); this->YAxisLabel->SetHeight(h); this->ZAxisLabel->SetHeight(h);}
150 double m_axesLabelWidth;
151 double m_axesLabelHeight;
GLuint GLuint GLsizei GLenum type
Definition: glew.h:1237
void SetAxisLabelWidth(double w)
Definition: AffineTransformInteractor3D.h:141
Definition: ReceptorMemberCommandTest.cxx:25
GLubyte GLubyte GLubyte GLubyte w
Definition: glew.h:1874
GLenum GLint GLint * precision
Definition: glew.h:3137
Definition: AffineTransformInteractor3D.h:138
double GetAxisLabelWidth()
Definition: AffineTransformInteractor3D.h:142
GLfloat GLfloat GLfloat GLfloat h
Definition: glew.h:6796
double GetAxisLabelHeight()
Definition: AffineTransformInteractor3D.h:144
void SetAxisLabelHeight(double h)
Definition: AffineTransformInteractor3D.h:143
GLclampd n
Definition: glew.h:6789
cl_event event
Definition: glew.h:3231