LuciadCPillar 2026.1.02
Loading...
Searching...
No Matches
luciad::GaussianSplatsStyle Class Referencefinal

This class contains styling properties to determine how 3D Gaussian splats are painted. More...

#include <luciad/layers/styles/GaussianSplatsStyle.h>

Classes

class  Builder
 A builder class for creating Gaussian splats styles. More...

Public Member Functions

Builder asBuilder () const
 Returns a GaussianSplatsStyle builder that has all properties of this GaussianSplatsStyle.
const std::optional< StyleExpression< Color > > & getColorExpression () const
 Returns the color expression used to paint the splats, or std::nullopt if no expression was set.
const std::optional< StyleExpression< Coordinate > > & getDisplacementExpression () const
 Returns the expression used to displace the splats, or std::nullopt if no expression was set.
double getOpacityCutoff () const
 Returns the opacity cutoff below which splats are no longer painted.
double getResolutionScale () const
 Returns the factor used to scale down the resolution of the splats.
const std::optional< StyleExpression< double > > & getScaleExpression () const
 Returns the expression used to scale the size of the splats, or std::nullopt if no expression was set.
const std::optional< StyleExpression< bool > > & getVisibilityExpression () const
 Returns the expression used to make (parts of) the splats visible or invisible, or std::nullopt if no expression was set.
bool hasHighPrecisionColors () const
 Returns whether high-precision color rendering is enabled.
bool isDepthEnabled () const
 Returns whether the depth is available for use.

Static Public Member Functions

static Builder newBuilder ()
 Creates a new builder for creating a GaussianSplatsStyle.

Detailed Description

This class contains styling properties to determine how 3D Gaussian splats are painted.

For more information, see the article on visualizing Gaussian splatting data.

Since
2026.1

Member Function Documentation

◆ asBuilder()

Builder luciad::GaussianSplatsStyle::asBuilder ( ) const

Returns a GaussianSplatsStyle builder that has all properties of this GaussianSplatsStyle.

Returns
a GaussianSplatsStyle builder that has all properties of this GaussianSplatsStyle.

◆ getColorExpression()

const std::optional< StyleExpression< Color > > & luciad::GaussianSplatsStyle::getColorExpression ( ) const

Returns the color expression used to paint the splats, or std::nullopt if no expression was set.

Returns
the color expression used to paint the splats, or std::nullopt if no expression was set.

◆ getDisplacementExpression()

const std::optional< StyleExpression< Coordinate > > & luciad::GaussianSplatsStyle::getDisplacementExpression ( ) const

Returns the expression used to displace the splats, or std::nullopt if no expression was set.

Returns
the expression used to displace the splats, or std::nullopt if no expression was set.

◆ getOpacityCutoff()

double luciad::GaussianSplatsStyle::getOpacityCutoff ( ) const

Returns the opacity cutoff below which splats are no longer painted.

Returns
the opacity cutoff below which splats are no longer painted.

◆ getResolutionScale()

double luciad::GaussianSplatsStyle::getResolutionScale ( ) const

Returns the factor used to scale down the resolution of the splats.

Returns
the factor used to scale down the resolution of the splats.

◆ getScaleExpression()

const std::optional< StyleExpression< double > > & luciad::GaussianSplatsStyle::getScaleExpression ( ) const

Returns the expression used to scale the size of the splats, or std::nullopt if no expression was set.

Returns
the expression used to scale the size of the splats, or std::nullopt if no expression was set.

◆ getVisibilityExpression()

const std::optional< StyleExpression< bool > > & luciad::GaussianSplatsStyle::getVisibilityExpression ( ) const

Returns the expression used to make (parts of) the splats visible or invisible, or std::nullopt if no expression was set.

Returns
the expression used to make (parts of) the splats visible or invisible, or std::nullopt if no expression was set.

◆ hasHighPrecisionColors()

bool luciad::GaussianSplatsStyle::hasHighPrecisionColors ( ) const

Returns whether high-precision color rendering is enabled.

Returns
whether high-precision color rendering is enabled.

◆ isDepthEnabled()

bool luciad::GaussianSplatsStyle::isDepthEnabled ( ) const

Returns whether the depth is available for use.

Returns
whether the depth is available for use.

◆ newBuilder()

Builder luciad::GaussianSplatsStyle::newBuilder ( )
static

Creates a new builder for creating a GaussianSplatsStyle.

Returns
a new builder for creating a GaussianSplatsStyle.