Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::PfmFile Class Referencefinal

Writer for Portable FloatMap image format. More...

#include <PfmFile.h>

Public Member Functions

 PfmFile ()=default
 
 PfmFile (const TFrame< float32, 3 > &colorFrame)
 
void copy (const TFrame< float32, 3 > &colorFrame)
 
void load (const Path &filePath)
 
void save (const Path &filePath) const
 
const TFrame< float32, 3 > & getColorFrame () const
 
bool isMonochromatic () const
 

Detailed Description

Writer for Portable FloatMap image format.

Reference site 1: http://www.pauldebevec.com/Research/HDR/PFM/ Reference site 2: http://netpbm.sourceforge.net/doc/pfm.html

Constructor & Destructor Documentation

◆ PfmFile() [1/2]

ph::PfmFile::PfmFile ( )
default

◆ PfmFile() [2/2]

ph::PfmFile::PfmFile ( const TFrame< float32, 3 > & colorFrame)
inlineexplicit

Member Function Documentation

◆ copy()

void ph::PfmFile::copy ( const TFrame< float32, 3 > & colorFrame)
inline

◆ getColorFrame()

const TFrame< float32, 3 > & ph::PfmFile::getColorFrame ( ) const
inline

◆ isMonochromatic()

bool ph::PfmFile::isMonochromatic ( ) const
inline

◆ load()

void ph::PfmFile::load ( const Path & filePath)

◆ save()

void ph::PfmFile::save ( const Path & filePath) const

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