CTL
0.6.1
Computed Tomography Library
|
Struct that holds the dimensions, namely number of channels, rows and modules, of a SingleViewData object. More...
#include <singleviewdata.h>
Public Member Functions | |
bool | operator== (const Dimensions &other) const |
bool | operator!= (const Dimensions &other) const |
std::string | info () const |
size_t | totalNbElements () const |
Public Attributes | |
uint | nbChannels |
Number of channels in each module. | |
uint | nbRows |
Number of rows in each module. | |
uint | nbModules |
Number of modules. | |
Struct that holds the dimensions, namely number of channels, rows and modules, of a SingleViewData object.
std::string CTL::SingleViewData::Dimensions::info | ( | ) | const |
Returns a string containing the dimension values, joined by " x ".
bool CTL::SingleViewData::Dimensions::operator!= | ( | const Dimensions & | other | ) | const |
Returns true if at least one dimensions of other is different from the value in this instance.
bool CTL::SingleViewData::Dimensions::operator== | ( | const Dimensions & | other | ) | const |
Returns true if all three dimensions of other are equal to those of this instance.