#include <pnmWriter.h>
Inheritance diagram for PNMWriter:

Public Member Functions | |
| virtual | ~PNMWriter () |
| INLINE PNMFileType * | get_type () const |
| INLINE void | set_color_type (ColorType type) |
| INLINE void | set_num_channels (int num_channels) |
| INLINE void | set_maxval (xelval maxval) |
| INLINE void | set_x_size (int x_size) |
| INLINE void | set_y_size (int y_size) |
| INLINE void | copy_header_from (const PNMImageHeader &header) |
| virtual int | write_data (xel *array, xelval *alpha) |
| virtual bool | supports_write_row () const |
| virtual bool | write_header () |
| virtual bool | write_row (xel *array, xelval *alpha) |
| virtual bool | supports_stream_write () const |
Protected Member Functions | |
| INLINE | PNMWriter (PNMFileType *type, ostream *file, bool owns_file) |
Protected Attributes | |
| PNMFileType * | _type |
| bool | _owns_file |
| ostream * | _file |
|
||||||||||||||||
|
|
|
|
Definition at line 27 of file pnmWriter.cxx. |
|
|
|
|
|
Reimplemented from PNMImageHeader. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 140 of file pnmWriter.cxx. |
|
|
Reimplemented in PNMFileTypeAlias::Writer, PNMFileTypeIMG::Writer, PNMFileTypeSGI::Writer, and PNMFileTypeSoftImage::Writer. Definition at line 87 of file pnmWriter.cxx. |
|
||||||||||||
|
Reimplemented in PNMFileTypeBMP::Writer, PNMFileTypeJPG::Writer, PNMFileTypeJPG2000::Writer, PNMFileTypeTGA::Writer, and PNMFileTypeTIFF::Writer. Definition at line 57 of file pnmWriter.cxx. References PNMImageHeader::_x_size, PNMImageHeader::_y_size, alpha, write_header(), write_row(), and y. |
|
|
Reimplemented in PNMFileTypeAlias::Writer, PNMFileTypeIMG::Writer, PNMFileTypeSGI::Writer, and PNMFileTypeSoftImage::Writer. Definition at line 106 of file pnmWriter.cxx. Referenced by write_data(). |
|
||||||||||||
|
Reimplemented in PNMFileTypeAlias::Writer, PNMFileTypeIMG::Writer, PNMFileTypeSGI::Writer, and PNMFileTypeSoftImage::Writer. Definition at line 126 of file pnmWriter.cxx. Referenced by write_data(). |
|
|
|
Definition at line 64 of file pnmWriter.h. |
|
|
Reimplemented from PNMImageHeader. Definition at line 63 of file pnmWriter.h. |
1.3