#ifndef VVTOOLPROFILE_H
#define VVTOOLPROFILE_H
-#if QT_VERSION < 0x050000
+#include <QtGlobal>
#include <QtDesigner/QDesignerExportWidget>
-#else
-#include <QtUiPlugin/QDesignerExportWidget>
-#endif
#include "vvToolBase.h"
#include "vvToolWidgetBase.h"
#include <vtkTable.h>
#include <vtkContextView.h>
#include <vtkContextScene.h>
+#include <vtkTransformPolyDataFilter.h>
//------------------------------------------------------------------------------
class vvToolProfile:
Ui::vvToolProfile ui;
args_info_clitkProfileImage mArgsInfo;
- int* mPoint1;
- int* mPoint2;
+ double* mPoint1;
+ double* mPoint2;
bool mPoint1Selected;
bool mPoint2Selected;
vtkSmartPointer<vtkContextView> mView;
std::string mTextFileName;
std::vector<vtkSmartPointer<vtkActor> > mLineActors;
vtkSmartPointer<vtkPolyData> mLinesPolyData;
+ vtkSmartPointer<vtkTransformPolyDataFilter> mLineTransform;
}; // end class vvToolProfile