#include <iostream>
#include "DM/Datamanager.hpp"
using namespace std;
void DM_iterate_simple(const char *filename)
{
if (!dm)
{
cout << "Unable to open ODM '" << filename << "'" << endl;
return;
}
int idx = 0;
cout << "Output " << dm->sizePoint() << " points from the ODM" << endl;
for(auto it = dm->beginPoint(); it != dm->endPoint(); ++it)
{
idx += 1;
cout << idx << ".point " << pt.x() << ", " << pt.y() << ", " << pt.z() << endl;
}
cout << "done" << endl;
}