9 #ifndef __flowviz__DistanceMap__
10 #define __flowviz__DistanceMap__
48 int at(
int row,
int col);
void initializeDistanceMap(glm::uvec2 position)
initializes distance map with supplied position Changes every element
Definition: DistanceMap.cpp:25
~DistanceMap()
Definition: DistanceMap.cpp:19
Definition: type_mat2x2.hpp:38
DistanceMap(int sizeX, int sizeY)
the distance data
Definition: DistanceMap.cpp:14
void updateDistanceMap(glm::uvec2 position)
Updates distance map with supplied position Changes elements only when position is closer...
Definition: DistanceMap.cpp:36
int at(int row, int col)
distance to nearest arrow at position
Definition: DistanceMap.cpp:49
genType::row_type row(genType const &m, int index)
Definition: matrix_access.inl:47
Discrete distance map.
Definition: DistanceMap.h:21
Definition: DistanceMap.h:16