Last updated

API / geotoolkit3d / widgets / scatter / ScatterPlot / ScatterPlot

Namespace: ScatterPlot

scatter.ScatterPlot.ScatterPlot

Table of contents

Type Aliases

Contents

Type Aliases

Data

Ƭ Data: DataTable | { size?: DataSeries | number[] ; value?: DataSeries | number[] ; visible?: DataSeries | number[] | boolean[] ; x?: DataSeries | number[] ; y?: DataSeries | number[] ; z?: DataSeries | number[] }

The datatable or data object


Options

Ƭ Options: Options & OptionsBase & { data: DataTable | { name?: string ; size?: DataSeries | number[] ; value?: DataSeries | number[] ; visible?: DataSeries | number[] | boolean[] ; x?: DataSeries | number[] ; y?: DataSeries | number[] ; z?: DataSeries | number[] } ; symbol?: string | SymbolTexture | SymbolGeometry }


OptionsBase

Ƭ OptionsBase: Object

Type declaration

NameTypeDescription
colorprovider?ColorProvider | string | ColorA color provider or a single color in css string or Three.Color format, define the general points color.
Will internally get converted into a ColorProvider.
gridoptionOptionsThe options for the ScatterPlot Grid. See Grid
opacity?numberDefine the points opacity.
projection?{ enable?: boolean ; frontback?: ProjectionMaterialOptions ; leftright?: ProjectionMaterialOptions ; opacity?: number ; sizefactor?: number ; topbottom?: ProjectionMaterialOptions }Define the options for the points projection on the grid planes.
projection.enable?booleanEnable/disable the projection of points on the grid planes.
This option result in create or dispose projection of points.
If user just want to toggle the visibility of the projection of points, please use toggleProjection method.
By default is true.
projection.frontback?ProjectionMaterialOptionsIf provided, it will add front and back projections
projection.leftright?ProjectionMaterialOptionsIf provided, it will add left and right projections
projection.opacity?numberThe opacity for projection.
By default is 1.0.
projection.sizefactor?numberTo manually adjust projection size.
By default is 0.66.
projection.topbottom?ProjectionMaterialOptionsIf provided, it will add top and bottom projections

OptionsBaseIn

Ƭ OptionsBaseIn: Options & Partial<OptionsBase>


OptionsBaseOut

Ƭ OptionsBaseOut: Required<Options> & OptionsBase


PointData

Ƭ PointData: Object

The point datas retrieved from the ScatterPlot.

Type declaration

NameTypeDescription
colorRgbaColorThe color of the point.
datasetnamestringThe dataset name this point belongs to, if defined. If it was not specified, it will be named "default".
indexnumberThe index of this point in its dataset.
positionVector3The 3D coordinates of this point.
sizenumberThe relative size of the point.
valuenumberThe value of the point.
visiblebooleanIf this point is flagged as visible or not.

ProjectionMaterialOptions

Ƭ ProjectionMaterialOptions: Merge<Options & { symbol?: SymbolTexture }, ProjectionOptions>


ProjectionOptions

Ƭ ProjectionOptions: Object

Type declaration

NameTypeDescription
color?string | ColorThe color of the projection
opacity?numberThe projection opacity
sizefactor?numberThe size factor of the projection of the points
symbol?BASETextureThe Symbol texture used for the projection drawing

ShaderOptionsOut

Ƭ ShaderOptionsOut: Object

Type declaration

NameTypeDescription
alphatestnumberThe opacity threshold until the pixel get discarded
colorColorThe color of the projection
opacitynumberThe projection opacity
symbolBASETextureThe Symbol texture used for the projection drawing