Last updated

API / geotoolkit3d / picking / pickingrenderer / DefaultPointCloudPickingMaterial / DefaultPointCloudPickingMaterial

Class: DefaultPointCloudPickingMaterial

pickingrenderer.DefaultPointCloudPickingMaterial.DefaultPointCloudPickingMaterial

Material used to do renderer picking on a PointCloud.

See

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new DefaultPointCloudPickingMaterial(options)

new DefaultPointCloudPickingMaterial(options)

Parameters

Name Type
optionsOptions

Overrides

AbstractShaderPickingMaterial.constructor

Methods

getOptions

getOptions(): OptionsOut

Get abstract shader picking material options, for internal use only.

Returns

OptionsOut

options

Inherited from

AbstractShaderPickingMaterial.getOptions


setOptions

setOptions(options): DefaultPointCloudPickingMaterial

Set picking options, note that this setOptions expects all mandatory parameters to be set

Parameters

Name Type Description
optionsOptionsThe picking options

Returns

DefaultPointCloudPickingMaterial

this

Inherited from

AbstractShaderPickingMaterial.setOptions


setPlotResolution

setPlotResolution(resolution): void

Parameters

Name Type
resolutionVector2

Returns

void


setRenderResolution

setRenderResolution(resolution): void

Parameters

Name Type
resolutionVector2

Returns

void


computePlotNormInvMatrix

Static computePlotNormInvMatrix(plot): Matrix4

Computes a matrix to transform coordinates contained in [0...1] to a plot model space.
This is used to un-normalize coordinates returned by the GPU.

Parameters

Name Type Description
plotPlotThe Plot to compute the inverse normalization matrix for

Returns

Matrix4

The matrix to un-normalize coordinates

Inherited from

AbstractShaderPickingMaterial.computePlotNormInvMatrix


computePlotNormMatrix

Static computePlotNormMatrix(plot): Matrix4

Computes a matrix to transform coordinates contained in the plot model space to ]0...1[.<br> This is used to normalize coordinates during picking so that the GPU will only handle normalized coordinates.<br>

Parameters

Name Type Description
plotPlotThe plot to compute the normalization matrix for

Returns

Matrix4

The matrix to normalize coordinates

Inherited from

AbstractShaderPickingMaterial.computePlotNormMatrix