NorMIT-nav  18.04
An IGT application
cxRouteToTargetFilterService.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 #ifndef CXROUTETOTARGETFILTER_H
12 #define CXROUTETOTARGETFILTER_H
13 
14 #include "org_custusx_filter_routetotarget_Export.h"
15 
16 #include "cxPatientModelService.h"
17 #include "cxFilterImpl.h"
18 
19 class ctkPluginContext;
20 
21 namespace cx
22 {
23 
33 typedef boost::shared_ptr<class RouteToTarget> RouteToTargetPtr;
34 
35 class org_custusx_filter_routetotarget_EXPORT RouteToTargetFilter : public FilterImpl
36 {
37  Q_OBJECT
38  Q_INTERFACES(cx::Filter)
39 
40 public:
42  virtual ~RouteToTargetFilter() {}
43 
44  virtual QString getType() const;
45  virtual QString getName() const;
46  virtual QString getHelp() const;
47  static QString getNameSuffix();
48  static QString getNameSuffixExtension();
49 
50  virtual bool execute();
51  virtual bool postProcess();
52  virtual void setTargetName(QString name);
53 
54 protected:
55  virtual void createOptions();
56  virtual void createInputTypes();
57  virtual void createOutputTypes();
58 
59 private slots:
60 
61 private:
62  RouteToTargetPtr mRouteToTarget;
63  vtkPolyDataPtr mOutput;
64  vtkPolyDataPtr mExtendedRoute;
65  QString mTargetName;
66 };
67 typedef boost::shared_ptr<class RouteToTargetFilter> RouteToTargetFilterPtr;
68 
69 
70 } // namespace cx
71 
72 
73 
74 #endif // CXROUTETOTARGETFILTER_H
boost::shared_ptr< class RouteToTargetFilter > RouteToTargetFilterPtr
boost::shared_ptr< class RouteToTarget > RouteToTargetPtr
Definition: cxAccusurf.h:12
boost::shared_ptr< class VisServices > VisServicesPtr
Definition: cxMainWindow.h:40
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
Namespace for all CustusX production code.