CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxMeshHelpers.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 
12 #ifndef CXMESHHELPERS_H_
13 #define CXMESHHELPERS_H_
14 
15 #include "cxResourceExport.h"
16 
17 #include <vtkPolyData.h>
18 
19 #include "cxTool.h"
20 
29 namespace cx
30 {
31 
37 cxResource_EXPORT vtkPolyDataPtr polydataFromTransforms(TimedTransformMap transformMap_prMt, Transform3D rMpr);
38 cxResource_EXPORT void loadMeshFromToolTransforms(PatientModelServicePtr dataManager, TimedTransformMap transforms_prMt);
39 
43 cxResource_EXPORT std::map<std::string, std::string> getDisplayFriendlyInfo(MeshPtr mesh);
44 
49 }//namespace cx
50 
51 #endif //CXMESHHELPERS_H_
52 
std::map< std::string, std::string > getDisplayFriendlyInfo(MeshPtr mesh)
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
vtkSmartPointer< class vtkPolyData > vtkPolyDataPtr
vtkPolyDataPtr polydataFromTransforms(TimedTransformMap transformMap_prMt, Transform3D rMpr)
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
void loadMeshFromToolTransforms(PatientModelServicePtr dataManager, TimedTransformMap transforms_prMt)
boost::shared_ptr< class Mesh > MeshPtr
std::map< double, Transform3D > TimedTransformMap
Namespace for all CustusX production code.