|
| LDRFilm (const Point2i &resolution, const std::shared_ptr< Filter > &filter, const std::string &filename, double gamma=2.2, const std::shared_ptr< std::function< void(const Image &)>> &callback=nullptr) |
|
| LDRFilm (RenderParams ¶ms) |
|
| Film (const Point2i &resolution, const std::shared_ptr< Filter > &filter, const std::string &filename, const std::shared_ptr< std::function< void(const Image &)>> &callback=nullptr) |
|
Point2i | resolution () const |
|
double | aspect () const |
|
void | save (int id=0) const |
| Save the result by dividing sum(w * I) by sum(w). More...
|
|
void | saveMLT (double scale, int id=0) const |
| Save the result by computing, (sum(w * I) * ns / (sum(w)), where ns is number of samples generated for a pixel. More...
|
|
void | setImage (const Image &image) |
|
void | addPixel (const Point2i &pixel, const Point2d &pInPixel, const Spectrum &color) |
|
void | addPixel (const Point2d &pixel, const Spectrum &color) |
|
void | setFilename (const std::string filename) |
|
void | setSaveCallback (std::unique_ptr< std::function< void(const Image &)>> &&callback) |
|
double | weight (const Point2d &pixel) const |
|
|
void | saveImage (const std::string &filename, const Image &image) const override |
|
The documentation for this class was generated from the following files:
- /home/travis/build/tatsy/spica/sources/films/ldrfilm.h
- /home/travis/build/tatsy/spica/sources/films/ldrfilm.cc