1.2.2
CCC
 
BImage Class Reference

#include <BImage.hpp>

Inheritance diagram for BImage:
AArray AStringable

Public Member Functions

 BImage (const VectorInt &ndims=VectorInt())
 
 BImage (const BImage &m)
 
BImageoperator= (const BImage &m)
 
virtual ~BImage ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 Interface for AStringable. More...
 
void init (const VectorInt &ndims)
 
const VectorUChargetValues () const
 
void setValues (const VectorUChar &values)
 
unsigned char getBImage (int i, int j, int k) const
 
unsigned char getOffset (int i, int j, int k) const
 
unsigned char getMaskoff (int i, int j, int k) const
 
unsigned char getValue (int i) const
 
void setValue (int i, unsigned char c)
 
bool getValue (int i, int j, int k) const
 
void setMaskoff (int i, int j, int k)
 
void setOffset (int i, int j, int k)
 
int getAllocSize () const
 
bool isInside (int i, int j, int k) const
 
int getAddress (int i, int j, int k) const
 
- Public Member Functions inherited from AArray
 AArray (const VectorInt &ndims=VectorInt())
 
 AArray (const AArray &m)
 
AArrayoperator= (const AArray &m)
 
virtual ~AArray ()
 
void init (const VectorInt &ndims)
 
int indiceToRank (const VectorInt &indice) const
 
VectorInt rankToIndice (int rank) const
 
void rankToIndice (int rank, VectorInt &indices) const
 
int getNDim () const
 
int getNPixels () const
 
const VectorIntgetNDims () const
 
VectorInt getNDimsExt (int ndimMax) const
 
int getNDims (int idim) const
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 

Constructor & Destructor Documentation

BImage::BImage ( const VectorInt ndims = VectorInt())
BImage::BImage ( const BImage m)
BImage::~BImage ( )
virtual

Member Function Documentation

int BImage::getAddress ( int  i,
int  j,
int  k 
) const
int BImage::getAllocSize ( ) const
unsigned char BImage::getBImage ( int  i,
int  j,
int  k 
) const
inline
unsigned char BImage::getMaskoff ( int  i,
int  j,
int  k 
) const
unsigned char BImage::getOffset ( int  i,
int  j,
int  k 
) const
unsigned char BImage::getValue ( int  i) const
inline
bool BImage::getValue ( int  i,
int  j,
int  k 
) const
const VectorUChar& BImage::getValues ( ) const
inline
void BImage::init ( const VectorInt ndims)
bool BImage::isInside ( int  i,
int  j,
int  k 
) const
BImage & BImage::operator= ( const BImage m)
void BImage::setMaskoff ( int  i,
int  j,
int  k 
)
void BImage::setOffset ( int  i,
int  j,
int  k 
)
void BImage::setValue ( int  i,
unsigned char  c 
)
inline
void BImage::setValues ( const VectorUChar values)
inline
String BImage::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Interface for AStringable.

Reimplemented from AArray.


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