|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
#include <tinypbrt/detail/cpp/fwd.hpp>#include <tinypbrt/detail/camera.h>#include <string_view>#include <tinypbrt/detail/cpp/common.hpp>#include <tinypbrt/detail/cpp/media.hpp>#include <tinypbrt/detail/cpp/transform.hpp>Go to the source code of this file.
Data Structures | |
| struct | tpbrt::camera_orthographic_params |
| C++ wrapper for tpbrt_camera_orthographic_params_t. More... | |
| struct | tpbrt::camera_perspective_params |
| C++ wrapper for tpbrt_camera_perspective_params_t. More... | |
| struct | tpbrt::camera_spherical_params |
| C++ wrapper for tpbrt_camera_spherical_params_t. More... | |
| struct | tpbrt::camera_realistic_aperture |
| C++ wrapper for tpbrt_camera_realistic_aperture_t. More... | |
| struct | tpbrt::camera_realistic_params |
| C++ wrapper for tpbrt_camera_realistic_params_t. More... | |
| struct | tpbrt::camera |
| C++ wrapper for tpbrt_camera_t. More... | |
Namespaces | |
| namespace | tpbrt |
Macros | |
| #define | _TINYPBRT_CAMERA_HPP_ |
Enumerations | |
| enum class | tpbrt::camera_type : uchar_t { tpbrt::camera_type::ORTHOGRAPHIC = TPBRT_CAMERA_TYPE_ORTHOGRAPHIC , tpbrt::camera_type::PERSPECTIVE = TPBRT_CAMERA_TYPE_PERSPECTIVE , tpbrt::camera_type::REALISTIC = TPBRT_CAMERA_TYPE_REALISTIC , tpbrt::camera_type::SPHERICAL = TPBRT_CAMERA_TYPE_SPHERICAL , tpbrt::camera_type::MAX_NUM = TPBRT_CAMERA_TYPE_MAX_NUM } |
| Used to declare camera type. More... | |
| enum class | tpbrt::camera_spherical_mapping : uchar_t { tpbrt::camera_spherical_mapping::EQUAL_AREA = TPBRT_CAMERA_SPHERICAL_MAPPING_EQUAL_AREA , tpbrt::camera_spherical_mapping::EQUI_RECTANGULAR = TPBRT_CAMERA_SPHERICAL_MAPPING_EQUI_RECTANGULAR , tpbrt::camera_spherical_mapping::MAX_NUM = TPBRT_CAMERA_SPHERICAL_MAPPING_MAX_NUM } |
| Spherical camera mapping. More... | |
| enum class | tpbrt::camera_realistic_aperture_type : uchar_t { tpbrt::camera_realistic_aperture_type::FILE_NAME = TPBRT_CAMERA_REALISTIC_APERTURE_TYPE_FILE_NAME , tpbrt::camera_realistic_aperture_type::BUILTIN = TPBRT_CAMERA_REALISTIC_APERTURE_TYPE_BUILTIN , tpbrt::camera_realistic_aperture_type::MAX_NUM = TPBRT_CAMERA_REALISTIC_APERTURE_TYPE_MAX_NUM } |
| Realistic camera aperture value type. More... | |
| enum class | tpbrt::camera_realistic_aperture_builtin : uchar_t { tpbrt::camera_realistic_aperture_builtin::CIRCULAR = TPBRT_CAMERA_REALISTIC_APERTURE_BUILTIN_CIRCULAR , tpbrt::camera_realistic_aperture_builtin::GAUSSIAN = TPBRT_CAMERA_REALISTIC_APERTURE_BUILTIN_GAUSSIAN , tpbrt::camera_realistic_aperture_builtin::SQUARE = TPBRT_CAMERA_REALISTIC_APERTURE_BUILTIN_SQUARE , tpbrt::camera_realistic_aperture_builtin::PENTAGON = TPBRT_CAMERA_REALISTIC_APERTURE_BUILTIN_PENTAGON , tpbrt::camera_realistic_aperture_builtin::STAR = TPBRT_CAMERA_REALISTIC_APERTURE_BUILTIN_STAR , tpbrt::camera_realistic_aperture_builtin::MAX_NUM = TPBRT_CAMERA_REALISTIC_APERTURE_BUILTIN_MAX_NUM } |
| Realistic camera aperture builtin type. More... | |
Functions | |
| constexpr std::string_view | tpbrt::to_string (const camera_type type) noexcept |
| Converts camera_type enum value to string. | |
| constexpr std::string_view | tpbrt::to_string (const camera_spherical_mapping mapping) noexcept |
| Converts camera_spherical_mapping enum value to string. | |
| constexpr std::string_view | tpbrt::to_string (const camera_realistic_aperture_type type) noexcept |
| Converts camera_realistic_aperture_type enum value to string. | |
| constexpr std::string_view | tpbrt::to_string (const camera_realistic_aperture_builtin builtin) noexcept |
| Converts camera_realistic_aperture_builtin enum value to string. | |
| #define _TINYPBRT_CAMERA_HPP_ |