Last updated

API / geotoolkit3d / scene / pointset / PointCloud / PointCloud

Namespace: PointCloud

pointset.PointCloud.PointCloud

Table of contents

Namespaces
Type Aliases

Contents

Type Aliases

MemoryCapabilitiesInfo

Ƭ MemoryCapabilitiesInfo: Object

Type declaration

NameTypeDescription
limitationLimitationDescribe the current bottleneck for the provided estimation.
Please note that if the VRAM argument is not provided, it is not possible to tell if the GPU memory is the current limitation.
maxpointsnumberThe maximum number of points that can be loaded safely, with the given memory information.
Please keep in mind this is only an estimation, even if the VRAM option is provided, browsers and OSes handle RAM and VRAM memory very differently.

MemoryEstimationOptions

Ƭ MemoryEstimationOptions: Object

Type declaration

NameTypeDescription
ramnumberThe amount of estimated available RAM in bytes, that the PointCloud visual can allocate.
On average, PointCloud will use 32 bytes of RAM per point.
Additional features such as transparency can create additional memory spikes.
vram?number(Optional) The amount of estimated available VRAM (Video Memory) in bytes, that the PointCloud visual can allocate.
PointCloud will use 24 bytes of VRAM per cell.

Options

Ƭ Options: OptionsBase & { data: { sizes?: number[] | number ; values?: number[] ; visible?: boolean[] ; x?: number[] ; xyz?: Float32Array ; y?: number[] ; z?: number[] } ; name?: string }

The options


OptionsBase

Ƭ OptionsBase: Options & Options & { data?: { sizemax?: number ; sizemin?: number ; sizes?: number[] | number ; values?: number[] ; visible?: boolean[] | boolean } ; symbol?: Symbol | ThreeTexture ; symbolmaxsize?: number ; symbolminsize?: number }


OptionsBaseOut

Ƭ OptionsBaseOut: Omit<OptionsOut, "colorprovider"> & Required<Options> & { colorprovider: ColorProvider | string | Color ; data: { sizemax: number ; sizemin: number ; sizes: number[] ; values: number[] ; visible: boolean[] } ; pixelscale: number ; symbolmaxsize: number ; symbolminsize: number }


PointOptions

Ƭ PointOptions: Object

Type declaration

NameTypeDescription
size?numberThe size of the point
value?numberThe value of the point (used for color)
visible?booleanThe visibility of the point

PointOptionsOut

Ƭ PointOptionsOut: Object

Type declaration

NameTypeDescription
positionnumber[]the xyz coordinates
sizenumber-
value?number-
visibleboolean-