#include <Ricom.h>
Definition at line 127 of file Ricom.h.
◆ Ricom_detector()
Ricom_detector::Ricom_detector |
( |
| ) |
|
|
inline |
Definition at line 138 of file Ricom.h.
std::array< float, 2 > radius2
std::array< float, 2 > radius
std::vector< int > id_list
◆ ~Ricom_detector()
Ricom_detector::~Ricom_detector |
( |
| ) |
|
|
inline |
◆ compute_detector()
void Ricom_detector::compute_detector |
( |
int |
nx_cam, |
|
|
int |
ny_cam, |
|
|
std::array< float, 2 > & |
offset |
|
) |
| |
Definition at line 160 of file Ricom.cpp.
167 id_list.reserve(nx_cam * ny_cam);
169 for (
int iy = 0; iy < ny_cam; iy++)
171 for (
int ix = 0; ix < nx_cam; ix++)
173 d2 = pow((
float)ix - offset[0], 2) + pow((
float)iy - offset[1], 2);
176 id_list.push_back(iy * nx_cam + ix);
◆ id_list
std::vector<int> Ricom_detector::id_list |
◆ radius
std::array<float, 2> Ricom_detector::radius |
◆ radius2
std::array<float, 2> Ricom_detector::radius2 |
The documentation for this class was generated from the following files: