34 #ifndef LAYERED_MAPS_H 35 #define LAYERED_MAPS_H 67 cv::Mat&
mapLayer(
const size_t& _layer );
68 const cv::Mat&
mapLayer(
const size_t& _layer )
const;
71 void computeDistanceField ( cv::Mat& _mDst, std::vector< Point2D >& _pSrc,
const double& _radius,
bool _flipDistance =
false,
bool connectPoints =
false )
const;
72 void computeDistanceField ( cv::Mat& _mDst, cv::Mat& _mSrc,
const double& _radius,
bool _flipDistance =
false )
const;
82 #endif // LAYERED_MAPS_H
void resizeLayers(const size_t &_n)
virtual void initLayers()
void computeDistanceField(cv::Mat &_mDst, std::vector< Point2D > &_pSrc, const double &_radius, bool _flipDistance=false, bool connectPoints=false) const
std::vector< cv::Mat > mapLayers_
void clearLayer(const size_t &_layer)
cv::Mat & mapLayer(const size_t &_layer)
size_t sizeLayers() const
std::shared_ptr< const LayeredMaps > LayeredMapsCostPtr
virtual ~LayeredMaps()=default
double getVal(const size_t &_layer, const tuw::Point2D &_worldPos, Interpolation interpolationType=BILINEAR) const
std::shared_ptr< LayeredMaps > LayeredMapsPtr
LayeredMaps & operator=(const LayeredMaps &)=default