#include <cstdint>
#include <iostream>
#include <exception>
int main()
{
try
{
rdb.
open(
"pointcloud.rdbx", settings);
rdb,
"Invert",
"Point Switcher v1.0"
);
{
using namespace riegl::rdb::pointcloud;
{
}
{
}
}
{
using namespace riegl::rdb::pointcloud;
while (const uint32_t count = invert.next(10000))
{
std::cout << invert.progress() << "% done" << std::endl;
}
}
{
using namespace riegl::rdb::pointcloud;
while (const uint32_t count = invert.next(10000))
{
std::cout << invert.progress() << "% done" << std::endl;
}
}
return 0;
}
{
std::cerr << error.
what() <<
" (" << error.
details() <<
")" << std::endl;
return 1;
}
catch(const std::exception &error)
{
std::cerr << error.what() << std::endl;
return 1;
}
}