NorMIT-nav  22.09
An IGT application
cxTransformFile.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 CXTRANSFORMFILE_H_
13 #define CXTRANSFORMFILE_H_
14 
15 #include "cxResourceExport.h"
16 
17 #include "cxTransform3D.h"
18 
19 namespace cx
20 {
37 class cxResource_EXPORT TransformFile
38 {
39 public:
40  TransformFile(QString fileName ="");
41  QString fileName() const { return mFileName; }
42  Transform3D read(bool* ok = 0);
43  void write(const Transform3D& transform);
44 
45 private:
46  QString mFileName;
47 };
48 
53 }
54 
55 #endif /* CXTRANSFORMFILE_H_ */
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::TransformFile
File format for storing a 4x4 matrix.
Definition: cxTransformFile.h:37
cx::TransformFile::fileName
QString fileName() const
Definition: cxTransformFile.h:41
cx::Transform3D
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
Definition: cxLandmarkPatientRegistrationWidget.h:33
cx::transform
DoubleBoundingBox3D transform(const Transform3D &m, const DoubleBoundingBox3D &bb)
Definition: cxTransform3D.cpp:150
cxTransform3D.h