ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
binary_points.hpp File Reference
#include <reusex/core/ProjectDB.hpp>
#include <cstddef>
#include <cstdint>
#include <string_view>
#include <vector>
Include dependency graph for binary_points.hpp:

Go to the source code of this file.

Namespaces

namespace  rux
namespace  rux::gui

Enumerations

enum class  rux::gui::RuxpType : uint8_t { rux::gui::f32 = 1 , rux::gui::u8 = 2 , rux::gui::u32 = 3 }
 Field value types, as written into a descriptor's type byte. More...

Functions

std::vector< uint8_t > rux::gui::encode_ruxp (const reusex::ProjectDB::CloudPage &page, uint32_t flags=0)
 Encode one stored page as a RUXP v1 buffer.
bool rux::gui::ruxp_supports (std::string_view point_type)
 True when type is one encode_ruxp() knows how to lay out.

Variables

constexpr uint16_t rux::gui::kRuxpVersion = 1
 Format version written into every page.
constexpr size_t rux::gui::kRuxpHeaderBase = 40
 Fixed part of the header, before the field descriptors.
constexpr size_t rux::gui::kRuxpFieldSize = 16
 Bytes per field descriptor.
constexpr uint32_t rux::gui::kRuxpFlagLod = 0x1U
 flags bit 0 — this page is a level-of-detail view of the whole cloud rather than a contiguous window of it (#320).
constexpr uint32_t rux::gui::kRuxpKnownFlags = kRuxpFlagLod
 Every flag bit this encoder will emit.