8#include <Common/primitive_type.h>
33 void clear()
override;
45 const int64 actualWidthPx,
46 const int64 actualHeightPx,
51 , m_film(actualWidthPx, actualHeightPx, filter)
55 const int64 actualWidthPx,
56 const int64 actualHeightPx,
60 :
TSamplingFilm(actualWidthPx, actualHeightPx, effectiveWindowPx, filter)
62 , m_film(actualWidthPx, actualHeightPx, effectiveWindowPx, filter)
108 m_film.
develop(out_frame, regionPx);
void develop(HdrRgbFrame &out_frame) const
Definition Film.cpp:36
A film that records RGB values internally. Although film samples are added as spectral values,...
Definition HdrRgbFilm.h:21
void setEffectiveWindowPx(const math::TAABB2D< int64 > &effectiveWindow) override
Set the region where the film will be used. Implementation is advised to take advantage of this and o...
Definition HdrRgbFilm.cpp:241
void setRgbPixel(float64 xPx, float64 yPx, const math::Vector3R &rgb, float64 weight=1)
Set a pixel directly. Filter is not applied when setting a pixel directly (effectively applying a box...
Definition HdrRgbFilm.h:84
void clear() override
Set all pixel data to its initial state.
Definition HdrRgbFilm.cpp:209
void addRgbSample(float64 xPx, float64 yPx, const math::Vector3R &rgb)
Add a pixel sample.
Definition HdrRgbFilm.h:76
An image reconstruction kernel.
Definition SampleFilter.h:17
A camera film that receives any quantity, for sampling-based rendering techniques.
Definition TSamplingFilm.h:22
void setEffectiveWindowPx(const math::TAABB2D< int64 > &effectiveWindow) override
Set the region where the film will be used. Implementation is advised to take advantage of this and o...
Definition TSamplingFilm.ipp:55
A film that records 3-D vectors.
Definition Vector3Film.h:18
void setPixel(float64 xPx, float64 yPx, const math::Vector3R &sample) override
Let the pixel developes to the specified sample value. An interface for using the film as an ordinary...
Definition Vector3Film.h:70
void clear() override
Set all pixel data to its initial state.
Definition Vector3Film.h:75
Vector3Film(int64 actualWidthPx, int64 actualHeightPx, const SampleFilter &filter)
Definition Vector3Film.h:44
void setEffectiveWindowPx(const math::TAABB2D< int64 > &effectiveWindow) override
Set the region where the film will be used. Implementation is advised to take advantage of this and o...
Definition Vector3Film.h:99
void addSample(float64 xPx, float64 yPx, const math::Vector3R &sample) override
Applies filter to sample value and add to the film. Generally, this method can produce higher quality...
Definition Vector3Film.h:65
A 2-D Axis-Aligned Bounding Box (AABB).
Definition TAABB2D.h:26
The root for all renderer implementations.
Definition EEngineProject.h:6