- Main Page
- Namespaces
- Classes
- Files
- Directories

- Class List
- Class Hierarchy
- Class Members

# dirac::PicArray Class Reference

A class for picture component data. More...

`#include <common.h>`

Inheritance diagram for dirac::PicArray:

List of all members.

## Public Member Functions
| 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.

## Detailed Description

A class for picture component data.

A class for encapsulating picture data, derived from TwoDArray. NB: in the future there will be separate classes for input/output picture data, difference picture data, and wavelet coefficient data. Currently PicArray is used for all of these. TJD 13 April 2004.

Definition at line 179 of file common.h.

## Constructor & Destructor Documentation

dirac::PicArray::PicArray | ( |  | ) | `[inline]`

| Default constructor. Default constructor creates an empty array. Definition at line 186 of file common.h.

PicArray::PicArray | ( | int | height,
|  | int | width,
|  | CompSort | cs = `Y_COMP`
| ) |

| Constructor. Contructor creates a two-D array, with specified size and colour format. Definition at line 47 of file common.cpp.

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

- C:/guliverkli/src/filters/parser/diracsplitter/libdirac/libdirac_common/common.h
- C:/guliverkli/src/filters/parser/diracsplitter/libdirac/libdirac_common/common.cpp