LuciadCPillar 2024.0.02
|
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... | |
A class representing how point cloud data should be styled.
PointCloudStyle::Builder luciad::PointCloudStyle::asBuilder | ( | ) | const |
Returns a PointCloudStyle builder that has all properties of this PointCloudStyle.
const std::optional< StyleExpression< Color > > & luciad::PointCloudStyle::getColorExpression | ( | ) | const |
Returns the color expression that determines the color of each point of the point cloud.
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.
std::nullopt
if no expression was set. 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.
|
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.