CustusX  18.04-rc1
An IGT application
cxVisServices.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 CXVISSERVICES_H
12 #define CXVISSERVICES_H
13 
14 #include "cxResourceVisualizationExport.h"
15 
16 #include "cxCoreServices.h"
17 
18 namespace cx
19 {
20 
21 typedef boost::shared_ptr<class VisServices> VisServicesPtr;
22 typedef boost::shared_ptr<class ViewService> ViewServicePtr;
23 
32 class cxResourceVisualization_EXPORT VisServices : public CoreServices
33 {
34 public:
35  static VisServicesPtr create(ctkPluginContext* context);
36  VisServices(ctkPluginContext* context);
37  static VisServicesPtr getNullObjects();
38 
39  ViewServicePtr view() { return mViewService;}
40 
41 protected:
42  VisServices();
43  ViewServicePtr mViewService;
44 };
45 
46 
47 }
48 
49 #endif // CXVISSERVICES_H
boost::shared_ptr< class VisServices > VisServicesPtr
Definition: cxMainWindow.h:40
boost::shared_ptr< class ViewService > ViewServicePtr
ViewServicePtr mViewService
Definition: cxVisServices.h:43
ViewServicePtr view()
Definition: cxVisServices.h:39
Namespace for all CustusX production code.