MNE-CPP  0.1.9
A Framework for Electrophysiology
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

◆ 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.