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 '" 113 parser.setEnd(options.
getEnd());
118 parser.parseDirectory();
std::string getPosePrefix() const
const kaboom::Options * options
static Timestamp timestamp
A global time stamp object for program runtime measurement.
static ModelPtr readModel(std::string filename)
PointBufferPtr getReducedPoints()
int getTargetSize() const
std::shared_ptr< PointBuffer > PointBufferPtr
std::string getScanPrefix() const
size_t getMinPointsPerVoxel() const
bool convertToLVR() const
string getInputFile() const
void slamToLVRInPlace(PointBufferPtr src)
Transforms src, which is assumed to be in slam6Ds left-handed coordinate system into our right-handed...
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...
std::shared_ptr< Model > ModelPtr
std::string getPoseExtension() const
int main(int argc, char **argv)
A class to parse the program options for the reconstruction executable.
string getOutputFile() const
std::string getScanExtension() const
double getVoxelSize() const
static void saveModel(ModelPtr m, std::string file)
string getInputDir() const