![]() |
FlowEngine 9.000
Photogrammetry Software Development Kit
|
#include <GaussianSplatsInterface.h>
Public Member Functions | |
| virtual FLE_DLL Index | getSplatCount () const =0 |
| virtual FLE_DLL Result | getSplatPosition (Index idx, Point3 &outPosition) const =0 |
| virtual FLE_DLL Result | getSplatScaleAndRotation (Index idx, Vector3 &outScales, Quaternion &outRotation) const =0 |
| virtual FLE_DLL Result | saveToPly (ConstStringBuffer filePath, bool saveSHBands=false, bool useBinaryEncoding=true) const =0 |
| virtual FLE_DLL | ~GaussianSplatsInterface ()=default |
Public Member Functions inherited from FlowEngine::NamedObjectInterface | |
| virtual FLE_DLL Result | getName (StringBuffer outName) const =0 |
| virtual FLE_DLL Size | getNameLength () const =0 |
| virtual FLE_DLL Result | setName (ConstStringBuffer name)=0 |
| virtual FLE_DLL | ~NamedObjectInterface ()=default |
Public Member Functions inherited from FlowEngine::BulkAccessInterface | |
| virtual FLE_DLL Index | getPointCount () const =0 |
| virtual FLE_DLL Result | getPointData (DataType type, Buffer< void > outData) const =0 |
| virtual FLE_DLL Result | setPointData (DataType type, ConstBuffer< void > data)=0 |
| virtual FLE_DLL | ~BulkAccessInterface ()=default |
Additional Inherited Members | |
Public Types inherited from FlowEngine::BulkAccessInterface | |
| enum | DataType { DataType_Positions , DataType_Normals , DataType_Colors , DataType_TexCoords , DataType_SplatInfo } |
Stores a Gaussian Splat point cloud object for the FlowEngine interface.
|
virtualdefault |
Default virtual destructor.
|
pure virtual |
|
pure virtual |
Returns the position of the splat at index idx.
| [in] | idx | the index of the position to retrieve. Must be in the range [0, getSplatCount()). |
| [out] | outPosition | the retrieved splat position |
|
pure virtual |
Returns the scale and rotation of the splat at index idx.
| [in] | idx | the index of the scale and rotation to retrieve. Must be in the range [0, getSplatCount()). |
| [out] | outScales | the retrieved splat scales. |
| [out] | outRotation | the retrieved splat rotation. |
idx is out of range.
|
pure virtual |
Save the point cloud to PLY file
| [in] | filePath | UTF-8 encoded path to the output PLY file |
| [in] | saveSHBands | whether to save the Spherical Harmonics bands in the PLY file as custom properties. The file size will be significantly larger if this option is enabled. |
| [in] | useBinaryEncoding | whether to save the PLY file in binary encoding. If false, the file will be saved in ASCII encoding. Binary encoding results in smaller files, but may not be compatible with all software that supports PLY files. |