Developer documentation
Version 3.0.3-105-gd3941f44
connectome.h
Go to the documentation of this file.
1/* Copyright (c) 2008-2022 the MRtrix3 contributors.
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 *
7 * Covered Software is provided under this License on an "as is"
8 * basis, without warranty of any kind, either expressed, implied, or
9 * statutory, including, without limitation, warranties that the
10 * Covered Software is free of defects, merchantable, fit for a
11 * particular purpose or non-infringing.
12 * See the Mozilla Public License v. 2.0 for more details.
13 *
14 * For more details, see http://www.mrtrix.org/.
15 */
16
17#ifndef __dwi_tractography_connectome_connectome_h__
18#define __dwi_tractography_connectome_connectome_h__
19
20
21#include "app.h"
22#include "image.h"
23
24#include "connectome/connectome.h"
25
26
27
28namespace MR {
29namespace DWI {
30namespace Tractography {
31namespace Connectome {
32
33
34
35#define TCK2NODES_RADIAL_DEFAULT_DIST 4.0
36#define TCK2NODES_REVSEARCH_DEFAULT_DIST 0.0 // Default = no distance limit, reverse search all the way to the streamline midpoint
37#define TCK2NODES_FORWARDSEARCH_DEFAULT_DIST 3.0
38
39
41using NodePair = std::pair<node_t, node_t>;
42
43class Tck2nodes_base;
44class Metric;
45
46
47
48extern const char* modes[];
51
54
55
56
57}
58}
59}
60}
61
62
63#endif
64
a class to hold a named list of Option's
uint32_t node_t
Definition: connectome.h:34
std::pair< node_t, node_t > NodePair
Definition: connectome.h:41
const App::OptionGroup AssignmentOptions
Tck2nodes_base * load_assignment_mode(Image< node_t > &)
MR::Connectome::node_t node_t
Definition: connectome.h:40
void setup_metric(Metric &, Image< node_t > &)
const App::OptionGroup MetricOptions
Definition: base.h:24