Go to the documentation of this file.
35 #ifndef LAS_VEGAS_BIGGRID_HPP
36 #define LAS_VEGAS_BIGGRID_HPP
41 #include <boost/archive/binary_iarchive.hpp>
42 #include <boost/archive/binary_oarchive.hpp>
43 #include <boost/iostreams/device/mapped_file.hpp>
45 #include <unordered_map>
56 using Vec = BaseVector<float>;
70 template <
typename BaseVecT>
79 BigGrid(std::vector<std::string> cloudPath,
float voxelsize,
float scale = 0,
size_t bufferSize = 1024);
132 float minx,
float miny,
float minz,
float maxx,
float maxy,
float maxz,
size_t& numPoints);
135 float minx,
float miny,
float minz,
float maxx,
float maxy,
float maxz,
size_t& numPoints);
138 float minx,
float miny,
float minz,
float maxx,
float maxy,
float maxz,
size_t& numPoints);
149 size_t getSizeofBox(
float minx,
float miny,
float minz,
float maxx,
float maxy,
float maxz);
151 void serialize(std::string path =
"serinfo.ls");
192 inline int calcIndex(
float f) {
return f < 0 ? f - .5 : f + .5; }
194 bool exists(
int i,
int j,
int k);
195 void insert(
float x,
float y,
float z);
208 #ifdef LVR2_USE_OPEN_MP
230 #include "lvr2/reconstruction/BigGrid.tcc"
232 #endif // LAS_VEGAS_BIGGRID_HPP
boost::shared_array< float > floatArr
std::shared_ptr< ScanProjectEditMark > ScanProjectEditMarkPtr
lvr2::floatArr normals(float minx, float miny, float minz, float maxx, float maxy, float maxz, size_t &numPoints)
boost::iostreams::mapped_file m_ColorFile
size_t getDistanceFileOffset(size_t hash)
void serialize(std::string path="serinfo.ls")
void insert(float x, float y, float z)
BoundingBox< BaseVecT > & getpartialBB()
std::vector< shared_ptr< Scan > > m_scans
BoundingBox< BaseVecT > m_bb
size_t getSizeofBox(float minx, float miny, float minz, float maxx, float maxy, float maxz)
lvr2::ucharArr colors(float minx, float miny, float minz, float maxx, float maxy, float maxz, size_t &numPoints)
boost::iostreams::mapped_file m_PointFile
boost::iostreams::mapped_file m_NomralFile
Datastructures for holding loaded data.
BoundingBox< BaseVecT > m_partialbb
lvr2::floatArr points(int i, int j, int k, size_t &numPoints)
std::unordered_map< size_t, CellInfo > m_gridNumPoints
A dynamic bounding box class.
lvr2::floatArr getPointCloud(size_t &numPoints)
boost::shared_array< unsigned char > ucharArr
size_t hashValue(size_t i, size_t j, size_t k)
BigGrid(std::vector< std::string > cloudPath, float voxelsize, float scale=0, size_t bufferSize=1024)
BoundingBox< BaseVecT > & getBB()
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:22