Public Member Functions | |
ClearedRegion () | |
The default constructor is only for the convenience of the bam reader. | |
ClearedRegion (TexturePlacement *placement) | |
ClearedRegion (const ClearedRegion ©) | |
void | operator= (const ClearedRegion ©) |
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 |
|
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(). |
|
Definition at line 67 of file paletteImage.cxx. References ImageFile::_x_size, and ImageFile::_y_size. |
|
Definition at line 82 of file paletteImage.cxx. |
|
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(). |
|
Extracts the contents of the ClearedRegion from the indicated datagram.
Definition at line 158 of file paletteImage.cxx. |
|
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. |
|
Writes the contents of the ClearedRegion to the indicated datagram.
Definition at line 140 of file paletteImage.cxx. References NULL. |
|
Definition at line 96 of file paletteImage.h. Referenced by clear(), ClearedRegion(), and operator=(). |
|
Definition at line 97 of file paletteImage.h. Referenced by clear(), ClearedRegion(), and operator=(). |
|
Definition at line 96 of file paletteImage.h. Referenced by clear(), ClearedRegion(), and operator=(). |
|
Definition at line 97 of file paletteImage.h. Referenced by clear(), ClearedRegion(), and operator=(). |