Claw  1.7.0
Classes | Public Member Functions
claw::graphic::targa::reader Class Reference

This class read data from a targa file and store it in an image. More...

#include <targa.hpp>

Inherits claw::graphic::targa::file_structure.

List of all members.

Classes

class  file_input_buffer
 The type of the input buffer associated with the file when decoding RLE files.
class  mapped_file_input_buffer
 The type of the input buffer associated with the file when decoding RLE files using a color palette.
class  rle_targa_decoder
 RLE decoder for targa RLE format.
class  rle_targa_output_buffer
 The output buffer for the RLE decoder.

Public Member Functions

 reader (image &img)
 Constructor.
 reader (image &img, std::istream &f)
 Constructor.
void load (std::istream &f)
 Load an image from a targa file.

Detailed Description

This class read data from a targa file and store it in an image.

Author:
Julien Jorge

Definition at line 213 of file targa.hpp.


Constructor & Destructor Documentation

Constructor.

Parameters:
imgThe image in which the data will be stored.

Definition at line 193 of file targa_reader.cpp.

claw::graphic::targa::reader::reader ( image img,
std::istream &  f 
)

Constructor.

Parameters:
imgThe image in which the data will be stored.
fThe file from which we read the data.
Postcondition:
img contains the data from f.

Definition at line 206 of file targa_reader.cpp.

References load().


Member Function Documentation

void claw::graphic::targa::reader::load ( std::istream &  f)

The documentation for this class was generated from the following files: