37#ifndef MNE_SOURCE_SPACES_H
38#define MNE_SOURCE_SPACES_H
96 using SPtr = std::shared_ptr<MNESourceSpaces>;
97 using ConstSPtr = std::shared_ptr<const MNESourceSpaces>;
210 inline qint32
size()
const;
316 std::shared_ptr<MNESourceSpace>&
at(qint32 idx);
326 const std::shared_ptr<MNESourceSpace>&
at(qint32 idx)
const;
349 static bool complete_source_space_info(
MNEHemisphere& p_Hemisphere);
368 std::vector<std::shared_ptr<MNESourceSpace>> m_sourceSpaces;
377 return m_sourceSpaces.empty();
384 return static_cast<qint32
>(m_sourceSpaces.size());
393 for (qint32 i = 0; i < a.
size(); ++i) {
FIFF class declaration, which provides static wrapper functions to stay consistent with mne matlab to...
FiffDirNode class declaration, which provides fiff dir tree processing methods.
Old fiff_type declarations - replace them.
bool operator==(const BIDSPath &a, const BIDSPath &b)
mne library export/import macros.
MNEHemisphere class declaration.
Core MNE data structures (source spaces, source estimates, hemispheres).
bool operator==(const MNEClusterInfo &a, const MNEClusterInfo &b)
FreeSurfer surface and annotation I/O.
Coordinate transformation description.
QSharedPointer< FiffDirNode > SPtr
QSharedPointer< FiffStream > SPtr
Hemisphere provides geometry information.
This defines a source space.
void writeToStream(FIFFLIB::FiffStream *p_pStream)
MNESourceSpaces pick_regions(const QList< FSLIB::FsLabel > &p_qListLabels) const
std::shared_ptr< const MNESourceSpaces > ConstSPtr
bool transform_source_space_to(FIFFLIB::fiff_int_t dest, FIFFLIB::FiffCoordTrans &trans)
MNEHemisphere * hemisphereAt(qint32 idx)
std::shared_ptr< MNESourceSpaces > SPtr
void append(const MNESourceSpace &space)
static bool patch_info(MNEHemisphere &p_Hemisphere)
static qint32 find_source_space_hemi(MNESourceSpace &p_SourceSpace)
QList< Eigen::VectorXi > label_src_vertno_sel(const FSLIB::FsLabel &p_label, Eigen::VectorXi &src_sel) const
static bool readFromStream(FIFFLIB::FiffStream::SPtr &p_pStream, bool add_geom, MNESourceSpaces &p_SourceSpace)
std::shared_ptr< MNESourceSpace > & at(qint32 idx)
QList< Eigen::VectorXi > get_vertno() const