|
| Data (tof_data_t ptr=nullptr) |
| Construct from pointer.
|
|
void * | data () |
| Get pointer to data.
|
|
size_t | size () const |
| Get size of the data.
|
|
uint64_t | get_user_data () const |
| Get user data that will get saved to csf file.
|
|
void | set_user_data (uint64_t user_data) |
| Set user data that will get saved to csf file.
|
|
MatType | mat_type () const |
| Get the matrix type.
|
|
int32_t | rows () const |
| Get the number of rows.
|
|
int32_t | cols () const |
| Get the number of columns.
|
|
uint16_t | frame_count () const |
| The frame counter.
|
|
FrameType | frame_type () const |
| Get the frame type.
|
|
uint32_t | frame_id () const |
| Get the frame id.
|
|
float | modulation_frequency () const |
| Get the modulation frequency of the frame.
|
|
uint32_t | integration_time () const |
| Get the integration time of the frame.
|
|
uint32_t | process () const |
| Get a bit array of the processing performed on the frame.
|
|
float | scale () const |
| Get the scale used for integer frames, to get the original value divide by scale.
|
|
float | addition () const |
| Get the addition used for integer frames, to get the original value substract the addition.
|
|
std::vector< float > | temperatures () const |
| Get the temperature of various parts of the camera.
|
|
uint8_t | sync_count () const |
| Get the synchronization count.
|
|
bool | user_allocated () const |
| Check whether the data uses a pointer supplied by the user.
|
|
void * | user_pointer () const |
| The user data that was given in the add_user_pointer function.
|
|
std::array< int16_t, 3 > | acceleration () const |
| The acceleration measured by the imu.
|
|
std::array< int16_t, 3 > | angular_velocity () const |
| The angular velocity measured by the imu.
|
|
uint64_t | time_stamp () |
| Unix time stamp since epoch.
|
|
template<typename T > |
const T & | at (size_t pos) const |
| Get the data at location p, templated because the data type can differ.
|
|
template<typename T > |
T & | at (size_t pos) |
| Get the data at location p, templated because the data type can differ.
|
|
template<typename T > |
const T * | begin () const |
| Return iterator to beginning, templated because the data type can differ.
|
|
template<typename T > |
T * | begin () |
| Return iterator to beginning, templated because the data type can differ.
|
|
template<typename T > |
const T * | end () const |
| Return iterator to end, templated because the data type can differ.
|
|
template<typename T > |
T * | end () |
| Return iterator to end, templated because the data type can differ.
|
|
This is the class that contains depth or image data.
Definition at line 31 of file data.hpp.