CTL  0.6.1
Computed Tomography Library
Public Member Functions | Public Attributes | List of all members
CTL::SingleViewData::Dimensions Struct Reference

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.
 

Detailed Description

Struct that holds the dimensions, namely number of channels, rows and modules, of a SingleViewData object.

Member Function Documentation

◆ info()

std::string CTL::SingleViewData::Dimensions::info ( ) const

Returns a string containing the dimension values, joined by " x ".

◆ operator!=()

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.

◆ operator==()

bool CTL::SingleViewData::Dimensions::operator== ( const Dimensions other) const

Returns true if all three dimensions of other are equal to those of this instance.


The documentation for this struct was generated from the following files: