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