class ffw::TifLoader

Class List > ffw :: TifLoader

Inherits the following classes: ffw::ImageReader

Public Functions

Type Name
TifLoader (const std::string & path)
TifLoader (const TifLoader & other) = delete
TifLoader (TifLoader && other)
void swap (TifLoader & other)
TifLoader & operator= (const TifLoader & other) = delete
TifLoader & operator= (TifLoader && other)
virtual ~TifLoader ()
virtual size_t readRow (void * dest) override
Reads a row of pixels.
virtual void close () override
Closes the file and frees the resources.

Public Functions Documentation

function TifLoader (1/3)

ffw::TifLoader::TifLoader (
    const std::string & path
)

function TifLoader (2/3)

ffw::TifLoader::TifLoader (
    const TifLoader & other
) = delete

function TifLoader (3/3)

ffw::TifLoader::TifLoader (
    TifLoader && other
)

function swap

void ffw::TifLoader::swap (
    TifLoader & other
)

function operator= (1/2)

TifLoader & ffw::TifLoader::operator= (
    const TifLoader & other
) = delete

function operator= (2/2)

TifLoader & ffw::TifLoader::operator= (
    TifLoader && other
)

function ~TifLoader

virtual ffw::TifLoader::~TifLoader ()

function readRow

virtual size_t ffw::TifLoader::readRow (
    void * dest
)

Reads a row of pixels.

Parameters:

  • dest The destination where to write the pixels

Note:

The dest parameter must be large enough to contain all pixels of a single row. Use reader->getStrideSize() to determine the size of the row in number of bytes.

See also:

Implements ImageReader::readRow

function close

virtual void ffw::TifLoader::close ()

Closes the file and frees the resources.

Implements ImageReader::close


The documentation for this class was generated from the following file: include/ffw/media/tifloader.h