gl-select-static

WebJar for gl-select-static

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

gl-select-static
Last Version

Last Version

2.0.7
Release Date

Release Date

Type

Type

jar
Description

Description

gl-select-static
WebJar for gl-select-static
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/gl-vis/gl-select-static

Download gl-select-static

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/gl-select-static/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>gl-select-static</artifactId>
    <version>2.0.7</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/gl-select-static/
implementation 'org.webjars.npm:gl-select-static:2.0.7'
// https://jarcasting.com/artifacts/org.webjars.npm/gl-select-static/
implementation ("org.webjars.npm:gl-select-static:2.0.7")
'org.webjars.npm:gl-select-static:jar:2.0.7'
<dependency org="org.webjars.npm" name="gl-select-static" rev="2.0.7">
  <artifact name="gl-select-static" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='gl-select-static', version='2.0.7')
)
libraryDependencies += "org.webjars.npm" % "gl-select-static" % "2.0.7"
[org.webjars.npm/gl-select-static "2.0.7"]

Dependencies

compile (4)

Group / Artifact Type Version
org.webjars.npm : bit-twiddle jar [1.0.2,2)
org.webjars.npm : gl-fbo jar [2.0.5,3)
org.webjars.npm : ndarray jar [1.0.18,2)
org.webjars.npm : typedarray-pool jar [1.1.0,2)

Project Modules

There are no modules declared in this project.

gl-select-static

A variation of gl-select which is designed for non-animated scenes

Install

npm install gl-select-static

API

var createSelectBuffer = require("gl-select-static")

Constructor

var select = createSelectBuffer(gl, shape)

Creates a select buffer with the given shape

Methods

select.begin()

Begins a selection rendering pass.

select.end()

Finishes the selection pass.

select.query(x,y,radius)

Queries the selection buffer for all points within radius.

  • x is the x coordinate of the query point
  • y is the y coordinate of the query point
  • radius is the radius of the selection

Returns A SelectResult with the same contents as in gl-select

select.dispose()

Destroys the selection buffer and releases all associated resources

Properties

select.shape

Updates or retrieves the shape of the selection buffer.

Legal

(c) 2014 Mikola Lysenko. MIT License

org.webjars.npm

Versions

Version
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2