LuciadCPillar 2023.1.04
luciad::PointCloudStyle Class Referencefinal

A class representing how point cloud data should be styled. More...

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

Classes

class  Builder
 A builder class for creating point cloud styles. More...
 

Public Member Functions

PointCloudStyle::Builder asBuilder () const
 Returns a PointCloudStyle builder that has all properties of this PointCloudStyle. More...
 
const std::optional< StyleExpression< Color > > & getColorExpression () const
 Returns the color expression that determines the color of each point of the point cloud. More...
 
const std::optional< StyleExpression< Coordinate > > & getDisplacementExpression () const
 Returns the expression used to displace the point cloud, or std::nullopt if no expression was set. More...
 
const std::optional< StyleExpression< bool > > & getVisibilityExpression () const
 Returns the visibility expression that determines for each point of the point cloud if it is visible or not. More...
 

Static Public Member Functions

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

Detailed Description

A class representing how point cloud data should be styled.

Since
2022.0

Member Function Documentation

◆ asBuilder()

PointCloudStyle::Builder luciad::PointCloudStyle::asBuilder ( ) const

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

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

◆ getColorExpression()

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

Returns the color expression that determines the color of each point of the point cloud.

Returns
the color expression that determines the color of each point of the point cloud.

◆ getDisplacementExpression()

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

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

Returns
the expression used to displace the point cloud, or std::nullopt if no expression was set.
See also
PointCloudStyle::Builder::displacementExpression

◆ getVisibilityExpression()

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

Returns the visibility expression that determines for each point of the point cloud if it is visible or not.

Returns
the visibility expression that determines for each point of the point cloud if it is visible or not.

◆ newBuilder()

static Builder luciad::PointCloudStyle::newBuilder ( )
static

Creates a new builder for creating a PointCloudStyle.

By default, this builder assumes a scaling mode as "Adaptive Point Style" with a scale expression of "1.0". If you invoke any of these methods: pointSizePixels or pointSizeWorld or pointSizeAdaptive, the scaling mode and scaling expression will be replaced.

Returns
a builder that can produce PointCloudStyle objects.