CustusX
16.5.0-rc9
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 58 of file cxTransformFile.h.
cx::TransformFile::TransformFile | ( | QString | fileName = "" | ) |
Definition at line 44 of file cxTransformFile.cpp.
|
inline |
Definition at line 62 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 54 of file cxTransformFile.cpp.
void cx::TransformFile::write | ( | const Transform3D & | transform | ) |
Definition at line 86 of file cxTransformFile.cpp.