17#ifndef __dwi_tractography_connectome_extract_h__
18#define __dwi_tractography_connectome_extract_h__
31namespace Tractography {
45 keep_self (keep_self) { }
48 keep_self (
true) { list.push_back (node_one); list.push_back (node_two); }
52 keep_self (keep_self) { }
54 list (that.list), exact_match (that.exact_match), keep_self (that.keep_self) { }
56 list (std::move (that.list)), exact_match (that.exact_match), keep_self (that.keep_self) { }
58 bool operator() (
const node_t)
const;
59 bool operator() (
const NodePair&)
const;
60 bool operator() (
const node_t one,
const node_t two)
const {
return (*
this) (
NodePair (one, two)); }
65 bool exact_match, keep_self;
84 void write (
const node_t,
const node_t,
const std::string&,
const std::string&);
85 void write (
const node_t,
const std::string&,
const std::string&);
86 void write (
const std::string&,
const std::string&);
109 void add (
const node_t,
const std::string&,
const std::string);
110 void add (
const node_t,
const node_t,
const std::string&,
const std::string);
111 void add (
const vector<node_t>&,
const std::string&,
const std::string);
118 size_t file_count()
const {
return writers.size(); }
124 const bool exclusive;
125 const bool keep_self;
std::pair< node_t, node_t > NodePair
MR::Connectome::node_t node_t