C++ wrapper for tpbrt_filter_t.
More...
#include <tinypbrt/detail/cpp/filter.hpp>
|
| constexpr float_t | x_radius () const noexcept |
| | Returns x_radius value.
|
| |
| constexpr float_t | y_radius () const noexcept |
| | Returns y_radius value.
|
| |
| constexpr filter_type | type () const noexcept |
| | Returns type value.
|
| |
| constexpr bool_t | is_gaussian () const noexcept |
| | Returns true if type is gaussian.
|
| |
| constexpr bool_t | is_mitchell () const noexcept |
| | Returns true if type is mitchell.
|
| |
| constexpr bool_t | is_sinc () const noexcept |
| | Returns true if type is sinc.
|
| |
| constexpr std::optional< filter_gaussian_params > | as_gaussian () const noexcept |
| | Returns gaussian parameters (std::nullopt if the type is different).
|
| |
| constexpr std::optional< filter_mitchell_params > | as_mitchell () const noexcept |
| | Returns mitchell parameters (std::nullopt if the type is different).
|
| |
| constexpr std::optional< filter_sinc_params > | as_sinc () const noexcept |
| | Returns sinc parameters (std::nullopt if the type is different).
|
| |
| constexpr variant_type | to_variant () const noexcept |
| | Conversion to variant.
|
| |
| constexpr auto | reflect () const noexcept |
| | Conversion to tuple.
|
| |
C++ wrapper for tpbrt_filter_t.
◆ x_radius()
| constexpr float_t tpbrt::filter::x_radius |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ y_radius()
| constexpr float_t tpbrt::filter::y_radius |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ type()
◆ is_gaussian()
| constexpr bool_t tpbrt::filter::is_gaussian |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if type is gaussian.
◆ is_mitchell()
| constexpr bool_t tpbrt::filter::is_mitchell |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if type is mitchell.
◆ is_sinc()
| constexpr bool_t tpbrt::filter::is_sinc |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if type is sinc.
◆ as_gaussian()
Returns gaussian parameters (std::nullopt if the type is different).
◆ as_mitchell()
Returns mitchell parameters (std::nullopt if the type is different).
◆ as_sinc()
Returns sinc parameters (std::nullopt if the type is different).
◆ to_variant()
| constexpr variant_type tpbrt::filter::to_variant |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ reflect()
| constexpr auto tpbrt::filter::reflect |
( |
| ) |
const |
|
inlineconstexprnoexcept |
The documentation for this struct was generated from the following file: