#include <chrono>
#include <iostream>
#include <math.h>
#include <mutex>
#include <regex>
#include <string>
#include <thread>
#include <vector>
#include <boost/filesystem/fstream.hpp>
#include "lvr2/geometry/BaseVector.hpp"
#include "lvr2/io/ModelFactory.hpp"
#include "lvr2/io/RxpIO.hpp"
#include "lvr2/util/Util.hpp"
#include "lvr2/types/MatrixTypes.hpp"
#include "lvr2/registration/TransformUtils.hpp"
#include "Options.hpp"
#include "RieglProject.hpp"
Go to the source code of this file.
Typedefs | |
using | Vec = lvr2::BaseVector< float > |
Functions | |
int | char_to_int (char in) |
bool | convert_riegl_project (lvr2::RieglProject &ri_proj, const fs::path &out_scan_dir, bool force_overwrite, unsigned int reduction, std::string output_coords="slam6d") |
void | convert_rxp_to_3d_per_thread (std::vector< lvr2::ScanPosition > *work, int *read_file_count, int *current_file_idx, const fs::path *scans_dir, std::mutex *mtx, int id, bool force_overwrite, unsigned int reduction, std::string inputformat="rxp", std::string outputcoords="slam6d") |
bool | copy_file (const fs::path from, const fs::path to, bool force_overwrite) |
int | main (int argc, char **argv) |
void | transformModel (lvr2::ModelPtr model, const lvr2::Transformd &transform) |
template<typename T > | |
bool | write_mat4_to_file (lvr2::Transformd mat, fs::path dest, bool force_overwrite) |
bool | write_mat4_to_pose_file (const fs::path file, const lvr2::Transformd &transform, bool force_overwrite) |
template<typename ValueType > | |
bool | write_params_to_file (fs::path dest, bool force_overwrite, ValueType *values, int count) |
using Vec = lvr2::BaseVector<float> |
Copyright (c) 2018, University Osnabrück All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL University Osnabrück BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
bool convert_riegl_project | ( | lvr2::RieglProject & | ri_proj, |
const fs::path & | out_scan_dir, | ||
bool | force_overwrite, | ||
unsigned int | reduction, | ||
std::string | output_coords = "slam6d" |
||
) |
void convert_rxp_to_3d_per_thread | ( | std::vector< lvr2::ScanPosition > * | work, |
int * | read_file_count, | ||
int * | current_file_idx, | ||
const fs::path * | scans_dir, | ||
std::mutex * | mtx, | ||
int | id, | ||
bool | force_overwrite, | ||
unsigned int | reduction, | ||
std::string | inputformat = "rxp" , |
||
std::string | outputcoords = "slam6d" |
||
) |
bool copy_file | ( | const fs::path | from, |
const fs::path | to, | ||
bool | force_overwrite | ||
) |
void transformModel | ( | lvr2::ModelPtr | model, |
const lvr2::Transformd & | transform | ||
) |
bool write_mat4_to_file | ( | lvr2::Transformd | mat, |
fs::path | dest, | ||
bool | force_overwrite | ||
) |
bool write_mat4_to_pose_file | ( | const fs::path | file, |
const lvr2::Transformd & | transform, | ||
bool | force_overwrite | ||
) |