#include <destTextureImage.h>
Inheritance diagram for DestTextureImage:
Public Member Functions | |
DestTextureImage (TexturePlacement *placement) | |
void | copy (TextureImage *texture) |
void | copy_if_stale (const DestTextureImage *other, TextureImage *texture) |
virtual void | write_datagram (BamWriter *writer, Datagram &datagram) |
virtual TypeHandle | get_type () const |
Static Public Member Functions | |
void | register_with_read_factory () |
TypeHandle | get_class_type () |
void | init_type () |
Protected Member Functions | |
void | fillin (DatagramIterator &scan, BamReader *manager) |
Static Protected Member Functions | |
TypedWritable * | make_DestTextureImage (const FactoryParams ¶ms) |
Private Member Functions | |
DestTextureImage () | |
Static Private Member Functions | |
int | to_power_2 (int value) |
Static Private Attributes | |
TypeHandle | _type_handle |
|
Definition at line 40 of file destTextureImage.cxx. |
|
Definition at line 49 of file destTextureImage.cxx. References Palettizer::_force_power_2, ImageFile::_properties, ImageFile::_size_known, ImageFile::_x_size, ImageFile::_y_size, TexturePlacement::get_group(), TexturePlacement::get_texture(), pal, ImageFile::set_filename(), texture, and to_power_2(). |
|
Definition at line 73 of file destTextureImage.cxx. References ImageFile::_x_size, ImageFile::_y_size, PNMImage::fill(), PNMImageHeader::get_maxval(), PNMImage::is_valid(), PNMImage::quick_filter_from(), texture, and ImageFile::write(). Referenced by copy_if_stale(). |
|
Definition at line 98 of file destTextureImage.cxx. References Filename::compare_timestamps(), copy(), ImageFile::get_filename(), ImageFile::get_num_channels(), ImageFile::get_x_size(), ImageFile::get_y_size(), NULL, and texture. |
|
Reimplemented from ImageFile. Definition at line 181 of file destTextureImage.cxx. References ImageFile::fillin(). Referenced by make_DestTextureImage(). |
|
Reimplemented from ImageFile. Definition at line 59 of file destTextureImage.h. References _type_handle. Referenced by get_type(), and register_with_read_factory(). |
|
Reimplemented from ImageFile. Definition at line 67 of file destTextureImage.h. References get_class_type(). |
|
Reimplemented from ImageFile. Definition at line 62 of file destTextureImage.h. References _type_handle, ImageFile::get_class_type(), ImageFile::init_type(), and register_type(). Referenced by ConfigureFn(). |
|
Definition at line 163 of file destTextureImage.cxx. References fillin(), params, and parse_params(). Referenced by register_with_read_factory(). |
|
Definition at line 137 of file destTextureImage.cxx. References get_class_type(), BamReader::get_factory(), and make_DestTextureImage(). Referenced by ConfigureFn(). |
|
Definition at line 122 of file destTextureImage.cxx. References x. Referenced by DestTextureImage(). |
|
Reimplemented from ImageFile. Definition at line 150 of file destTextureImage.cxx. References ImageFile::write_datagram(), and writer(). |
|
Reimplemented from ImageFile. Definition at line 30 of file destTextureImage.cxx. Referenced by get_class_type(), and init_type(). |