Blender V5.3
blender::io::gsplat Namespace Reference

Classes

class  GsplatMutableAttributeAccessor
struct  OriginalActivationFunctions

Functions

int degree_for_dimension (const int dimension)
int dimension_for_degree (const int degree)
void get_spherical_harmonics (const Span< MutableSpan< float3 > > sh_attrs, const int point_index, const MutableSpan< float3 > spherical_harmonics)
void set_spherical_harmonics (const Span< MutableSpan< float3 > > sh_attrs, const int point_index, const Span< float3 > spherical_harmonics)

Function Documentation

◆ degree_for_dimension()

int blender::io::gsplat::degree_for_dimension ( const int dimension)
inline

◆ dimension_for_degree()

int blender::io::gsplat::dimension_for_degree ( const int degree)
inline

◆ get_spherical_harmonics()

void blender::io::gsplat::get_spherical_harmonics ( const Span< MutableSpan< float3 > > sh_attrs,
const int point_index,
const MutableSpan< float3 > spherical_harmonics )
inline

Definition at line 84 of file IO_gsplat.hh.

References blender::BLI_assert(), and get_spherical_harmonics().

Referenced by get_spherical_harmonics().

◆ set_spherical_harmonics()

void blender::io::gsplat::set_spherical_harmonics ( const Span< MutableSpan< float3 > > sh_attrs,
const int point_index,
const Span< float3 > spherical_harmonics )
inline

Definition at line 95 of file IO_gsplat.hh.

References blender::BLI_assert(), and set_spherical_harmonics().

Referenced by set_spherical_harmonics().