25namespace localization {
30std::ostream&
operator<<(std::ostream& cout,
const MapNodeIndex& index);
59 const Eigen::Vector3d& coordinate,
60 unsigned int resolution_id,
int zone_id);
62 const Eigen::Vector2d& coordinate,
63 unsigned int resolution_id,
int zone_id);
68 unsigned int resolution_id);
72 unsigned int resolution_id);
74 friend std::ostream&
operator<<(std::ostream& cout,
The options of the reflectance map.
bool operator!=(const MapNodeIndex &index) const
Overload the unequal operator.
unsigned int m_
The map node ID at the northing direction.
unsigned int n_
The map node ID at the easting direction.
bool operator<(const MapNodeIndex &index) const
Overload the less than operator.
static unsigned int GetMapIndexRangeNorth(const BaseMapConfig &option, unsigned int resolution_id)
Get the index range (maximum possible index + 1) in the north direction.
bool operator==(const MapNodeIndex &index) const
Overload the equal operator.
friend std::ostream & operator<<(std::ostream &cout, const MapNodeIndex &index)
static unsigned int GetMapIndexRangeEast(const BaseMapConfig &option, unsigned int resolution_id)
Get the index range (maximum possible index + 1) in the east direction.
MapNodeIndex()
The constructor.
static MapNodeIndex GetMapNodeIndex(const BaseMapConfig &option, const Eigen::Vector3d &coordinate, unsigned int resolution_id, int zone_id)
Construct a map node index, given a global coordinate, eigen version.
unsigned int resolution_id_
The ID of the resolution.
std::string ToString() const
std::ostream & operator<<(std::ostream &cerr, const MapNodeIndex &index)
apollo::localization::msf::pyramid_map::MapNodeIndex MapNodeIndex