MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
Macros
mne_msh_display_surface_set.cpp File Reference

Definition of the MneMshDisplaySurfaceSet Class. More...

#include "mne_msh_display_surface_set.h"
#include "mne_msh_display_surface.h"
#include "mne_surface_old.h"
#include "mne_surface_patch.h"
#include "mne_source_space_old.h"
#include "mne_msh_light_set.h"
#include "mne_msh_light.h"
#include "mne_msh_eyes.h"
#include <fiff/c/fiff_coord_trans_set.h>
#include <qmath.h>
Include dependency graph for mne_msh_display_surface_set.cpp:

Go to the source code of this file.

Macros

#define MALLOC_47(x, t)   (t *)malloc((x)*sizeof(t))
 
#define FREE_47(x)   if ((char *)(x) != Q_NULLPTR) free((char *)(x))
 
#define REALLOC_47(x, y, t)   (t *)((x == NULL) ? malloc((y)*sizeof(t)) : realloc((x),(y)*sizeof(t)))
 
#define TRUE   1
 
#define FALSE   0
 
#define FAIL   -1
 
#define OK   0
 
#define X_47   0
 
#define Y_47   1
 
#define Z_47   2
 
#define SURF_LEFT_HEMI   FIFFV_MNE_SURF_LEFT_HEMI
 
#define SURF_RIGHT_HEMI   FIFFV_MNE_SURF_RIGHT_HEMI
 
#define VEC_COPY_47(to, from)
 
#define SHOW_CURVATURE_NONE   0
 
#define SHOW_CURVATURE_OVERLAY   1
 
#define SHOW_OVERLAY_HEAT   1
 
#define SURF_LEFT_MORPH_HEMI   (1 << 16 | FIFFV_MNE_SURF_LEFT_HEMI)
 
#define SURF_RIGHT_MORPH_HEMI   (1 << 16 | FIFFV_MNE_SURF_RIGHT_HEMI)
 
#define POS_CURV_COLOR   0.25
 
#define NEG_CURV_COLOR   0.375
 
#define EVEN_CURV_COLOR   0.375
 

Detailed Description

Definition of the MneMshDisplaySurfaceSet Class.

Author
Lorenz Esch lesch.nosp@m.@mgh.nosp@m..harv.nosp@m.ard..nosp@m.edu; Matti Hamalainen msh@n.nosp@m.mr.m.nosp@m.gh.ha.nosp@m.rvar.nosp@m.d.edu
Since
0.1.0
Date
April, 2017

LICENSE

Copyright (C) 2017, Lorenz Esch, Matti Hamalainen. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file mne_msh_display_surface_set.cpp.

Macro Definition Documentation

◆ EVEN_CURV_COLOR

#define EVEN_CURV_COLOR   0.375

Definition at line 96 of file mne_msh_display_surface_set.cpp.

◆ FAIL

#define FAIL   -1

Definition at line 67 of file mne_msh_display_surface_set.cpp.

◆ FALSE

#define FALSE   0

Definition at line 63 of file mne_msh_display_surface_set.cpp.

◆ FREE_47

#define FREE_47 (   x)    if ((char *)(x) != Q_NULLPTR) free((char *)(x))

Definition at line 54 of file mne_msh_display_surface_set.cpp.

◆ MALLOC_47

#define MALLOC_47 (   x,
 
)    (t *)malloc((x)*sizeof(t))

Definition at line 52 of file mne_msh_display_surface_set.cpp.

◆ NEG_CURV_COLOR

#define NEG_CURV_COLOR   0.375

Definition at line 95 of file mne_msh_display_surface_set.cpp.

◆ OK

#define OK   0

Definition at line 71 of file mne_msh_display_surface_set.cpp.

◆ POS_CURV_COLOR

#define POS_CURV_COLOR   0.25

Definition at line 94 of file mne_msh_display_surface_set.cpp.

◆ REALLOC_47

#define REALLOC_47 (   x,
  y,
 
)    (t *)((x == NULL) ? malloc((y)*sizeof(t)) : realloc((x),(y)*sizeof(t)))

Definition at line 56 of file mne_msh_display_surface_set.cpp.

◆ SHOW_CURVATURE_NONE

#define SHOW_CURVATURE_NONE   0

Definition at line 87 of file mne_msh_display_surface_set.cpp.

◆ SHOW_CURVATURE_OVERLAY

#define SHOW_CURVATURE_OVERLAY   1

Definition at line 88 of file mne_msh_display_surface_set.cpp.

◆ SHOW_OVERLAY_HEAT

#define SHOW_OVERLAY_HEAT   1

Definition at line 89 of file mne_msh_display_surface_set.cpp.

◆ SURF_LEFT_HEMI

#define SURF_LEFT_HEMI   FIFFV_MNE_SURF_LEFT_HEMI

Definition at line 78 of file mne_msh_display_surface_set.cpp.

◆ SURF_LEFT_MORPH_HEMI

#define SURF_LEFT_MORPH_HEMI   (1 << 16 | FIFFV_MNE_SURF_LEFT_HEMI)

Definition at line 91 of file mne_msh_display_surface_set.cpp.

◆ SURF_RIGHT_HEMI

#define SURF_RIGHT_HEMI   FIFFV_MNE_SURF_RIGHT_HEMI

Definition at line 79 of file mne_msh_display_surface_set.cpp.

◆ SURF_RIGHT_MORPH_HEMI

#define SURF_RIGHT_MORPH_HEMI   (1 << 16 | FIFFV_MNE_SURF_RIGHT_HEMI)

Definition at line 92 of file mne_msh_display_surface_set.cpp.

◆ TRUE

#define TRUE   1

Definition at line 59 of file mne_msh_display_surface_set.cpp.

◆ VEC_COPY_47

#define VEC_COPY_47 (   to,
  from 
)
Value:
{\
(to)[X_47] = (from)[X_47];\
(to)[Y_47] = (from)[Y_47];\
(to)[Z_47] = (from)[Z_47];\
}

Definition at line 81 of file mne_msh_display_surface_set.cpp.

◆ X_47

#define X_47   0

Definition at line 74 of file mne_msh_display_surface_set.cpp.

◆ Y_47

#define Y_47   1

Definition at line 75 of file mne_msh_display_surface_set.cpp.

◆ Z_47

#define Z_47   2

Definition at line 76 of file mne_msh_display_surface_set.cpp.