Class LayeredMaps
Defined in File layered_maps.hpp
Inheritance Relationships
Base Type
public tuw::WorldScopedMaps
(Class WorldScopedMaps)
Class Documentation
-
class LayeredMaps : public tuw::WorldScopedMaps
-
Public Functions
-
LayeredMaps()
-
virtual ~LayeredMaps() = default
-
LayeredMaps(const LayeredMaps&) = default
-
LayeredMaps &operator=(const LayeredMaps&) = default
-
LayeredMaps(LayeredMaps&&) = default
-
LayeredMaps &operator=(LayeredMaps&&) = default
-
void initLayers(int width_pixel, int height_pixel, double min_x, double max_x, double min_y, double max_y, double rotation = 0)
-
void clearLayers()
-
void clearLayer(const size_t &_layer)
-
void resizeLayers(const size_t &_n)
-
size_t sizeLayers() const
-
cv::Mat &mapLayer(const size_t &_layer)
-
const cv::Mat &mapLayer(const size_t &_layer) const
-
double getVal(const size_t &_layer, const tuw::Point2D &_worldPos, Interpolation interpolationType = BILINEAR) const
-
void computeDistanceField(cv::Mat &_mDst, std::vector<Point2D> &_pSrc, const double &_radius, bool _flipDistance = false, bool connectPoints = false) const
-
void computeDistanceField(cv::Mat &_mDst, cv::Mat &_mSrc, const double &_radius, bool _flipDistance = false) const
Protected Functions
-
virtual void initLayers()
-
LayeredMaps()