Class film_storage_handle_t

Inheritance Relationships

Derived Type

Class Documentation

class film_storage_handle_t

Subclassed by wt::sensor::film_storage_t< polarimetric, Dims >

Public Functions

virtual ~film_storage_handle_t() noexcept = default
virtual vec3u32_t film_size() const noexcept = 0
virtual int dimensions_count() const noexcept = 0
virtual bitmap::pixel_layout_t pixel_layout() const noexcept = 0
virtual bool is_polarimetric() const noexcept = 0
virtual const response::tonemap_t *get_tonemap() const noexcept = 0
virtual sensor_write_flags_e get_write_flags() const noexcept = 0
virtual void write_block(const block_handle_t &block_handle, const f_t scale = 1) noexcept = 0

Writes a block to this film. (not thread safe)

Parameters:
  • storage_ptr – film storage to splat to

  • block_handle – image block

virtual bitmap::colour_encoding_t get_colour_encoding_of_developed_tonemapped_film() const noexcept = 0

Colour encoding of the tonemapped developed film.

virtual developed_scalar_film_t<2> develop_lin_d2(const std::size_t samples_per_element) const = 0

Develops the film (no tonemapping). For two-dimensional films.

Parameters:

samples_per_elements – samples per element written (used for scale factor for light images)

virtual developed_polarimetric_film_t<2> develop_lin_stokes_d2(const std::size_t samples_per_element) const = 0

Develops the film (no tonemapping). For two-dimensional polarimetric films. Returns an array of 4 developed images, one for each of the Stokes parameters.

Parameters:

samples_per_elements – samples per element written (used for scale factor for light images)

virtual developed_scalar_film_t<2> develop_d2(const std::size_t samples_per_element) const = 0

Develops the film. For two-dimensional films.

Parameters:

samples_per_elements – samples per element written (used for scale factor for light images)

virtual developed_polarimetric_film_t<2> develop_stokes_d2(const std::size_t samples_per_element) const = 0

Develops the film. For two-dimensional polarimetric films. Returns an array of 4 developed images, one for each of the Stokes parameters.

Parameters:

samples_per_elements – samples per element written (used for scale factor for light images)