|
FlatCityBuf C++ reader 0.8.0
Native C++17 reader for FlatCityBuf, the cloud-optimized CityJSON format
|
One theme's material mapping. More...
#include <fcb/writer/geom_encoder.hpp>
Public Types | |
| enum class | Kind { Value , Values , NullValues } |
Public Attributes | |
| Kind | kind = Kind::Value |
| std::string | theme |
| std::uint32_t | value = 0 |
| std::vector< std::uint32_t > | solids |
| std::vector< std::uint32_t > | shells |
| std::vector< std::uint32_t > | vertices |
One theme's material mapping.
Tagged-struct style (matching this codebase's AttrValue convention) rather than std::variant, since only one of value/{solids,shells,vertices} is meaningful per kind. Mirrors the MaterialMapping enum (writer/geom_encoder.rs).
Definition at line 77 of file geom_encoder.hpp.
|
strong |
| Enumerator | |
|---|---|
| Value | |
| Values | |
| NullValues | |
Definition at line 78 of file geom_encoder.hpp.
| Kind fcb::MaterialMapping::kind = Kind::Value |
Definition at line 83 of file geom_encoder.hpp.
Referenced by fcb::encode_material().
| std::vector<std::uint32_t> fcb::MaterialMapping::shells |
Definition at line 86 of file geom_encoder.hpp.
| std::vector<std::uint32_t> fcb::MaterialMapping::solids |
Definition at line 86 of file geom_encoder.hpp.
Referenced by fcb::encode_material().
| std::string fcb::MaterialMapping::theme |
Definition at line 84 of file geom_encoder.hpp.
Referenced by fcb::encode_material().
| std::uint32_t fcb::MaterialMapping::value = 0 |
Definition at line 85 of file geom_encoder.hpp.
Referenced by fcb::encode_material().
| std::vector<std::uint32_t> fcb::MaterialMapping::vertices |
Definition at line 86 of file geom_encoder.hpp.
Referenced by fcb::encode_material().