#include <iostream>
#include <exception>
int main()
{
try
{
{
rdb.
create(
"pointcloud.rdbx", settings);
}
{
"Initialization",
"Example program v1.0"
);
{
attribute.
name =
"riegl.reflectance";
attribute.
title =
"Reflectance";
}
{
attribute.
name =
"riegl.rgba";
attribute.
title =
"True Color";
attribute.
description =
"Point color acquired by camera";
}
{
}
{
}
}
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;
}
}