Content
This example shows how to modify options of ReMe objects using a type safe approach
Boost is only used to generate examples and is not necessary for working with this SDK.
#include <boost/test/unit_test.hpp>
#include <reconstructmesdk/private/surface_generation_options.h>
#include <iostream>
BOOST_AUTO_TEST_SUITE(example_reconstructmesdk)
BOOST_AUTO_TEST_CASE(options_type_safe)
{
poisson_options po;
po.set_depth(9);
std::string msg;
po.SerializeToString(&msg);
const void *m;
int length;
po.ParseFromArray(m, length);
std::cout << po.DebugString() << std::endl;
}
BOOST_AUTO_TEST_SUITE_END()