1.5.0
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 &r)
 
AArrayoperator= (const AArray &r)
 
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() [1/2]

BImage::BImage ( const VectorInt ndims = VectorInt())

◆ BImage() [2/2]

BImage::BImage ( const BImage m)

◆ ~BImage()

BImage::~BImage ( )
virtual

Member Function Documentation

◆ getAddress()

int BImage::getAddress ( int  i,
int  j,
int  k 
) const

◆ getAllocSize()

int BImage::getAllocSize ( ) const

◆ getBImage()

unsigned char BImage::getBImage ( int  i,
int  j,
int  k 
) const
inline

◆ getMaskoff()

unsigned char BImage::getMaskoff ( int  i,
int  j,
int  k 
) const

◆ getOffset()

unsigned char BImage::getOffset ( int  i,
int  j,
int  k 
) const

◆ getValue() [1/2]

unsigned char BImage::getValue ( int  i) const
inline

◆ getValue() [2/2]

bool BImage::getValue ( int  i,
int  j,
int  k 
) const

◆ getValues()

const VectorUChar& BImage::getValues ( ) const
inline

◆ init()

void BImage::init ( const VectorInt ndims)

◆ isInside()

bool BImage::isInside ( int  i,
int  j,
int  k 
) const

◆ operator=()

BImage & BImage::operator= ( const BImage m)

◆ setMaskoff()

void BImage::setMaskoff ( int  i,
int  j,
int  k 
)

◆ setOffset()

void BImage::setOffset ( int  i,
int  j,
int  k 
)

◆ setValue()

void BImage::setValue ( int  i,
unsigned char  c 
)
inline

◆ setValues()

void BImage::setValues ( const VectorUChar values)
inline

◆ toString()

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: