PointCloudStretchRenderer
关系
Extends
PointCloudStretchRenderer Extends PointCloudRenderer
构造函数
PointCloudStretchRenderer
PointCloudStretchRenderer 根据数字属性的值定义 PointCloudLayer 中每个点的颜色。
new PointCloudStretchRenderer(properties?)
参数
- properties?:
PointCloudStretchRendererProperties
返回:PointCloudStretchRenderer PointCloudStretchRenderer对象
属性
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-stretch"
类型: "point-cloud-stretch"
访问器
colorModulation
根据另一个字段的值(通常是 intensity)降低点颜色的亮度。
get colorModulation(): PointCloudRendererColorModulation
返回: PointCloudRendererColorModulation 根据另一个字段的值(通常是 intensity)降低点颜色的亮度。
set colorModulation(value: PointCloudRendererColorModulationProperties): void
返回: void
legendOptions
提供在图例中显示渲染器选项的对象。
get legendOptions(): PointCloudStretchRendererLegendOptions
返回: PointCloudStretchRendererLegendOptions 提供在图例中显示渲染器选项的对象。
set legendOptions(value: PointCloudStretchRendererLegendOptionsProperties): void
返回: void
pointSizeAlgorithm
指定如何计算点云中点的大小以进行渲染。
get pointSizeAlgorithm(): PointSizeFixedSizeAlgorithm | PointSizeSplatAlgorithm
返回: PointSizeFixedSizeAlgorithm | PointSizeSplatAlgorithm 指定如何计算点云中点的大小以进行渲染。
set pointSizeAlgorithm(value: PointSizeFixedSizeAlgorithmProperties & object | PointSizeSplatAlgorithmProperties & object): void
参数
- value:
PointSizeFixedSizeAlgorithmProperties&object|PointSizeSplatAlgorithmProperties&object
返回: void
stops
颜色值对的数组。
get stops(): ColorStop[]
返回: ColorStop 颜色值对的数组。
方法
clone
创建渲染器的深度克隆。
clone(): PointCloudStretchRenderer
返回:PointCloudStretchRenderer
toJSON
将此类的实例转换为其 JSON 表示形式。
toJSON(): any
返回:any

BIMFlux AI
