Blender V5.3
blender::io::ply::GsplatPlyDataBuilder Class Reference

Public Member Functions

 GsplatPlyDataBuilder (const int num_points, const int num_rest_attributes)
float3 position (const int point) const
float f_dc (const int point, const int channel) const
float opacity (const int point) const
float scale (const int point, const int axis) const
float rotation (const int point, const int component) const
float f_rest (const int point, const int attribute_index) const
float3 expected_sh (const int point, const int coefficient) const
PlyData build () const

Public Attributes

int num_points
int num_rest_attributes

Detailed Description

Definition at line 39 of file io_ply_import_gsplat_test.cc.

Constructor & Destructor Documentation

◆ GsplatPlyDataBuilder()

blender::io::ply::GsplatPlyDataBuilder::GsplatPlyDataBuilder ( const int num_points,
const int num_rest_attributes )
inline

Definition at line 46 of file io_ply_import_gsplat_test.cc.

References num_points, and num_rest_attributes.

Member Function Documentation

◆ build()

◆ expected_sh()

float3 blender::io::ply::GsplatPlyDataBuilder::expected_sh ( const int point,
const int coefficient ) const
inline

◆ f_dc()

float blender::io::ply::GsplatPlyDataBuilder::f_dc ( const int point,
const int channel ) const
inline

Definition at line 55 of file io_ply_import_gsplat_test.cc.

Referenced by build(), and blender::io::ply::TEST_F().

◆ f_rest()

float blender::io::ply::GsplatPlyDataBuilder::f_rest ( const int point,
const int attribute_index ) const
inline

Definition at line 71 of file io_ply_import_gsplat_test.cc.

References num_rest_attributes.

Referenced by build().

◆ opacity()

float blender::io::ply::GsplatPlyDataBuilder::opacity ( const int point) const
inline

Definition at line 59 of file io_ply_import_gsplat_test.cc.

Referenced by build(), and blender::io::ply::TEST_F().

◆ position()

float3 blender::io::ply::GsplatPlyDataBuilder::position ( const int point) const
inline

Definition at line 51 of file io_ply_import_gsplat_test.cc.

References float.

Referenced by build(), and blender::io::ply::TEST_F().

◆ rotation()

float blender::io::ply::GsplatPlyDataBuilder::rotation ( const int point,
const int component ) const
inline

Definition at line 67 of file io_ply_import_gsplat_test.cc.

Referenced by build(), and blender::io::ply::TEST_F().

◆ scale()

float blender::io::ply::GsplatPlyDataBuilder::scale ( const int point,
const int axis ) const
inline

Definition at line 63 of file io_ply_import_gsplat_test.cc.

Referenced by build(), and blender::io::ply::TEST_F().

Member Data Documentation

◆ num_points

int blender::io::ply::GsplatPlyDataBuilder::num_points

◆ num_rest_attributes

int blender::io::ply::GsplatPlyDataBuilder::num_rest_attributes

Definition at line 44 of file io_ply_import_gsplat_test.cc.

Referenced by build(), f_rest(), and GsplatPlyDataBuilder().


The documentation for this class was generated from the following file: