Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
GridMapPatcher Class Reference

#include <grid_map_patcher.h>

Classes

struct  GridMapPatch
 

Public Member Functions

template<typename MapType >
void apply_text_raster (MapType &dst_map, std::istream &src_raster, const DiscretePoint2D &dst_offset, int w_zoom=1, int h_zoom=1)
 
template<typename MapType >
void apply_text_raster (MapType &dst_map, std::istream &src_raster, int w_zoom=1, int h_zoom=1)
 

Private Types

using GMPatches = std::vector< GridMapPatch >
 

Private Member Functions

template<typename MapType >
void apply_patches (MapType &dst_map, const DiscretePoint2D &offset, const GMPatches &patches)
 
template<typename MapType >
void apply_text_raster (MapType &dst_map, std::istream &src_raster, bool autoalign, const DiscretePoint2D &dst_offset, int w_zoom, int h_zoom)
 
Occupancy char_to_occupancy (char ch)
 
GMPatches patches_by_text_raster (std::istream &raster, int w_scale, int h_scale)
 

Private Attributes

int _curr_raster_h
 
int _curr_raster_w
 

Detailed Description

Definition at line 12 of file grid_map_patcher.h.

Member Typedef Documentation

using GridMapPatcher::GMPatches = std::vector<GridMapPatch>
private

Definition at line 22 of file grid_map_patcher.h.

Member Function Documentation

template<typename MapType >
void GridMapPatcher::apply_patches ( MapType &  dst_map,
const DiscretePoint2D offset,
const GMPatches patches 
)
inlineprivate

Definition at line 89 of file grid_map_patcher.h.

template<typename MapType >
void GridMapPatcher::apply_text_raster ( MapType &  dst_map,
std::istream &  src_raster,
const DiscretePoint2D dst_offset,
int  w_zoom = 1,
int  h_zoom = 1 
)
inline

Definition at line 27 of file grid_map_patcher.h.

template<typename MapType >
void GridMapPatcher::apply_text_raster ( MapType &  dst_map,
std::istream &  src_raster,
int  w_zoom = 1,
int  h_zoom = 1 
)
inline

Definition at line 34 of file grid_map_patcher.h.

template<typename MapType >
void GridMapPatcher::apply_text_raster ( MapType &  dst_map,
std::istream &  src_raster,
bool  autoalign,
const DiscretePoint2D dst_offset,
int  w_zoom,
int  h_zoom 
)
inlineprivate

Definition at line 46 of file grid_map_patcher.h.

Occupancy GridMapPatcher::char_to_occupancy ( char  ch)
inlineprivate

Definition at line 41 of file grid_map_patcher.h.

GMPatches GridMapPatcher::patches_by_text_raster ( std::istream &  raster,
int  w_scale,
int  h_scale 
)
inlineprivate

Definition at line 57 of file grid_map_patcher.h.

Member Data Documentation

int GridMapPatcher::_curr_raster_h
private

Definition at line 101 of file grid_map_patcher.h.

int GridMapPatcher::_curr_raster_w
private

Definition at line 101 of file grid_map_patcher.h.


The documentation for this class was generated from the following file:


slam_constructor
Author(s): JetBrains Research, OSLL team
autogenerated on Mon Jun 10 2019 15:08:26