|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
A set of 3D Gaussians in plain host memory. More...
#include <GaussianCloud.hpp>

Public Member Functions | |
| std::size_t | size () const |
| bool | empty () const |
| void | validate () const |
| Throws std::runtime_error naming the first array whose length disagrees. | |
Public Attributes | |
| std::vector< std::array< float, 3 > > | means |
| world-space centres [m] | |
| std::vector< std::array< float, 3 > > | scales |
| log-scales, per axis | |
| std::vector< std::array< float, 4 > > | quats |
| rotation (w, x, y, z) | |
| std::vector< float > | opacities |
| logit-opacity | |
| std::vector< std::array< float, 3 > > | sh_dc |
| degree-0 SH per channel | |
| std::vector< std::vector< float > > | sh_rest |
| Higher-order SH, [N][(sh_bands-1)*3] flattened; empty when degree 0. | |
| int | sh_degree = 0 |
| active SH degree (0 = DC only) | |
A set of 3D Gaussians in plain host memory.
Deliberately POD-ish and torch-free: this is the module's public exchange type, so reusex_gsplat's public headers stay clear of LibTorch (the same reason ProjectDB hides sqlite3 — docs/STANDARDS.md §2). The trainer uploads these arrays into CUDA tensors internally and writes them back on save.
Storage conventions follow the reference 3DGS .ply format so a trained model opens in standard splat viewers:
All arrays are index-aligned and must be filtered or reordered together.
Definition at line 47 of file GaussianCloud.hpp.
|
inline |
Definition at line 58 of file GaussianCloud.hpp.
References means.
|
inline |
Definition at line 57 of file GaussianCloud.hpp.
References means.
| void reusex::gsplat::GaussianCloud::validate | ( | ) | const |
Throws std::runtime_error naming the first array whose length disagrees.
| std::vector<std::array<float, 3> > reusex::gsplat::GaussianCloud::means |
world-space centres [m]
Definition at line 48 of file GaussianCloud.hpp.
| std::vector<float> reusex::gsplat::GaussianCloud::opacities |
logit-opacity
Definition at line 51 of file GaussianCloud.hpp.
| std::vector<std::array<float, 4> > reusex::gsplat::GaussianCloud::quats |
rotation (w, x, y, z)
Definition at line 50 of file GaussianCloud.hpp.
| std::vector<std::array<float, 3> > reusex::gsplat::GaussianCloud::scales |
log-scales, per axis
Definition at line 49 of file GaussianCloud.hpp.
| std::vector<std::array<float, 3> > reusex::gsplat::GaussianCloud::sh_dc |
degree-0 SH per channel
Definition at line 52 of file GaussianCloud.hpp.
| int reusex::gsplat::GaussianCloud::sh_degree = 0 |
active SH degree (0 = DC only)
Definition at line 55 of file GaussianCloud.hpp.
| std::vector<std::vector<float> > reusex::gsplat::GaussianCloud::sh_rest |
Higher-order SH, [N][(sh_bands-1)*3] flattened; empty when degree 0.
Definition at line 54 of file GaussianCloud.hpp.