17#ifndef __surface_types_h__
18#define __surface_types_h__
21#include "connectome/connectome.h"
39 class Vox :
public Eigen::Array3i
42 using Eigen::Array3i::Array3i;
43 Vox () : Eigen::Array3i (-1, -1, -1) { }
45 bool operator< (
const Vox& i)
const
47 return ((*
this)[2] == i[2] ? (((*
this)[1] == i[1]) ? ((*
this)[0] < i[0]) : ((*
this)[1] < i[1])) : ((*
this)[2] < i[2]));
constexpr I round(const T x)
Eigen::Array< Connectome::node_t, Eigen::Dynamic, 1 > label_vector_type