4x4 affine FIFF coordinate transform (FIFF_COORD_TRANS) annotated with source/destination coordinate-frame IDs. More...
#include "fiff_global.h"#include "fiff_types.h"#include "fiff_stream.h"#include "fiff_dir_node.h"#include <QIODevice>#include <QSharedPointer>#include <memory>#include <Eigen/Core>

Go to the source code of this file.
Classes | |
| class | FIFFLIB::FiffCoordTrans |
| Labelled 4x4 FIFF affine: source frame, destination frame, rotation, translation and cached inverse. More... | |
Namespaces | |
| namespace | FIFFLIB |
| FIFF file I/O, in-memory data structures and high-level readers/writers. | |
Macros | |
| #define | metatype_fiffcoordtrans |
| #define | metatype_fiffcoordtrans_sptr |
Functions | |
| bool | FIFFLIB::operator== (const FiffCoordTrans &a, const FiffCoordTrans &b) |
| Q_DECLARE_METATYPE (FIFFLIB::FiffCoordTrans) | |
| Q_DECLARE_METATYPE (FIFFLIB::FiffCoordTrans::SPtr) | |
4x4 affine FIFF coordinate transform (FIFF_COORD_TRANS) annotated with source/destination coordinate-frame IDs.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2012-2026 MNE-CPP Authors
The FIFF coordinate-frame world is a small zoo (FIFFV_COORD_DEVICE, FIFFV_COORD_HEAD, FIFFV_COORD_MRI, FIFFV_COORD_HPI, FIFFV_COORD_RAS, ...) and any forward / inverse computation must move points and orientations between them. FiffCoordTrans wraps one labelled affine: the 3x3 rotation rot, the 3-vector translation move, the precomputed inverse, and the integer from / to frame identifiers from fiff_constants.h.
The class also publishes the small algebra needed at the call sites: multiplication, inversion, and the convenience helper that picks the right transform out of a FiffCoordTransSet by (from, to) pair. Surface-compatible with the mne.transforms.Transform object in MNE-Python.
Definition in file fiff_coord_trans.h.
| #define metatype_fiffcoordtrans |
Definition at line 504 of file fiff_coord_trans.h.
| #define metatype_fiffcoordtrans_sptr |
Definition at line 509 of file fiff_coord_trans.h.
| Q_DECLARE_METATYPE | ( | FIFFLIB::FiffCoordTrans | ) |
Provides QT META type declaration of the FIFFLIB::FiffCoordTrans type. For signal/slot usage.
| Q_DECLARE_METATYPE | ( | FIFFLIB::FiffCoordTrans::SPtr | ) |
Provides QT META type declaration of the FIFFLIB::FiffCoordTrans::SPtr type. For signal/slot usage.