Template Numerical Library version\ main:bb09b17
Loading...
Searching...
No Matches
TNL::Images::PNGImage< Index > Class Template Reference
Inheritance diagram for TNL::Images::PNGImage< Index >:
Collaboration diagram for TNL::Images::PNGImage< Index >:

Public Types

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

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< int >
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< int >
IndexType height
 
IndexType width
 

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