Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PaletteImage::ClearedRegion Class Reference

List of all members.

Public Member Functions

 ClearedRegion ()
 The default constructor is only for the convenience of the bam reader.

 ClearedRegion (TexturePlacement *placement)
 ClearedRegion (const ClearedRegion &copy)
void operator= (const ClearedRegion &copy)
void clear (PNMImage &image)
 Sets the appropriate region of the image to black.

void write_datagram (Datagram &datagram) const
 Writes the contents of the ClearedRegion to the indicated datagram.

void fillin (DatagramIterator &scan)
 Extracts the contents of the ClearedRegion from the indicated datagram.


Private Attributes

int _x
int _y
int _x_size
int _y_size

Constructor & Destructor Documentation

PaletteImage::ClearedRegion::ClearedRegion  ) 
 

The default constructor is only for the convenience of the bam reader.

Definition at line 52 of file paletteImage.cxx.

References _x, _x_size, _y, _y_size, TexturePlacement::get_placed_x(), TexturePlacement::get_placed_x_size(), TexturePlacement::get_placed_y(), and TexturePlacement::get_placed_y_size().

PaletteImage::ClearedRegion::ClearedRegion TexturePlacement placement  ) 
 

Definition at line 67 of file paletteImage.cxx.

References ImageFile::_x_size, and ImageFile::_y_size.

PaletteImage::ClearedRegion::ClearedRegion const ClearedRegion &  copy  ) 
 

Definition at line 82 of file paletteImage.cxx.

References _x, _x_size, _y, and _y_size.


Member Function Documentation

void PaletteImage::ClearedRegion::clear PNMImage image  ) 
 

Sets the appropriate region of the image to black.

Definition at line 114 of file paletteImage.cxx.

References _x, _x_size, _y, _y_size, and Datagram::add_int32().

void PaletteImage::ClearedRegion::fillin DatagramIterator scan  ) 
 

Extracts the contents of the ClearedRegion from the indicated datagram.

Definition at line 158 of file paletteImage.cxx.

void PaletteImage::ClearedRegion::operator= const ClearedRegion &  copy  ) 
 

Definition at line 98 of file paletteImage.cxx.

References _x, _x_size, _y, _y_size, PNMImage::has_alpha(), PNMImage::set_alpha_val(), PNMImage::set_xel_val(), x, and y.

void PaletteImage::ClearedRegion::write_datagram Datagram datagram  )  const
 

Writes the contents of the ClearedRegion to the indicated datagram.

Definition at line 140 of file paletteImage.cxx.

References NULL.


Member Data Documentation

int PaletteImage::ClearedRegion::_x [private]
 

Definition at line 96 of file paletteImage.h.

Referenced by clear(), ClearedRegion(), and operator=().

int PaletteImage::ClearedRegion::_x_size [private]
 

Definition at line 97 of file paletteImage.h.

Referenced by clear(), ClearedRegion(), and operator=().

int PaletteImage::ClearedRegion::_y [private]
 

Definition at line 96 of file paletteImage.h.

Referenced by clear(), ClearedRegion(), and operator=().

int PaletteImage::ClearedRegion::_y_size [private]
 

Definition at line 97 of file paletteImage.h.

Referenced by clear(), ClearedRegion(), and operator=().


The documentation for this class was generated from the following files:
Generated on Fri May 2 03:27:45 2003 for Panda-Tool by doxygen1.3