Fraxinus  18.10
An IGT application
cxAngleCorrectionExecuter.h
Go to the documentation of this file.
1 #ifndef CXANGLECORRECTIONEXECUTER_H
2 #define CXANGLECORRECTIONEXECUTER_H
3 
4 #include "cxMathBase.h"
5 #include "org_custusx_anglecorrection_Export.h"
7 
8 #include "AngleCorrection.h"
9 
10 namespace cx
11 {
12 
22 typedef boost::shared_ptr<class AngleCorrectionExecuter> AngleCorrectionExecuterPtr;
23 
24 
25 class org_custusx_anglecorrection_EXPORT AngleCorrectionExecuter : public ThreadedTimedAlgorithm<bool>, private AngleCorrection
26 {
27  Q_OBJECT
28 public:
30  virtual ~AngleCorrectionExecuter();
31  void setInput(QString clFilename, QString dataFilename, double Vnyq, double cutoff, int nConvolutions, double uncertainty_limit, double minArrowDist);
32  vtkSmartPointer<vtkPolyData> getOutput();
34  virtual bool calculate(bool reportOutSuccess);
35  virtual bool calculate(){return calculate(true);}
36 private slots:
37  virtual void postProcessingSlot();
38 
39 private:
40 
41 };
42 
43 }//namespace
44 #endif /* CXANGLECORRECTIONEXECUTER_H */
Base class for algorithms that wants to thread and time their execution. T is the return type of the ...
virtual bool calculate()
This is the threaded function, should only contain threadsafe function calls.
boost::shared_ptr< class AngleCorrectionExecuter > AngleCorrectionExecuterPtr
Namespace for all CustusX production code.