Inherits Base.
Public Member Functions | |
Region () | |
The main constructor. | |
void | clear () |
Clears all but num_. | |
Region & | operator= (const Region ©) |
copy everything except number. | |
void | draw (PiXFrame *pf, std::ostream &ostr) |
Describe the region. |
Pictures can be divided into Regions, Blobs, and Spots, where Regions are generally the largest entities and spots are the smallest. Regions generally, but not necessarily, contain blobs, and blobs contain spots. An example of a region would be a background.
Region::Region | ( | ) | [inline] |
The main constructor.
num_ is assigned by PiXFrame::add_base().
void Region::clear | ( | ) | [inline] |
Clears all but num_.
num_ is assigned by PiXFrame::add_base(char type) on allocation
Reimplemented from Base.
void Region::draw | ( | PiXFrame * | pf, | |
std::ostream & | ostr | |||
) |
Describe the region.
This is used to describe the region in a dialog. It is used mostly when testing, although it could have other uses.
Reimplemented from Base.