CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxMeshInView.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 CXMESHINVIEW_H
12 #define CXMESHINVIEW_H
13 
14 #include "cxForwardDeclarations.h"
15 #include "org_custusx_registration_method_vessel_Export.h"
16 
17 namespace cx
18 {
19 
20 typedef boost::shared_ptr<class MeshInView> MeshInViewPtr;
21 
25 class org_custusx_registration_method_vessel_EXPORT MeshInView
26 {
27 public:
28  MeshInView(ViewServicePtr viewService);
29  ~MeshInView();
30  void show(vtkPolyDataPtr polyData);
31  void hide();
32 
33 private:
34  GeometricRepPtr mRep;
35  ViewServicePtr mViewService;
36 };
37 
38 } // namespace cx
39 
40 
41 #endif // CXMESHINVIEW_H
boost::shared_ptr< class ViewService > ViewServicePtr
vtkSmartPointer< vtkPolyData > vtkPolyDataPtr
boost::shared_ptr< class MeshInView > MeshInViewPtr
boost::shared_ptr< class GeometricRep > GeometricRepPtr
Namespace for all CustusX production code.