Class WorldScopedMaps

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class WorldScopedMaps : public tuw::MapHdl

class to visualize information using OpenCV matrices

Subclassed by tuw::Figure, tuw::GridMap< T >, tuw::LayeredMaps

Public Functions

WorldScopedMaps()
virtual ~WorldScopedMaps() = default
WorldScopedMaps(const WorldScopedMaps&) = default
WorldScopedMaps &operator=(const WorldScopedMaps&) = default
WorldScopedMaps(WorldScopedMaps&&) = default
WorldScopedMaps &operator=(WorldScopedMaps&&) = default
template<typename T>
inline void line(T &map, const Point2D &p0, const Point2D &p1, const cv::Scalar &color, int thickness = 1, int lineType = cv::LINE_AA) const

draws a line given in the visualization space (meter, ….) into a pixel map

See also

opencv

See also

opencv

See also

opencv

Parameters:
  • map – opencv matrix

  • p0 – start point

  • p1 – end point

  • color – color –>

  • thickness – line thickness –>

  • lineType – line type –>

template<typename T>
inline void circle(T &map, const Point2D &p, int radius, const cv::Scalar &color, int thickness = 1, int lineType = cv::LINE_AA) const

draws a circle given in the visualization space (meter, ….) into a pixel map

See also

opencv

See also

opencv

See also

opencv

Parameters:
  • map – opencv matrix

  • p – location

  • radius – radius

  • color – color –>

  • thickness – line thickness –>

  • lineType – line type –>

template<typename T>
inline cv::Scalar_<T> get(cv::Mat_<T> &map, const Point2D &p) const

return a copy of the value located at p in the visual space (meter, ….)

Parameters:
  • map – opencv matrix

  • p – location