CustusX
18.04-rc6
An IGT application
|
File format for storing a 4x4 matrix.The read/write methods emit error messages if you dont use the ok flag. More...
#include <cxTransformFile.h>
Public Member Functions | |
TransformFile (QString fileName="") | |
QString | fileName () const |
Transform3D | read (bool *ok=0) |
void | write (const Transform3D &transform) |
File format for storing a 4x4 matrix.
The read/write methods emit error messages if you dont use the ok flag.
Definition at line 37 of file cxTransformFile.h.
cx::TransformFile::TransformFile | ( | QString | fileName = "" | ) |
Definition at line 23 of file cxTransformFile.cpp.
|
inline |
Definition at line 41 of file cxTransformFile.h.
Transform3D cx::TransformFile::read | ( | bool * | ok = 0 | ) |
Reads a whitespace separated 4x4 matrix from file
ok | success flag. If NULL, logger warnings are emitted instead |
Definition at line 33 of file cxTransformFile.cpp.
void cx::TransformFile::write | ( | const Transform3D & | transform | ) |
Definition at line 65 of file cxTransformFile.cpp.