Image Utilities (IU)
|
Main class for N-dimensional unsigned int vectors (size vectors). More...
#include <vector.h>
Public Member Functions | |
Size () | |
Size (unsigned int value) | |
Size (std::initializer_list< unsigned int > list) | |
~Size () | |
Size (const Size &from) | |
Size (const SizeBase< Ndim > &from) | |
Size & | operator= (const Size &from) |
Size & | operator= (const SizeBase< Ndim > &from) |
Public Member Functions inherited from iu::SizeBase< Ndim > | |
SizeBase (unsigned int value) | |
SizeBase (std::initializer_list< unsigned int > list) | |
virtual | ~SizeBase () |
unsigned int | numel () const |
template<typename ScalarType > | |
SizeBase | operator* (const ScalarType &scalar) const |
template<typename ScalarType > | |
void | operator*= (const ScalarType &scalar) |
template<typename ScalarType > | |
SizeBase | operator/ (const ScalarType &scalar) const |
template<typename ScalarType > | |
void | operator/= (const ScalarType &scalar) |
SizeBase (const SizeBase &from) | |
SizeBase & | operator= (const SizeBase &from) |
unsigned int * | ptr () |
const unsigned int * | ptr () const |
Public Member Functions inherited from iu::VectorBase< unsigned int, Ndim > | |
VectorBase () | |
VectorBase (const unsigned int &value) | |
VectorBase (std::initializer_list< unsigned int > list) | |
virtual | ~VectorBase () |
unsigned int | operator[] (unsigned int i) const |
unsigned int & | operator[] (unsigned int i) |
void | fill (const unsigned int &value) |
Additional Inherited Members | |
Static Public Member Functions inherited from iu::VectorBase< unsigned int, Ndim > | |
static unsigned int | ndim () |
Protected Attributes inherited from iu::VectorBase< unsigned int, Ndim > | |
unsigned int | data_ [Ndim] |
Main class for N-dimensional unsigned int vectors (size vectors).
Special Constructor. Init all elements of the size vector with a special value.
value | value to initialize size vector elements. |
|
inline |
Special Constructor. Init all elements of the vector with a initializer list.
list | Initializer list, e.g. {1,2,3}. |
Public copy constructor.
Public copy constructor.
Public copy assignment operator.
|
inline |
Public copy assignment operator.