#ifndef VVTOOLPROFILE_H
#define VVTOOLPROFILE_H
+#include <QtGlobal>
+#if QT_VERSION < 0x050000
+#include <QtDesigner/QDesignerExportWidget>
+#else
#include <QtUiPlugin/QDesignerExportWidget>
+#endif
#include "vvToolBase.h"
#include "vvToolWidgetBase.h"
#include "vvImageContour.h"
+#include "vvLandmarks.h"
#include "ui_vvToolProfile.h"
+#include "vvBinaryImageOverlayActor.h"
#include "clitkProfileImage_ggo.h"
#include "clitkProfileImageGenericFilter.h"
virtual void InputIsSelected(vvSlicerManager * m);
bool isPointsSelected();
+ void computeProfile();
//-----------------------------------------------------
public slots:
void selectPoint1();
void selectPoint2();
void cancelPoints();
- void computeProfile();
+ void SaveAs();
+ void DisplayLine();
protected:
void RemoveVTKObjects();
bool mPoint2Selected;
vtkSmartPointer<vtkContextView> mView;
clitk::ProfileImageGenericFilter::Pointer mFilter;
+ std::string mTextFileName;
+ vvImage::Pointer mImageLine;
+ std::vector< vvBinaryImageOverlayActor::Pointer > mOverlayActors;
}; // end class vvToolProfile