Namespaces | Functions
GridMapMath.hpp File Reference
#include "grid_map_core/TypeDefs.hpp"
#include "grid_map_core/BufferRegion.hpp"
#include <Eigen/Core>
#include <vector>
#include <map>
Include dependency graph for GridMapMath.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  grid_map

Functions

void grid_map::boundIndexToRange (Index &index, const Size &bufferSize)
void grid_map::boundIndexToRange (int &index, const int &bufferSize)
void grid_map::boundPositionToRange (Position &position, const Length &mapLength, const Position &mapPosition)
bool grid_map::checkIfIndexInRange (const Index &index, const Size &bufferSize)
bool grid_map::checkIfPositionWithinMap (const Position &position, const Length &mapLength, const Position &mapPosition)
bool grid_map::colorValueToVector (const unsigned long &colorValue, Eigen::Vector3i &colorVector)
bool grid_map::colorValueToVector (const unsigned long &colorValue, Eigen::Vector3f &colorVector)
bool grid_map::colorValueToVector (const float &colorValue, Eigen::Vector3f &colorVector)
bool grid_map::colorVectorToValue (const Eigen::Vector3i &colorVector, unsigned long &colorValue)
void grid_map::colorVectorToValue (const Eigen::Vector3i &colorVector, float &colorValue)
void grid_map::colorVectorToValue (const Eigen::Vector3f &colorVector, float &colorValue)
Index grid_map::getBufferIndexFromIndex (const Index &index, const Size &bufferSize, const Index &bufferStartIndex)
const Eigen::Matrix2i grid_map::getBufferOrderToMapFrameAlignment ()
bool grid_map::getBufferRegionsForSubmap (std::vector< BufferRegion > &submapBufferRegions, const Index &submapIndex, const Size &submapBufferSize, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
Index grid_map::getIndexFromBufferIndex (const Index &bufferIndex, const Size &bufferSize, const Index &bufferStartIndex)
Index grid_map::getIndexFromLinearIndex (const size_t linearIndex, const Size &bufferSize, const bool rowMajor=false)
bool grid_map::getIndexFromPosition (Index &index, const Position &position, const Length &mapLength, const Position &mapPosition, const double &resolution, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
bool grid_map::getIndexShiftFromPositionShift (Index &indexShift, const Vector &positionShift, const double &resolution)
void grid_map::getIndicesForRegion (const Index &regionIndex, const Size &regionSize, std::vector< Index > indices)
void grid_map::getIndicesForRegions (const std::vector< Index > &regionIndeces, const Size &regionSizes, std::vector< Index > indices)
size_t grid_map::getLinearIndexFromIndex (const Index &index, const Size &bufferSize, const bool rowMajor=false)
bool grid_map::getPositionFromIndex (Position &position, const Index &index, const Length &mapLength, const Position &mapPosition, const double &resolution, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
void grid_map::getPositionOfDataStructureOrigin (const Position &position, const Length &mapLength, Position &positionOfOrigin)
bool grid_map::getPositionShiftFromIndexShift (Vector &positionShift, const Index &indexShift, const double &resolution)
bool grid_map::getSubmapInformation (Index &submapTopLeftIndex, Size &submapBufferSize, Position &submapPosition, Length &submapLength, Index &requestedIndexInSubmap, const Position &requestedSubmapPosition, const Length &requestedSubmapLength, const Length &mapLength, const Position &mapPosition, const double &resolution, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
Size grid_map::getSubmapSizeFromCornerIndeces (const Index &topLeftIndex, const Index &bottomRightIndex, const Size &bufferSize, const Index &bufferStartIndex)
bool grid_map::incrementIndex (Index &index, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
bool grid_map::incrementIndexForSubmap (Index &submapIndex, Index &index, const Index &submapTopLeftIndex, const Size &submapBufferSize, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
void grid_map::wrapIndexToRange (Index &index, const Size &bufferSize)
void grid_map::wrapIndexToRange (int &index, const int &bufferSize)


grid_map_core
Author(s): Péter Fankhauser
autogenerated on Tue Jul 9 2019 05:06:13