Blob Class Reference

The blobs of color in a Region. More...

Inherits Base.

List of all members.

Public Member Functions

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


Detailed Description

The blobs of color in a 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.


Constructor & Destructor Documentation

Blob::Blob (  )  [inline]

The main constructor.

num_ is assigned by PiXFrame::add_base().


Member Function Documentation

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.


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