#include <ary.h>
Public Types | |
typedef PixelType | value |
typedef PixelType * | pointer |
typedef PixelType ** | row_pointer |
typedef int | size_type |
typedef int | coord_type |
Public Member Functions | |
Ary () | |
Ary (coord_type fr, coord_type lr, coord_type fc, coord_type lc, pointer attach_to=0) | |
Ary (coord_type nrows, coord_type ncols, pointer attach_to=0) | |
Ary (const Ary &other, bool do_copy=true, bool do_attach=false) | |
~Ary () | |
pointer | ptr () const |
size_type | rows () const |
size_type | cols () const |
size_type | size () const |
bool | isin (coord_type row, coord_type col) const |
void | cons (coord_type firstrow, coord_type lastrow, coord_type firstcol, coord_type lastcol, pointer attach_to) |
void | clear () |
void | set (const PixelType &value) |
void | detach () |
Ary * | copy () const |
void | copy (const Ary &from) |
void | copy (const Ary *from) |
void | deallocate () |
Public Attributes | |
coord_type | lb1 |
coord_type | lb2 |
coord_type | ub1 |
coord_type | ub2 |
size_type | num_rows |
size_type | num_cols |
pointer | data |
row_pointer | el |
int | tag |
void * | user_data |
typedef int utls::Ary< PixelType >::coord_type |
typedef PixelType** utls::Ary< PixelType >::row_pointer |
utls::Ary< PixelType >::Ary | ( | coord_type | fr, | |
coord_type | lr, | |||
coord_type | fc, | |||
coord_type | lc, | |||
pointer | attach_to = 0 | |||
) | [inline] |
utls::Ary< PixelType >::Ary | ( | coord_type | nrows, | |
coord_type | ncols, | |||
pointer | attach_to = 0 | |||
) | [inline] |
utls::Ary< PixelType >::Ary | ( | const Ary< PixelType > & | other, | |
bool | do_copy = true , |
|||
bool | do_attach = false | |||
) | [inline] |
void utls::Ary< PixelType >::clear | ( | ) | [inline] |
void utls::Ary< PixelType >::cons | ( | coord_type | firstrow, | |
coord_type | lastrow, | |||
coord_type | firstcol, | |||
coord_type | lastcol, | |||
pointer | attach_to | |||
) | [inline] |
void utls::Ary< PixelType >::copy | ( | const Ary< PixelType > * | from | ) | [inline] |
void utls::Ary< PixelType >::copy | ( | const Ary< PixelType > & | from | ) | [inline] |
void utls::Ary< PixelType >::deallocate | ( | ) | [inline] |
void utls::Ary< PixelType >::detach | ( | ) | [inline] |
bool utls::Ary< PixelType >::isin | ( | coord_type | row, | |
coord_type | col | |||
) | const [inline] |
void utls::Ary< PixelType >::set | ( | const PixelType & | value | ) | [inline] |
row_pointer utls::Ary< PixelType >::el |
coord_type utls::Ary< PixelType >::lb1 |
coord_type utls::Ary< PixelType >::lb2 |
coord_type utls::Ary< PixelType >::ub1 |
coord_type utls::Ary< PixelType >::ub2 |