submap_geometry.hpp
Go to the documentation of this file.
1 
5 #pragma once
6 
7 #include "common.hpp"
8 
9 namespace cost_map {
10 
11 class CostMap;
12 
19 {
20  public:
21 
31  SubmapGeometry(const CostMap& gridMap, const Position& position, const Length& length,
32  bool& isSuccess);
33 
34  virtual ~SubmapGeometry();
35 
36  const CostMap& getGridMap() const;
37  const Length& getLength() const;
38  const Position& getPosition() const;
39  const Index& getRequestedIndexInSubmap() const;
40  const Size& getSize() const;
41  double getResolution() const;
42  const Index& getStartIndex() const;
43 
44  private:
45 
47  const CostMap& gridMap_;
48 
51 
54 
57 
60 
64 };
65 
66 } /* namespace cost_map */
Size size_
Size of the submap.
const Position & getPosition() const
double getResolution() const
const Index & getStartIndex() const
Index startIndex_
Start index (typically top left) index of the submap.
Length length_
Length of the submap.
grid_map::Size Size
Definition: common.hpp:46
const Length & getLength() const
grid_map::Index Index
Definition: common.hpp:45
SubmapGeometry(const CostMap &gridMap, const Position &position, const Length &length, bool &isSuccess)
grid_map::Position Position
Definition: common.hpp:41
const CostMap & gridMap_
Parent grid map of the submap.
Position position_
Position (center) of the submap.
const Size & getSize() const
const Index & getRequestedIndexInSubmap() const
const CostMap & getGridMap() const
grid_map::Length Length
Definition: common.hpp:47


cost_map_core
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:03:41