|
MNE-CPP 0.1.9
A Framework for Electrophysiology
|
Definition of the FwdCoilSet Class. More...

Go to the source code of this file.
Macros | |
| #define | MAXWORD 1000 |
| #define | BIG 0.5 |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | FAIL -1 |
| #define | OK 0 |
| #define | MALLOC_6(x, t) (t *)malloc((x)*sizeof(t)) |
| #define | REALLOC_6(x, y, t) (t *)((x == NULL) ? malloc((y)*sizeof(t)) : realloc((x),(y)*sizeof(t))) |
| #define | FREE_6(x) if ((char *)(x) != NULL) free((char *)(x)) |
| #define | FIFFV_COORD_UNKNOWN 0 |
| #define | X_6 0 |
| #define | Y_6 1 |
| #define | Z_6 2 |
| #define | VEC_DOT_6(x, y) ((x)[X_6]*(y)[X_6] + (x)[Y_6]*(y)[Y_6] + (x)[Z_6]*(y)[Z_6]) |
| #define | VEC_LEN_6(x) sqrt(VEC_DOT_6(x,x)) |
| #define | VEC_COPY_6(to, from) |
Definition of the FwdCoilSet Class.
Copyright (C) 2016, Lorenz Esch, Matti Hamalainen, Christoph Dinh. 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 fwd_coil_set.cpp.
| #define BIG 0.5 |
Definition at line 61 of file fwd_coil_set.cpp.
| #define FAIL -1 |
Definition at line 72 of file fwd_coil_set.cpp.
| #define FALSE 0 |
Definition at line 68 of file fwd_coil_set.cpp.
| #define FIFFV_COORD_UNKNOWN 0 |
Definition at line 83 of file fwd_coil_set.cpp.
| #define FREE_6 | ( | x | ) | if ((char *)(x) != NULL) free((char *)(x)) |
Definition at line 81 of file fwd_coil_set.cpp.
| #define MALLOC_6 | ( | x, | |
| t | |||
| ) | (t *)malloc((x)*sizeof(t)) |
Definition at line 79 of file fwd_coil_set.cpp.
| #define MAXWORD 1000 |
Definition at line 60 of file fwd_coil_set.cpp.
| #define OK 0 |
Definition at line 76 of file fwd_coil_set.cpp.
| #define REALLOC_6 | ( | x, | |
| y, | |||
| t | |||
| ) | (t *)((x == NULL) ? malloc((y)*sizeof(t)) : realloc((x),(y)*sizeof(t))) |
Definition at line 80 of file fwd_coil_set.cpp.
| #define TRUE 1 |
Definition at line 64 of file fwd_coil_set.cpp.
| #define VEC_COPY_6 | ( | to, | |
| from | |||
| ) |
Definition at line 92 of file fwd_coil_set.cpp.
| #define VEC_DOT_6 | ( | x, | |
| y | |||
| ) | ((x)[X_6]*(y)[X_6] + (x)[Y_6]*(y)[Y_6] + (x)[Z_6]*(y)[Z_6]) |
Definition at line 89 of file fwd_coil_set.cpp.
| #define VEC_LEN_6 | ( | x | ) | sqrt(VEC_DOT_6(x,x)) |
Definition at line 90 of file fwd_coil_set.cpp.
| #define X_6 0 |
Definition at line 85 of file fwd_coil_set.cpp.
| #define Y_6 1 |
Definition at line 86 of file fwd_coil_set.cpp.
| #define Z_6 2 |
Definition at line 87 of file fwd_coil_set.cpp.