|
CTL
0.6.1
Computed Tomography Library
|
Struct that holds the dimensions of a ProjectionData object. More...
#include <projectiondata.h>
Public Member Functions | |
| Dimensions (uint nbChannels, uint nbRows, uint nbModules, uint nbViews) | |
| Dimensions (const SingleViewData::Dimensions &viewDim, uint nbViews) | |
| 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. | |
| uint | nbViews |
| Number of views. | |
Struct that holds the dimensions of a ProjectionData object.
This contains the number of views (nbViews), the number of modules in each view (nbModules) and the dimensions of individual modules, namely module width (nbChannels) and module height.
| std::string CTL::ProjectionData::Dimensions::info | ( | ) | const |
Returns a string containing the dimension values, joined by " x ".
| bool CTL::ProjectionData::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::ProjectionData::Dimensions::operator== | ( | const Dimensions & | other | ) | const |
Returns true if all three dimensions of other are equal to those of this instance.
| size_t CTL::ProjectionData::Dimensions::totalNbElements | ( | ) | const |
Returns the total number of elements for data with this dimensions.
1.8.16