Template Numerical Library version\ main:1437bf49
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TNL::Images::JPEGImage< Index > Class Template Reference
Inheritance diagram for TNL::Images::JPEGImage< Index >:
Inheritance graph
[legend]
Collaboration diagram for TNL::Images::JPEGImage< Index >:
Collaboration graph
[legend]

Public Types

using IndexType = Index
 
- Public Types inherited from TNL::Images::Image< Index >
using IndexType = Index
 

Public Member Functions

void close ()
 
bool openForRead (const String &fileName)
 
template<typename Real , typename Device >
bool openForWrite (const String &fileName, Meshes::Grid< 2, Real, Device, Index > &grid)
 
template<typename MeshReal , typename Device , typename Real >
bool read (RegionOfInterest< Index > roi, Functions::MeshFunction< Meshes::Grid< 2, MeshReal, Device, Index >, 2, Real > &function)
 
template<typename MeshReal , typename Device , typename Real >
bool write (const Functions::MeshFunction< Meshes::Grid< 2, MeshReal, Device, Index >, 2, Real > &function)
 
template<typename Real , typename Device , typename Vector >
bool write (const Meshes::Grid< 2, Real, Device, Index > &grid, Vector &vector)
 
- Public Member Functions inherited from TNL::Images::Image< Index >
IndexType getHeight () const
 
IndexType getWidth () const
 

Protected Member Functions

bool readHeader ()
 
template<typename Real , typename Device >
bool writeHeader (const Meshes::Grid< 2, Real, Device, Index > &grid)
 

Protected Attributes

FILE * file
 
bool fileOpen
 
- Protected Attributes inherited from TNL::Images::Image< Index >
IndexType height
 
IndexType width
 

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