Inherits Base.
Public Member Functions | |
Blob () | |
The main constructor. | |
void | clear () |
Clears all but num_. | |
Blob & | operator= (const Blob ©) |
copy everything except number. | |
void | draw (PiXFrame *pf, std::ostream &ostr) |
Describe the blob. |
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.
Blob::Blob | ( | ) | [inline] |
The main constructor.
num_ is assigned by PiXFrame::add_base().
void Blob::clear | ( | ) | [inline] |
Clears all but num_.
num_ is assigned by PiXFrame::add_base(char type) on allocation
Reimplemented from Base.
void Blob::draw | ( | PiXFrame * | pf, | |
std::ostream & | ostr | |||
) |
Describe the blob.
This is used to describe the blob in a dialog. It is used mostly when testing, although it could have other uses.
Reimplemented from Base.