20 #if !defined(__MITSUBA_RENDER_FILM_H_)
21 #define __MITSUBA_RENDER_FILM_H_
49 virtual void clear() = 0;
55 virtual void setBitmap(
const Bitmap *bitmap,
Float multiplier = 1.0f) = 0;
58 virtual void addBitmap(
const Bitmap *bitmap,
Float multiplier = 1.0f) = 0;
61 virtual void setDestinationFile(
const fs::path &filename,
uint32_t blockSize) = 0;
64 virtual void develop(
const Scene *scene,
Float renderTime) = 0;
82 virtual bool destinationExists(
const fs::path &basename)
const = 0;
92 virtual bool hasAlpha()
const = 0;
132 bool m_highQualityEdges;
const Point2i & getCropOffset() const
Return the offset of the crop window.
Definition: film.h:46
void addChild(ConfigurableObject *child)
Add an unnamed child.
Definition: film.h:108
General-purpose bitmap class with read and write support for several common file formats.
Definition: bitmap.h:50
Generic serializable object, which supports construction from a Properties instance.
Definition: cobject.h:40
Principal scene data structure.
Definition: scene.h:49
const ReconstructionFilter * getReconstructionFilter() const
Return the image reconstruction filter (const version)
Definition: film.h:98
const Vector2i & getSize() const
Ignoring the crop window, return the resolution of the underlying sensor.
Definition: film.h:40
Generic interface to separable image reconstruction filters.
Definition: rfilter.h:44
virtual void serialize(Stream *stream, InstanceManager *manager) const
Serialize this object to a binary data stream.
virtual void addChild(const std::string &name, ConfigurableObject *child)
Add a child (default implementation throws an error)
ReconstructionFilter * getReconstructionFilter()
Return the image reconstruction filter.
Definition: film.h:95
bool hasHighQualityEdges() const
Definition: film.h:89
Abstract seekable stream class.
Definition: stream.h:58
#define MTS_DECLARE_CLASS()
This macro must be used in the initial definition in classes that derive from Object.
Definition: class.h:158
const Vector2i & getCropSize() const
Return the size of the crop window.
Definition: film.h:43
Abstract film base class - used to store samples generated by Integrator implementations.
Definition: film.h:37
virtual void configure()
Configure the object (called once after construction and addition of all child ConfigurableObject ins...
Reference counting helper.
Definition: ref.h:40
Storage for an image sub-block (a.k.a render bucket)
Definition: imageblock.h:40
Associative parameter map for constructing subclasses of ConfigurableObject.
Definition: properties.h:46
Coordinates the serialization and unserialization of object graphs.
Definition: serialization.h:65