API / geotoolkit3d / picking / AbstractPicking / AbstractPicking
picking.AbstractPicking.AbstractPicking
Parent class for picking algorithms.<br> Subclasses should implement 3D picking (pixel to worldcoordinate).<br> Builtin implementation include raytracing and renderer-picking.<br>
AbstractPicking
Constructors
- [new AbstractPicking()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.picking.abstractpicking.abstractpicking.md#new abstractpicking())
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)