v2.0.0
Loading...
Searching...
No Matches
MNELIB::MneMshDisplaySurfaceSet Class Reference

The MNE Msh Display Surface Set class holds information about a set of surfaces to be rendered. More...

#include <mne_msh_display_surface_set.h>

Public Types

typedef QSharedPointer< MneMshDisplaySurfaceSetSPtr
typedef QSharedPointer< const MneMshDisplaySurfaceSetConstSPtr

Public Member Functions

 MneMshDisplaySurfaceSet (int nsurf=0)
 ~MneMshDisplaySurfaceSet ()

Static Public Member Functions

static MneMshDisplaySurfaceSetload_new_surface (const QString &subject_id, const QString &surf, const QString &subjects_dir)
static void decide_surface_extent (MneMshDisplaySurface *surf, const char *tag)
static void decide_curv_display (const char *name, MneMshDisplaySurface *s)
static int add_bem_surface (MneMshDisplaySurfaceSet *surfs, QString filepath, int kind, QString bemname, int full_geom, int check)
static void add_replace_display_surface (MneMshDisplaySurfaceSet *surfs, MneMshDisplaySurface *newSurf, bool replace, bool drawable)
static void setup_curvature_colors (MneMshDisplaySurface *surf)
static void apply_left_right_eyes (MneMshDisplaySurfaceSet *surfs)
static void apply_left_eyes (MneMshDisplaySurfaceSet *surfs)
static void setup_current_surface_lights (MneMshDisplaySurfaceSet *surfs)
static void initialize_custom_lights ()
static MneMshLightSetdup_light_set (MneMshLightSet *s)
static void setup_these_surface_lights (MneMshDisplaySurfaceSet *surfs, MneMshLightSet *set)

Public Attributes

char * subj
char * morph_subj
FIFFLIB::FiffCoordTransSetmain_t
FIFFLIB::FiffCoordTransSetmorph_t
MneMshDisplaySurface ** surfs
MneSurfacePatch ** patches
float * patch_rot
int nsurf
int use_patches
int * active
int * drawable
MneMshLightSetlights
float rot [3]
float move [3]
float fov
float fov_scale
float eye [3]
float up [3]
float bg_color [3]
float text_color [3]
void * user_data
mneUserFreeFunc user_data_free

Detailed Description

The MNE Msh Display Surface Set class holds information about a set of surfaces to be rendered.

Replaces *mshDisplaySurfaceSet, mshDisplaySurfaceSetRec struct (analyze_types.c). Note that another implementation can be found in movie_types.h

Definition at line 86 of file mne_msh_display_surface_set.h.

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for MneMshDisplaySurfaceSet.

Definition at line 90 of file mne_msh_display_surface_set.h.

◆ SPtr

Shared pointer type for MneMshDisplaySurfaceSet.

Definition at line 89 of file mne_msh_display_surface_set.h.

Constructor & Destructor Documentation

◆ MneMshDisplaySurfaceSet()

MneMshDisplaySurfaceSet::MneMshDisplaySurfaceSet ( int nsurf = 0)

Constructs the MneMshDisplaySurfaceSet.

Definition at line 122 of file mne_msh_display_surface_set.cpp.

◆ ~MneMshDisplaySurfaceSet()

MneMshDisplaySurfaceSet::~MneMshDisplaySurfaceSet ( )

Destroys the MneMshDisplaySurfaceSet.

Definition at line 203 of file mne_msh_display_surface_set.cpp.

Member Function Documentation

◆ add_bem_surface()

int MneMshDisplaySurfaceSet::add_bem_surface ( MneMshDisplaySurfaceSet * surfs,
QString filepath,
int kind,
QString bemname,
int full_geom,
int check )
static

Definition at line 398 of file mne_msh_display_surface_set.cpp.

◆ add_replace_display_surface()

void MneMshDisplaySurfaceSet::add_replace_display_surface ( MneMshDisplaySurfaceSet * surfs,
MneMshDisplaySurface * newSurf,
bool replace,
bool drawable )
static

Definition at line 467 of file mne_msh_display_surface_set.cpp.

◆ apply_left_eyes()

void MneMshDisplaySurfaceSet::apply_left_eyes ( MneMshDisplaySurfaceSet * surfs)
static

Definition at line 596 of file mne_msh_display_surface_set.cpp.

◆ apply_left_right_eyes()

void MneMshDisplaySurfaceSet::apply_left_right_eyes ( MneMshDisplaySurfaceSet * surfs)
static

Definition at line 557 of file mne_msh_display_surface_set.cpp.

◆ decide_curv_display()

void MneMshDisplaySurfaceSet::decide_curv_display ( const char * name,
MneMshDisplaySurface * s )
static

Definition at line 381 of file mne_msh_display_surface_set.cpp.

◆ decide_surface_extent()

void MneMshDisplaySurfaceSet::decide_surface_extent ( MneMshDisplaySurface * surf,
const char * tag )
static

Definition at line 339 of file mne_msh_display_surface_set.cpp.

