|
Open3D (C++ API)
0.19.0
|
#include <FilamentGeometryBuffersBuilder.h>
Public Member Functions | |
| TGaussianSplatBuffersBuilder (const t::geometry::PointCloud &geometry) | |
| Constructs a TGaussianSplatBuffersBuilder object. More... | |
| Buffers | ConstructBuffers () override |
| Constructs vertex and index buffers for Gaussian Splat rendering. More... | |
Public Member Functions inherited from open3d::visualization::rendering::TPointCloudBuffersBuilder | |
| TPointCloudBuffersBuilder (const t::geometry::PointCloud &geometry) | |
| filament::RenderableManager::PrimitiveType | GetPrimitiveType () const override |
| filament::Box | ComputeAABB () override |
Public Member Functions inherited from open3d::visualization::rendering::GeometryBuffersBuilder | |
| virtual | ~GeometryBuffersBuilder ()=default |
| virtual void | SetDownsampleThreshold (size_t min_points) |
| virtual void | SetWideLines () |
| virtual void | SetAdjustColorsForSRGBToneMapping (bool adjust) |
|
explicit |
Constructs a TGaussianSplatBuffersBuilder object.
Initializes the Gaussian Splat buffers from the provided geometry and ensures that all necessary attributes are present and correctly formatted. If the geometry is not a Gaussian Splat, a warning is issued. Additionally, attributes like "f_dc", "opacity", "rot", "scale", and "f_rest" are checked for their data type, and converted to Float32 if they are not already in that format.
|
overridevirtual |
Constructs vertex and index buffers for Gaussian Splat rendering.
This function creates and configures GPU buffers to represent a Gaussian Splat point cloud. It extracts attributes like positions, colors, rotation, scale, and spherical harmonics coefficients from the provided geometry_ and organizes them into separate vertex buffer attributes.
The vertex buffer contains the following attributes:
Each attribute is checked and converted to the expected data type if necessary, and missing attributes are initialized with default values.
Reimplemented from open3d::visualization::rendering::TPointCloudBuffersBuilder.