Go to the documentation of this file.
54 std::cout <<
timestamp <<
"Warning: Octree reduction and random reduction requested." << std::endl;
55 std::cout <<
timestamp <<
"Please chose set either octree voxel size with -v or target " << std::endl;
56 std::cout <<
timestamp <<
"size with random reduction using --targetSize." << std::endl;
85 std::cout <<
timestamp <<
"Converting from SLAM6D to LVR coordinates" << std::endl;
89 string targetFileName;
92 targetFileName =
"result.ply";
99 std::cout <<
timestamp <<
"Saving '" << targetFileName <<
"'" << std::endl;
104 std::cout <<
timestamp <<
"Error: Could not load '"
double getVoxelSize() const
static void saveModel(ModelPtr m, std::string file)
void slamToLVRInPlace(PointBufferPtr src)
Transforms src, which is assumed to be in slam6Ds left-handed coordinate system into our right-handed...
std::string getPosePrefix() const
void setPosePrefix(const std::string &prefix)
size_t getMinPointsPerVoxel() const
string getInputDir() const
std::shared_ptr< PointBuffer > PointBufferPtr
bool convertToLVR() const
std::string getPoseExtension() const
void setPoseExtension(const std::string &extension)
string getInputFile() const
PointBufferPtr octreeSubSample(const double &voxelSize, const size_t &minPoints=5)
const kaboom::Options * options
string getOutputFile() const
void setPointCloudPrefix(const std::string &prefix)
int main(int argc, char **argv)
static Timestamp timestamp
A global time stamp object for program runtime measurement.
std::string getScanPrefix() const
std::string getScanExtension() const
int getTargetSize() const
std::shared_ptr< Model > ModelPtr
static ModelPtr readModel(std::string filename)
PointBufferPtr randomSubSample(const size_t &targetSize)
A class to parse the program options for the reconstruction executable.
void setPointCloudExtension(const std::string &extension)
PointBufferPtr subSamplePointBuffer(PointBufferPtr src, const size_t &n)
Computes a random sub-sampling of a point buffer by creating a uniform distribution over all point in...
PointBufferPtr getReducedPoints()
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:24