◆ dup_light_set()

MneMshLightSet * MneMshDisplaySurfaceSet::dup_light_set ( MneMshLightSet * s)
static

Definition at line 654 of file mne_msh_display_surface_set.cpp.

◆ initialize_custom_lights()

void MneMshDisplaySurfaceSet::initialize_custom_lights ( )
static

Definition at line 629 of file mne_msh_display_surface_set.cpp.

◆ load_new_surface()

MneMshDisplaySurfaceSet * MneMshDisplaySurfaceSet::load_new_surface ( const QString & subject_id,
const QString & surf,
const QString & subjects_dir )
static

Definition at line 230 of file mne_msh_display_surface_set.cpp.

◆ setup_current_surface_lights()

void MneMshDisplaySurfaceSet::setup_current_surface_lights ( MneMshDisplaySurfaceSet * surfs)
static

Definition at line 618 of file mne_msh_display_surface_set.cpp.

◆ setup_curvature_colors()

void MneMshDisplaySurfaceSet::setup_curvature_colors ( MneMshDisplaySurface * surf)
static

Definition at line 509 of file mne_msh_display_surface_set.cpp.

◆ setup_these_surface_lights()

void MneMshDisplaySurfaceSet::setup_these_surface_lights ( MneMshDisplaySurfaceSet * surfs,
MneMshLightSet * set )
static

Definition at line 672 of file mne_msh_display_surface_set.cpp.

Member Data Documentation

◆ active

int* MNELIB::MneMshDisplaySurfaceSet::active

Definition at line 156 of file mne_msh_display_surface_set.h.

◆ bg_color

float MNELIB::MneMshDisplaySurfaceSet::bg_color[3]

Definition at line 165 of file mne_msh_display_surface_set.h.

◆ drawable

int* MNELIB::MneMshDisplaySurfaceSet::drawable

Definition at line 157 of file mne_msh_display_surface_set.h.

◆ eye

float MNELIB::MneMshDisplaySurfaceSet::eye[3]

Definition at line 163 of file mne_msh_display_surface_set.h.

◆ fov

float MNELIB::MneMshDisplaySurfaceSet::fov

Definition at line 161 of file mne_msh_display_surface_set.h.

◆ fov_scale

float MNELIB::MneMshDisplaySurfaceSet::fov_scale

Definition at line 162 of file mne_msh_display_surface_set.h.

◆ lights

MneMshLightSet* MNELIB::MneMshDisplaySurfaceSet::lights

Definition at line 158 of file mne_msh_display_surface_set.h.

◆ main_t

FIFFLIB::FiffCoordTransSet* MNELIB::MneMshDisplaySurfaceSet::main_t

Definition at line 149 of file mne_msh_display_surface_set.h.

◆ morph_subj

char* MNELIB::MneMshDisplaySurfaceSet::morph_subj

Definition at line 148 of file mne_msh_display_surface_set.h.

◆ morph_t

FIFFLIB::FiffCoordTransSet* MNELIB::MneMshDisplaySurfaceSet::morph_t

Definition at line 150 of file mne_msh_display_surface_set.h.

◆ move

float MNELIB::MneMshDisplaySurfaceSet::move[3]

Definition at line 160 of file mne_msh_display_surface_set.h.

◆ nsurf

int MNELIB::MneMshDisplaySurfaceSet::nsurf

Definition at line 154 of file mne_msh_display_surface_set.h.

◆ patch_rot

float* MNELIB::MneMshDisplaySurfaceSet::patch_rot

Definition at line 153 of file mne_msh_display_surface_set.h.

◆ patches

MneSurfacePatch** MNELIB::MneMshDisplaySurfaceSet::patches

Definition at line 152 of file mne_msh_display_surface_set.h.

◆ rot

float MNELIB::MneMshDisplaySurfaceSet::rot[3]

Definition at line 159 of file mne_msh_display_surface_set.h.

◆ subj

char* MNELIB::MneMshDisplaySurfaceSet::subj

Definition at line 147 of file mne_msh_display_surface_set.h.

◆ surfs

MneMshDisplaySurface** MNELIB::MneMshDisplaySurfaceSet::surfs

Definition at line 151 of file mne_msh_display_surface_set.h.

◆ text_color

float MNELIB::MneMshDisplaySurfaceSet::text_color[3]

Definition at line 166 of file mne_msh_display_surface_set.h.

◆ up

float MNELIB::MneMshDisplaySurfaceSet::up[3]

Definition at line 164 of file mne_msh_display_surface_set.h.

◆ use_patches

int MNELIB::MneMshDisplaySurfaceSet::use_patches

Definition at line 155 of file mne_msh_display_surface_set.h.

◆ user_data

void* MNELIB::MneMshDisplaySurfaceSet::user_data

Definition at line 167 of file mne_msh_display_surface_set.h.

◆ user_data_free

mneUserFreeFunc MNELIB::MneMshDisplaySurfaceSet::user_data_free

Definition at line 168 of file mne_msh_display_surface_set.h.


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