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;
308 std::shared_ptr<MNESourceSpace>&
at(qint32 idx);
318 const std::shared_ptr<MNESourceSpace>&
at(qint32 idx)
const;
341 static bool complete_source_space_info(
MNEHemisphere& p_Hemisphere);
360 std::vector<std::shared_ptr<MNESourceSpace>> m_sourceSpaces;
369 return m_sourceSpaces.empty();
376 return static_cast<qint32
>(m_sourceSpaces.size());
385 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.
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.
QList< Eigen::VectorXi > label_src_vertno_sel(const FSLIB::Label &p_label, Eigen::VectorXi &src_sel) const
void writeToStream(FIFFLIB::FiffStream *p_pStream)
std::shared_ptr< const MNESourceSpaces > ConstSPtr
MNESourceSpaces pick_regions(const QList< FSLIB::Label > &p_qListLabels) const
bool transform_source_space_to(FIFFLIB::fiff_int_t dest, FIFFLIB::FiffCoordTrans &trans)
MNEHemisphere * hemisphereAt(qint32 idx)
std::shared_ptr< MNESourceSpaces > SPtr
static bool patch_info(MNEHemisphere &p_Hemisphere)
static qint32 find_source_space_hemi(MNESourceSpace &p_SourceSpace)
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