41 const double& resolution,
42 const Size& bufferSize,
43 const Index& bufferStartIndex = Index::Zero());
60 const double& resolution,
61 const Size& bufferSize,
62 const Index& bufferStartIndex = Index::Zero());
95 const Vector& positionShift,
96 const double& resolution);
108 const Index& indexShift,
109 const double& resolution);
189 Size& submapBufferSize,
192 Index& requestedIndexInSubmap,
193 const Position& requestedSubmapPosition,
194 const Length& requestedSubmapLength,
197 const double& resolution,
198 const Size& bufferSize,
199 const Index& bufferStartIndex = Index::Zero());
208 const Size& bufferSize,
const Index& bufferStartIndex);
221 const Index& submapIndex,
222 const Size& submapBufferSize,
223 const Size& bufferSize,
224 const Index& bufferStartIndex = Index::Zero());
236 const Index& bufferStartIndex = Index::Zero());
255 const Size& submapBufferSize,
const Size& bufferSize,
256 const Index& bufferStartIndex = Index::Zero());
267 const Index& bufferStartIndex);
304 bool colorValueToVector(
const unsigned long& colorValue, Eigen::Vector3i& colorVector);
312 bool colorValueToVector(
const unsigned long& colorValue, Eigen::Vector3f& colorVector);
328 bool colorVectorToValue(
const Eigen::Vector3i& colorVector,
unsigned long& colorValue);
bool incrementIndexForSubmap(Index &submapIndex, Index &index, const Index &submapTopLeftIndex, const Size &submapBufferSize, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
void wrapIndexToRange(Index &index, const Size &bufferSize)
bool getBufferRegionsForSubmap(std::vector< BufferRegion > &submapBufferRegions, const Index &submapIndex, const Size &submapBufferSize, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
Index getIndexFromBufferIndex(const Index &bufferIndex, const Size &bufferSize, const Index &bufferStartIndex)
bool 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())
bool getIndexFromPosition(Index &index, const Position &position, const Length &mapLength, const Position &mapPosition, const double &resolution, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
bool checkIfPositionWithinMap(const Position &position, const Length &mapLength, const Position &mapPosition)
bool getPositionShiftFromIndexShift(Vector &positionShift, const Index &indexShift, const double &resolution)
bool colorVectorToValue(const Eigen::Vector3i &colorVector, unsigned long &colorValue)
bool incrementIndex(Index &index, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
Size getSubmapSizeFromCornerIndeces(const Index &topLeftIndex, const Index &bottomRightIndex, const Size &bufferSize, const Index &bufferStartIndex)
const Eigen::Matrix2i getBufferOrderToMapFrameAlignment()
void getPositionOfDataStructureOrigin(const Position &position, const Length &mapLength, Position &positionOfOrigin)
Index getIndexFromLinearIndex(const size_t linearIndex, const Size &bufferSize, const bool rowMajor=false)
void boundIndexToRange(Index &index, const Size &bufferSize)
bool checkIfIndexInRange(const Index &index, const Size &bufferSize)
size_t getLinearIndexFromIndex(const Index &index, const Size &bufferSize, const bool rowMajor=false)
bool getPositionFromIndex(Position &position, const Index &index, const Length &mapLength, const Position &mapPosition, const double &resolution, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
Index getBufferIndexFromIndex(const Index &index, const Size &bufferSize, const Index &bufferStartIndex)
void boundPositionToRange(Position &position, const Length &mapLength, const Position &mapPosition)
bool colorValueToVector(const unsigned long &colorValue, Eigen::Vector3i &colorVector)
bool getIndexShiftFromPositionShift(Index &indexShift, const Vector &positionShift, const double &resolution)