60 #include <boost/format.hpp>
64 typedef float coord_t;
89 WHcoord( coord_t x_init, coord_t y_init, coord_t z_init );
124 std::vector< WHcoord >
getPhysNbs(
const WHcoord dataSize,
const unsigned int nbLevel )
const;
171 std::ostream& operator <<( std::ostream& os,
const WHcoord&
object );
202 std::string getGridString(
const HC_GRID gridType );
this class to contain a seed voxel coordinate.
std::vector< WHcoord > getPhysNbs(const WHcoord dataSize, const unsigned int nbLevel) const
returns a vector containing the coordinates of the physical neighbours adjacent to the voxel,...
WHcoord surf2vista(const WHcoord dataSize) const
transform coordinates to vista format
WHcoord nifti2vista(const WHcoord dataSize) const
transform coordinates to vista format
float getPhysDist(const WHcoord voxel) const
returns the euclidean distance between this voxel and the input voxel
std::string getNameString() const
returns a string with the coordinates of the voxel in the form "xxx_yyy_zzz"
WHcoord & operator=(const WHcoord &rhs)
= member operator
WHcoord vista2nifti(const WHcoord dataSize) const
transform coordinates to vista format