PointCloudUniqueValueRenderer

PointCloudUniqueValueRenderer 允许您根据属性值为 PointCloudLayer 中的点着色。

关系

Extends

PointCloudUniqueValueRenderer Extends PointCloudRenderer

构造函数

PointCloudUniqueValueRenderer

PointCloudUniqueValueRenderer 允许您根据属性值为 PointCloudLayer 中的点着色。

new PointCloudUniqueValueRenderer(properties?)

返回:PointCloudUniqueValueRenderer PointCloudUniqueValueRenderer对象

属性

colorUniqueValueInfos

数组中的每个元素都是一个对象,它将唯一值与特定颜色匹配。

colorUniqueValueInfos: PointCloudUniqueValueRendererColorUniqueValueInfos

field

字段的名称,其值用于驱动可视化。

field: string

类型: string

fieldTransformType

在评估渲染器之前应用于字段值的变换。

fieldTransformType: "none" | "low-four-bit" | "high-four-bit" | "absolute-value" | "modulo-ten"

类型: "none" | "low-four-bit" | "high-four-bit" | "absolute-value" | "modulo-ten"

pointsPerInch

每显示英寸绘制的点数。

pointsPerInch: number

类型: number

type

渲染器的类型。

type: "point-cloud-unique-value"

类型: "point-cloud-unique-value"

访问器

colorModulation

根据另一个字段的值(通常是 intensity)降低点颜色的亮度。

get colorModulation(): PointCloudRendererColorModulation

返回: PointCloudRendererColorModulation 根据另一个字段的值(通常是 intensity)降低点颜色的亮度。

set colorModulation(value: PointCloudRendererColorModulationProperties): void

返回: void

legendOptions

提供在图例中显示渲染器选项的对象。

get legendOptions(): PointCloudUniqueValueRendererLegendOptions

返回: PointCloudUniqueValueRendererLegendOptions 提供在图例中显示渲染器选项的对象。

set legendOptions(value: PointCloudUniqueValueRendererLegendOptionsProperties): void

返回: void

pointSizeAlgorithm

指定如何计算点云中点的大小以进行渲染。

get pointSizeAlgorithm(): PointSizeFixedSizeAlgorithm | PointSizeSplatAlgorithm

返回: PointSizeFixedSizeAlgorithm | PointSizeSplatAlgorithm 指定如何计算点云中点的大小以进行渲染。

set pointSizeAlgorithm(value: PointSizeFixedSizeAlgorithmProperties & object | PointSizeSplatAlgorithmProperties & object): void

返回: void

方法

clone

创建渲染器的深度克隆。

clone(): PointCloudUniqueValueRenderer

返回:PointCloudUniqueValueRenderer

toJSON

将此类的实例转换为其 JSON 表示形式。

toJSON(): any

返回:any

BIMFlux AI