aimsdata  5.0.5
Neuroimaging data handling
aims::MotionWriter Class Reference

The class for motion write operation. More...

#include <aims/io/motionW.h>

Public Member Functions

 MotionWriter (const std::string &name, int mode=std::ios::out)
 The programmer should give the file name to the writer. More...
 
virtual ~MotionWriter ()
 Destructor does nothing special. More...
 
void write (const AffineTransformation3d &thing)
 Write the motion with "name" file name to disk. More...
 

Friends

MotionWriteroperator<< (MotionWriter &writer, const AffineTransformation3d &thing)
 Output stream operator. More...
 

Detailed Description

The class for motion write operation.

Definition at line 58 of file motionW.h.

Constructor & Destructor Documentation

◆ MotionWriter()

aims::MotionWriter::MotionWriter ( const std::string &  name,
int  mode = std::ios::out 
)
inline

The programmer should give the file name to the writer.

Parameters
namereference to the file name
openmodeopen mode [default="binar"]

Definition at line 64 of file motionW.h.

◆ ~MotionWriter()

virtual aims::MotionWriter::~MotionWriter ( )
inlinevirtual

Destructor does nothing special.

Definition at line 67 of file motionW.h.

References operator<<, and write().

Member Function Documentation

◆ write()

void aims::MotionWriter::write ( const AffineTransformation3d thing)

Write the motion with "name" file name to disk.

Parameters
thingconst reference to the data to write

Referenced by aims::operator<<(), and ~MotionWriter().

Friends And Related Function Documentation

◆ operator<<

MotionWriter& operator<< ( MotionWriter writer,
const AffineTransformation3d thing 
)
friend

Output stream operator.

Definition at line 87 of file motionW.h.

Referenced by ~MotionWriter().


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