NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::TransformFile Class Reference

File format for storing a 4x4 matrix. More...

#include <cxTransformFile.h>

Public Member Functions

 TransformFile (QString fileName="")
 
QString fileName () const
 
Transform3D read (bool *ok=0)
 
void write (const Transform3D &transform)
 

Detailed Description

File format for storing a 4x4 matrix.

The read/write methods emit error messages if you dont use the ok flag.

Date
Feb 28, 2012
Author
Christian Askeland, SINTEF

Definition at line 37 of file cxTransformFile.h.

Constructor & Destructor Documentation

◆ TransformFile()

cx::TransformFile::TransformFile ( QString  fileName = "")

Definition at line 23 of file cxTransformFile.cpp.

Member Function Documentation

◆ fileName()

QString cx::TransformFile::fileName ( ) const
inline

Definition at line 41 of file cxTransformFile.h.

◆ read()

Transform3D cx::TransformFile::read ( bool *  ok = 0)

Reads a whitespace separated 4x4 matrix from file

Parameters
oksuccess flag. If NULL, logger warnings are emitted instead
Returns
The matrix

Definition at line 33 of file cxTransformFile.cpp.

◆ write()

void cx::TransformFile::write ( const Transform3D transform)

Definition at line 65 of file cxTransformFile.cpp.


The documentation for this class was generated from the following files: