|
| | BBM_IMPORT_CONFIG (CONF) |
| |
| | bsdf_ptr (void)=default |
| | Default (empty) constructor; shared_ptr is set to nullptr.
|
| |
| | bsdf_ptr (const pointer< bsdf_base< Config > > &ptr) |
| | Construct from pointer.
|
| |
| | bsdf_ptr (const bsdf_ptr< CONF > &b) |
| | Copy constructor.
|
| |
| bsdf_ptr & | operator= (const bsdf_ptr &b) |
| | Assignment operator.
|
| |
| const pointer< bsdf_base< Config > > & | ptr (void) const |
| | Get the internal shared pointer.
|
| |
| virtual Spectrum | eval (const Vec3d &in, const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const override final |
| | Pointer-dereference passthrough of eval function.
|
| |
| virtual BsdfSample | sample (const Vec3d &out, const Vec2d &xi, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const override final |
| | Pointer-derefence passthrough of sample function.
|
| |
| virtual Value | pdf (const Vec3d &in, const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const override final |
| | Pointer-dereference passthrough of the pdf function.
|
| |
| virtual Spectrum | reflectance (const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const override final |
| | Pointer-dereference passthrough of the hemispherical reflectance function.
|
| |
| virtual std::string | toString (void) const override final |
| | Pointer-dereference passthrough of toString.
|
| |
|
| const pointer< bsdf_base< Config > > & | operator-> (void) |
| |
| pointer< const bsdf_base< Config > > | operator-> (void) const |
| |
|
| virtual bbm::vector< Value & > | parameter_values (bsdf_attr flags=bsdf_attr::All) override final |
| |
| virtual bbm::vector< const Value & > | parameter_values (bsdf_attr flags=bsdf_attr::All) const override final |
| |
| virtual bbm::vector< Value > | parameter_default_values (bsdf_attr flags=bsdf_attr::All) const override final |
| |
| virtual bbm::vector< Value > | parameter_lower_bound (bsdf_attr flags=bsdf_attr::All) const override final |
| |
| virtual bbm::vector< Value > | parameter_upper_bound (bsdf_attr flags=bsdf_attr::All) const override final |
| |
| | BBM_IMPORT_CONFIG (CONF) |
| |
| virtual | ~bsdf_base (void) |
| | empty virtual destructor
|
| |
| virtual Spectrum | eval (const Vec3d &in, const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const =0 |
| | Evaluate the BSDF given an in and out direction.
|
| |
| virtual BsdfSample | sample (const Vec3d &out, const Vec2d &xi, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const =0 |
| | Samples the BSDF given an out direction and 2 random variables.
|
| |
| virtual Value | pdf (const Vec3d &in, const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const =0 |
| | The pdf of the in-out direction combination.
|
| |
| virtual Spectrum | reflectance (const Vec3d &out, BsdfFlag component=bsdf_flag::All, unit_t unit=unit_t::Radiance, Mask mask=true) const =0 |
| | the (approximate) hemispherical reflectance of the BSDF
|
| |
| virtual std::string | toString (void) const =0 |
| | Fancy print the BSDF to a string.
|
| |