An example how to use the TwoDRegisterAccessor
#include <ChimeraTK/Device.h>
#include <ChimeraTK/Utilities.h>
#include <iostream>
twoDAccessor.read();
std::cout << "Channel " << i << ":";
std::vector<double>& channel = twoDAccessor[i];
for(double sample : channel) {
std::cout << " " << sample;
}
std::cout << std::endl;
}
twoDAccessor[i][j] = i * 100 + j;
}
}
twoDAccessor.write();
return 0;
}