Region Class Reference

The largest of the Region, Blob, and Spot objects. More...

Inherits Base.

List of all members.

Public Member Functions

 Region ()
 The main constructor.
void clear ()
 Clears all but num_.
Regionoperator= (const Region &copy)
 copy everything except number.
void draw (PiXFrame *pf, std::ostream &ostr)
 Describe the region.


Detailed Description

The largest of the Region, Blob, and Spot objects.

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.


Constructor & Destructor Documentation

Region::Region (  )  [inline]

The main constructor.

num_ is assigned by PiXFrame::add_base().


Member Function Documentation

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.


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

Generated on Fri Aug 1 22:02:12 2008 for pixtrace by  doxygen 1.5.5