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

Public Member Functions

bool operator== (const Chunk2DDimensions &other) const
 
bool operator!= (const Chunk2DDimensions &other) const
 
std::string info () const
 
size_t totalNbElements () const
 

Public Attributes

uint width
 The width of the chunk.
 
uint height
 The height of the chunk.
 

Member Function Documentation

◆ info()

std::string CTL::Chunk2DDimensions::info ( ) const
inline

Returns a string that contains the dimensions joined with " x ".

◆ operator!=()

bool CTL::Chunk2DDimensions::operator!= ( const Chunk2DDimensions other) const
inline

Returns true if at least one dimension (i.e. height or width) of other is different from the dimensions of this instance.

See also
operator==()

◆ operator==()

bool CTL::Chunk2DDimensions::operator== ( const Chunk2DDimensions other) const
inline

Returns true if both dimensions (i.e. height and width) of other are identical to this instance.

See also
operator!=()

◆ totalNbElements()

size_t CTL::Chunk2DDimensions::totalNbElements ( ) const
inline

Returns the total number of pixels in the chunk.


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