MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
FIFFLIB::FiffCoordTransOld Class Reference

Coordinate transformation descriptor. More...

#include <fiff_coord_trans_old.h>

Public Types

typedef QSharedPointer< FiffCoordTransOldSPtr
 
typedef QSharedPointer< const FiffCoordTransOldConstSPtr
 

Public Member Functions

 FiffCoordTransOld ()
 
 FiffCoordTransOld (const FiffCoordTransOld &p_FiffCoordTransOld)
 
 FiffCoordTransOld (int from, int to, float rot[3][3], float move[3])
 
 ~FiffCoordTransOld ()
 
FiffCoordTrans toNew ()
 
FiffCoordTransOldfiff_invert_transform () const
 

Static Public Member Functions

static FiffCoordTransOldcatenate (FiffCoordTransOld *t1, FiffCoordTransOld *t2)
 
static int add_inverse (FiffCoordTransOld *t)
 
static void fiff_coord_trans (float r[3], const FiffCoordTransOld *t, int do_move)
 
static FiffCoordTransOldfiff_combine_transforms (int from, int to, FiffCoordTransOld *t1, FiffCoordTransOld *t2)
 
static void fiff_coord_trans_inv (float r[3], FiffCoordTransOld *t, int do_move)
 
static const char * mne_coord_frame_name (int frame)
 
static void mne_print_coord_transform_label (FILE *log, char *label, FiffCoordTransOld *t)
 
static void mne_print_coord_transform (FILE *log, FiffCoordTransOld *t)
 
static FiffCoordTransOldmne_read_transform (const QString &name, int from, int to)
 
static FiffCoordTransOldmne_read_transform_from_node (FIFFLIB::FiffStream::SPtr &stream, const FIFFLIB::FiffDirNode::SPtr &node, int from, int to)
 
static FiffCoordTransOldmne_read_mri_transform (const QString &name)
 
static FiffCoordTransOldmne_read_meas_transform (const QString &name)
 
static FiffCoordTransOldmne_read_transform_ascii (char *name, int from, int to)
 
static FiffCoordTransOldmne_read_FShead2mri_transform (char *name)
 
static FiffCoordTransOldmne_identity_transform (int from, int to)
 
static FiffCoordTransOldfiff_make_transform_card (int from, int to, float *rL, float *rN, float *rR)
 
static FiffCoordTransOldprocrustes_align (int from_frame, int to_frame, float **fromp, float **top, float *w, int np, float max_diff)
 
static FiffCoordTransOldread_helper (QSharedPointer< FIFFLIB::FiffTag > &tag)
 

Public Attributes

FIFFLIB::fiff_int_t from
 
FIFFLIB::fiff_int_t to
 
Eigen::Matrix3f rot
 
Eigen::Vector3f move
 
Eigen::Matrix3f invrot
 
Eigen::Vector3f invmove
 

Friends

bool operator== (const FiffCoordTransOld &a, const FiffCoordTransOld &b)
 

Detailed Description

Coordinate transformation descriptor.

Implements an Fiff Coordinate Descriptor (Replaces *fiffCoordTrans, fiffCoordTransRec; struct of MNE-C fiff_types.h).

Definition at line 80 of file fiff_coord_trans_old.h.

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for FiffCoordTransOld.

Definition at line 84 of file fiff_coord_trans_old.h.

◆ SPtr

Shared pointer type for FiffCoordTransOld.

Definition at line 83 of file fiff_coord_trans_old.h.

Constructor & Destructor Documentation

◆ FiffCoordTransOld() [1/3]

FiffCoordTransOld::FiffCoordTransOld ( )

Constructs the FiffCoordTransOld

Definition at line 347 of file fiff_coord_trans_old.cpp.

◆ FiffCoordTransOld() [2/3]

FiffCoordTransOld::FiffCoordTransOld ( const FiffCoordTransOld p_FiffCoordTransOld)

Copy constructor. Refactored: fiff_dup_transform (fiff_trans.c)

Parameters
[in]p_FiffCoordTransOldFiffCoordTransOld which should be copied.

Definition at line 353 of file fiff_coord_trans_old.cpp.

◆ FiffCoordTransOld() [3/3]

FiffCoordTransOld::FiffCoordTransOld ( int  from,
int  to,
float  rot[3][3],
float  move[3] 
)

Compose the coordinate transformation structure from a known forward transform Refactored: fiff_make_transform (make_volume_source_space.c)

Definition at line 393 of file fiff_coord_trans_old.cpp.

◆ ~FiffCoordTransOld()

FiffCoordTransOld::~FiffCoordTransOld ( )

Destroys the FiffCoordTransOld Refactored: (.c)

Definition at line 408 of file fiff_coord_trans_old.cpp.

Friends And Related Function Documentation

◆ operator==

bool operator== ( const FiffCoordTransOld a,
const FiffCoordTransOld b 
)
friend

Overloaded == operator to compare an object to this instance.

Parameters
[in]objectThe object which should be compared to.
Returns
true if equal, false otherwise.

Definition at line 217 of file fiff_coord_trans_old.h.

Member Data Documentation

◆ from

FIFFLIB::fiff_int_t FIFFLIB::FiffCoordTransOld::from

Source coordinate system.

Definition at line 195 of file fiff_coord_trans_old.h.

◆ invmove

Eigen::Vector3f FIFFLIB::FiffCoordTransOld::invmove

The inverse transform (translation part).

Definition at line 200 of file fiff_coord_trans_old.h.

◆ invrot

Eigen::Matrix3f FIFFLIB::FiffCoordTransOld::invrot

The inverse transform (rotation part).

Definition at line 199 of file fiff_coord_trans_old.h.

◆ move

Eigen::Vector3f FIFFLIB::FiffCoordTransOld::move

The forward transform (translation part).

Definition at line 198 of file fiff_coord_trans_old.h.

◆ rot

Eigen::Matrix3f FIFFLIB::FiffCoordTransOld::rot

The forward transform (rotation part).

Definition at line 197 of file fiff_coord_trans_old.h.

◆ to

FIFFLIB::fiff_int_t FIFFLIB::FiffCoordTransOld::to

Destination coordinate system.

Definition at line 196 of file fiff_coord_trans_old.h.


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