LuciadCPillar C# 2023.1.04
Luciad.Layers.Styles Namespace Reference

Namespaces

namespace  ComplexStrokes
 
namespace  Expressions
 

Classes

class  FillStyle
 This class contains styling properties to determine how an area is filled. More...
 
class  LineStyle
 This class contains styling properties to determine how a line is painted. More...
 
class  MeshStyle
 This class contains styling properties to determine how a mesh is painted. More...
 
class  OnPathLabelStyle
 This class contains styling properties to determine how a label is placed on a path. More...
 
class  PinStyle
 This class contains styling properties that can be used to configure pins for labels, see FeatureCanvas::LabelDrawCommand::pinStyle. More...
 
class  PointCloudStyle
 A class representing how point cloud data should be styled. More...
 
class  RasterStyle
 Style for rasters. More...
 

Enumerations

enum  FacetCullingType { NoCulling , BackfaceCulling , FrontfaceCulling , BasedOnData }
 An enumeration to describe facet culling used for meshes. More...
 
enum  OcclusionMode { VisibleOnly , AlwaysVisible , OccludedOnly }
 An enumeration describing when an object should be painted in 3D in relation to other 3D data. More...
 
enum  PathLabelPosition {
  Above , Port , Below , Starboard ,
  Center
}
 An enumeration describing the position of a label wrt a path. More...
 

Enumeration Type Documentation

◆ FacetCullingType

An enumeration to describe facet culling used for meshes.

luciad/layers/styles/FacetCullingType.h 2022.0

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FacetCullingType.
Enumerator
NoCulling 

Indicates that facet should not be culled.

This will paint a mesh with both its back-face and front-face.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FacetCullingType::NoCulling.
BackfaceCulling 

Indicates that the back-face of a triangle should not be painted.

This facet culling type can improve performance over FacetCullingType::NoCulling, and is recommended if you have data with correctly oriented normals. Back-face culling can have functional benefits as well. If you have a 3D scan of the interior of a building, you can use backface culling to see the interior while your camera is located on the outside of the mesh.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FacetCullingType::BackfaceCulling.
FrontfaceCulling 

Indicates that the front-face of a triangle should not be painted.

This facet culling type can improve performance over FacetCullingType::NoCulling. It is not very common to cull the front-face of the triangles of your dataset, as it will make your dataset invisible from the intended viewing angle. This facet culling mode can be used in very specialized applications, or in the case when your dataset has inverted normals.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FacetCullingType::FrontfaceCulling.
BasedOnData 

Indicates that you know or assume that the data specifies the ideal face culling mode.

If the data does not specify anything, then FacetCullingType::NoCulling will be used as the fallback mode and both faces will be shown. Use this face culling mode in these cases:

You are not sure what the ideal culling mode is, so you want FacetCullingType::NoCulling as the default mode unless there is a better option. The data set uses GLTF version 2.0 which explicitly defines face culling. The data set has a mix of double-sided and single-sided materials.

If the culling behavior of your data is not as you expected, you can still override with one of the other options. 2023.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::FacetCullingType::BasedOnData.

◆ OcclusionMode

An enumeration describing when an object should be painted in 3D in relation to other 3D data.

luciad/layers/styles/OcclusionMode.h See FeatureCanvas::IconDrawCommand::occlusionMode, FeatureCanvas::TextDrawCommand::occlusionMode and FeatureCanvas::GeometryDrawCommand::occlusionMode for details and limitations. Note that when the occlusion mode is not OcclusionMode::VisibleOnly, features won't be queryable. 2023.1.01

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::OcclusionMode.
Enumerator
VisibleOnly 

Show only the part of a shape that is not obscured by other 3D data.

This is the default.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::OcclusionMode::VisibleOnly.
AlwaysVisible 

Show the entire shape even if behind other 3D data.

The shape appears in front of other objects.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::OcclusionMode::AlwaysVisible.
OccludedOnly 

Shows only the part of the shape that is behind other 3D data.

You typically use this to display obscured shapes in combination with another style that uses OcclusionMode::VisibleOnly mode.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::OcclusionMode::OccludedOnly.

◆ PathLabelPosition

An enumeration describing the position of a label wrt a path.

luciad/layers/styles/PathLabelPosition.h 2020.2

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::PathLabelPosition.
Enumerator
Above 

Vertically align the position of the label such that it is always positioned above the path.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::PathLabelPosition::Above.
Port 

Align the position of the label such that it is always at the left side of the path when the path is followed from start to end.

2021.0

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::PathLabelPosition::Port.
Below 

Vertically align the position of the label such that it is always positioned below the path.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::PathLabelPosition::Below.
Starboard 

Align the position of the label such that it is always at the right side of the path when the path is followed from start to end.

2021.0

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::PathLabelPosition::Starboard.
Center 

Vertically align the position of the label such that it is positioned on the path.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::PathLabelPosition::Center.