|
| PicArray () |
| Default constructor.
|
|
| PicArray (int height, int width, CompSort cs=Y_COMP) |
| Constructor.
|
|
| ~PicArray () |
| Destructor.
|
|
const CompSort & | CSort () const |
| Return which component is stored.
|
|
void | SetCSort (const CompSort cs) |
| Set the type of component being stored.
|
|
| TwoDArray () |
| Default constructor.
|
|
| TwoDArray (const int height, const int width) |
| Constructor.
|
|
| TwoDArray (const int height, const int width, ValueType val) |
| Constructor.
|
|
| TwoDArray (const TwoDArray< ValueType > &Cpy) |
| Copy constructor.
|
|
virtual | ~TwoDArray () |
| Destructor.
|
|
TwoDArray< ValueType > & | operator= (const TwoDArray< ValueType > &rhs) |
| Assignment =.
|
|
bool | CopyContents (TwoDArray< ValueType > &out) const |
| Copy Contents.
|
|
void | Fill (ValueType val) |
| Fill contents.
|
|
void | Resize (const int height, const int width) |
| Resizes the array, deleting the current data.
|
|
element_type & | operator[] (const int pos) |
| Element access.
|
|
const element_type & | operator[] (const int pos) const |
| Element access.
|
|
int | LengthX () const |
| Returns the width.
|
|
int | LengthY () const |
| Returns the height.
|
|
int | FirstX () const |
| Returns the index of the first element of a row.
|
|
int | FirstY () const |
| Returns the index of the first element of a column.
|
|
int | LastX () const |
| Returns the index of the last element of a row.
|
|
int | LastY () const |
| Returns the index of the first element of a column.
|
|
| TwoDArray () |
| Default constructor.
|
|
| TwoDArray (const int height, const int width) |
| Constructor.
|
|
| TwoDArray (const int height, const int width, ValueType val) |
| Constructor.
|
|
| TwoDArray (const TwoDArray< ValueType > &Cpy) |
| Copy constructor.
|
|
virtual | ~TwoDArray () |
| Destructor.
|
|
TwoDArray< ValueType > & | operator= (const TwoDArray< ValueType > &rhs) |
| Assignment =.
|
|
bool | CopyContents (TwoDArray< ValueType > &out) const |
| Copy Contents.
|
|
void | Fill (ValueType val) |
| Fill contents.
|
|
void | Resize (const int height, const int width) |
| Resizes the array, deleting the current data.
|
|
element_type & | operator[] (const int pos) |
| Element access.
|
|
const element_type & | operator[] (const int pos) const |
| Element access.
|
|
int | LengthX () const |
| Returns the width.
|
|
int | LengthY () const |
| Returns the height.
|
|
int | FirstX () const |
| Returns the index of the first element of a row.
|
|
int | FirstY () const |
| Returns the index of the first element of a column.
|
|
int | LastX () const |
| Returns the index of the last element of a row.
|
|
int | LastY () const |
| Returns the index of the first element of a column.
|
|
| TwoDArray () |
| Default constructor.
|
|
| TwoDArray (const int height, const int width) |
| Constructor.
|
|
| TwoDArray (const int height, const int width, ValueType val) |
| Constructor.
|
|
| TwoDArray (const TwoDArray< ValueType > &Cpy) |
| Copy constructor.
|
|
virtual | ~TwoDArray () |
| Destructor.
|
|
TwoDArray< ValueType > & | operator= (const TwoDArray< ValueType > &rhs) |
| Assignment =.
|
|
bool | CopyContents (TwoDArray< ValueType > &out) const |
| Copy Contents.
|
|
void | Fill (ValueType val) |
| Fill contents.
|
|
void | Resize (const int height, const int width) |
| Resizes the array, deleting the current data.
|
|
element_type & | operator[] (const int pos) |
| Element access.
|
|
const element_type & | operator[] (const int pos) const |
| Element access.
|
|
int | LengthX () const |
| Returns the width.
|
|
int | LengthY () const |
| Returns the height.
|
|
int | FirstX () const |
| Returns the index of the first element of a row.
|
|
int | FirstY () const |
| Returns the index of the first element of a column.
|
|
int | LastX () const |
| Returns the index of the last element of a row.
|
|
int | LastY () const |
| Returns the index of the first element of a column.
|
|
A class for encapsulating picture data, derived from TwoDArray.