Class scene_element_t

Inheritance Relationships

Derived Types

Class Documentation

class scene_element_t

Generic scene element.

Subclassed by wt::bsdf::bsdf_t, wt::emitter::emitter_t, wt::fraunhofer::fsd_sampler::fsd_sampler_t, wt::integrator::integrator_t, wt::sampler::sampler_t, wt::sensor::mask::mask_t, wt::sensor::response::response_t, wt::sensor::response::tonemap_t, wt::sensor::sensor_t, wt::shape_t, wt::spectrum::spectrum_t, wt::surface_profile::surface_profile_t, wt::texture::complex_t, wt::texture::quantity_t< Q >, wt::texture::texture_t

Public Functions

inline scene_element_t(std::string id) noexcept
scene_element_t(scene_element_t&&) noexcept = default
inline scene_element_t(const scene_element_t &o) noexcept
virtual ~scene_element_t() noexcept = default
inline const std::string &get_id() const noexcept
virtual element::info_t description() const = 0

Public Static Functions

static std::shared_ptr<scene_element_t> load(std::string id, scene::loader::loader_t *loader, const scene::loader::node_t &node, const wt::wt_context_t &context)

Protected Attributes

std::unique_ptr<std::string> id

Friends

friend class wt::scene::loader::loader_t