Content
Shows how to place the volume centered around the world coordinate origin and how to replace the initial sensor position using some extrinsic knowledge.
Boost is only used to generate examples and is not necessary for working with this SDK.
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_SUITE(example_reconstructmesdk)
BOOST_AUTO_TEST_CASE(sensor_printing) {
const float eye[3] = {0.f, -1000.f, 500.f};
const float ref[3] = {0.f, 0.f, 500.f};
const float up[3] = {0.f, 0.f, 1.f};
float mat[16];
float mat2[4][4] = {{1.f, 0.f, 0.f, 0.f},
{0.f, 0.f, 1.f, -1000.f},
{0.f, -1.f, 0.f, 500.f},
{0.f, 0.f, 0.f, 1.f}
};
int time = 0;
}
time += 1;
}
}
BOOST_AUTO_TEST_SUITE_END()