API / geotoolkit3d / picking / AbstractPicking / AbstractPicking
picking.AbstractPicking.AbstractPicking
Parent class for picking algorithms.
Subclasses should implement 3D picking (pixel to worldcoordinate).
Builtin implementation include raytracing and renderer-picking.
AbstractPicking
Constructors
Methods
Methods
▸ getClassName(): string
string
▸ Static getClassName(): string
string
▸ Static pick(plot, x, y, width?, height?, filter?): PickingResult[]
Pick the object(s) at the given plot coordinates
| Name | Type | Description |
|---|---|---|
plot | Plot | The target plot |
x | number | The x coordinate in plot device space (in pixels) |
y | number | The y coordinate in plot device space (in pixels) |
Optional width | number | The picking width in pixels |
Optional height | number | The picking height in pixels |
Optional filter | FilterFunction | Optional custom filter to decide which object to exclude for picking. |
An array of jsons containing the intersecting object3d(s)