Oscar Lorentzon
7ee9d1ff48
feat(spatial): remove references to atomic reconstructions
2019-11-08 09:06:30 +01:00
Oscar Lorentzon
f7580bfe5f
docs: include components and configurations in docs
...
Document bearing and zoom components and include in docs.
Include component size enum in public API.
2019-03-19 15:40:52 +01:00
Oscar Lorentzon
5338d10b6c
refactor: extract method for pairwise mouse drag observable
2018-11-01 05:12:10 +00:00
Oscar Lorentzon
30f38bc4be
feat: add earth control handler for panning
2018-10-30 19:33:21 +00:00
Oscar Lorentzon
f6d0479452
feat: cache reconstructions in dedicated class
...
Use cache class to fetch data in component.
2018-10-15 14:18:09 +00:00
Oscar Lorentzon
48edfcac02
feat: add boiler plate spatial data component
...
Request atomic reconstruction.
2018-10-10 06:32:57 +00:00
Oscar Lorentzon
ed16dc589a
feat: handle 2d and 3d domains for tags
...
Polygons can have straight lines between vertices either
in the distorted 2D domain of the image or in the
undistorted 3D domain of the viewer space.
Add option to outline tag for selecting domain. Default
to 2D domain to keep existing behavior compatible.
Polygons in 2D domain are subsampled and can therefore not
be editable.
2018-09-06 07:51:16 +00:00
Oscar Lorentzon
6ac5c84559
refactor(mouse): move image boundary logic
...
Move logic to separate function to make it reusable.
2018-08-27 10:40:53 +00:00
Oscar Lorentzon
71908b967b
feat(zoom): add zoom component
...
Add zoom component with zoom in and out buttons.
2018-05-23 12:34:59 +00:00
Oscar Lorentzon
422a8e4b79
refactor(slider): rename state to gl renderer
2018-04-24 12:33:50 +00:00
Oscar Lorentzon
ae1986bde6
refactor(slider): render with dom renderer
...
Add new slider DOM renderer class handling virtual node
creation.
Use DOM renderer for rendering slider range input.
Remove unused DOM properties from slider state.
2018-04-24 11:44:42 +00:00
Oscar Lorentzon
ed4e7976c1
refactor: move mesh factory and scene to utils
...
Mesh factory and scene are used in mulitple components
so should be considered utils.
2018-04-24 06:32:32 +00:00
Oscar Lorentzon
551ba53eb8
refactor: move shaders to general folder
...
Move shaders to base folder to indicate that all components
may use them.
Rename shader class to be general.
2018-04-23 11:46:26 +00:00
Oscar Lorentzon
89e4a28804
refactor: move slider state to separate file
2018-04-19 06:57:25 +00:00
Oscar Lorentzon
162ab9ebc9
refactor: unify emitting by moving to same class
2018-02-20 11:51:47 +01:00
Oscar Lorentzon
a6d53ab8bb
refactor: rename sequence mode enum
2018-02-20 11:51:46 +01:00
Oscar Lorentzon
c446227862
feat: add play keyboard handler
...
Fixes #259
Add key commands for play/stop, increase/decrease speed and
changing direction.
2017-12-01 11:55:04 +00:00
Oscar Lorentzon
cf3e56681d
feat: add playback visuals
...
Add playback visuals and logic for showing and hiding them.
No underlying functionality and no rendered speed slider.
2017-11-29 10:44:42 +00:00
Oscar Lorentzon
db0571674b
feat(popup): allow specifying each offset direction individually
...
Add struct for defining the offset for each float direction individually.
2017-09-27 07:35:35 +00:00
Oscar Lorentzon
3be091bc4a
refactor(tag): specific base class for create handlers
2017-09-26 12:33:04 +00:00
Oscar Lorentzon
5a83270de1
feat(tag): add create rect by drag handler
...
Claims mouse when enabled so that drag pan and scroll zoom
does not recieve emitted items.
2017-09-22 06:42:42 +00:00
Oscar Lorentzon
1aec7b9775
refactor(tag): move edit vertex logic to handler
2017-09-19 18:47:21 +00:00
Oscar Lorentzon
9185f672bb
refactor: move create vertex geos to handlers
...
Move logic for creating rectangle and polygon geometries
to handlers.
Create base class with logic and implement the set vertex
method for each geometry type.
2017-09-19 12:51:10 +00:00
Oscar Lorentzon
980c11745c
refactor: move point create logic to handler
2017-09-18 17:26:53 +00:00
Oscar Lorentzon
3637c0477f
refactor: rename sequence and spatial handlers
...
Make naming more explicit.
2017-09-04 07:32:38 +00:00
Oscar Lorentzon
e61034d8e7
feat: add key zoom handler
...
Zoom in and out with + and -.
2017-09-04 07:32:38 +00:00
Oscar Lorentzon
00cced76fd
refactor: move keyboard logic to handlers
...
Create handlers for sequence and spatial respectively.
Add docs for handlers and methods.
2017-09-04 07:25:02 +00:00
Oscar Lorentzon
536a2b8309
refactor: make mouse handler base generic handler
...
Move HandlerBase class to utils folder.
Do not have ViewportCoords as constructor param because it
is implementation specific.
2017-09-04 07:25:02 +00:00
Oscar Lorentzon
b851bcbfd6
refactor: move bounce logic to handler
2017-08-04 09:37:27 +00:00
Oscar Lorentzon
1f29ccadd0
refactor(tag): use float enum for icon alignment
...
Unify icon alignment for sprite service and tag component
by using common Float enum.
2017-06-21 12:18:09 +00:00
Oscar Lorentzon
83479a8750
refactor(tag): simplify tag mode
...
Add tag mode enum to merge two settings into one.
Use tag mode enum in component and creator.
Remove unused geometry type.
2017-06-19 11:41:02 +00:00
Oscar Lorentzon
7dd2ee9c50
refactor(tag): change tag component api
...
Add methods for adding, removing and getting tags.
Keep tags when deactivating.
Create render tags in tag set.
Remove set tags method.
Emit tag component on tags changed, tags
can be retrived with getAll method.
2017-06-19 11:40:49 +00:00
Oscar Lorentzon
d29856e89c
Add popup anchor options.
...
Anchor popup to supplied alignment or change anchor
dynamically if not set.
Add center option for centering popup.
2017-06-05 14:06:58 +00:00
Oscar Lorentzon
5785467147
Add popup component.
...
Add API for creating popup controls and adding
them to component.
Update screen position when render camera changes.
2017-06-02 09:20:07 +00:00
Oscar Lorentzon
5a977e59ef
Document mouse component and handlers.
...
Exclude private properties from docs.
Exclude internal interfaces from docs.
Include mouse component classes in docs.
2017-03-23 13:12:58 +00:00
Oscar Lorentzon
72c8361183
Do not export marker index item.
...
Define marker index item in marker set file because it
is only used there.
2017-03-20 13:55:05 +00:00
Oscar Lorentzon
06b1e65501
Add marker debug files.
2017-03-17 10:22:51 +00:00
Oscar Lorentzon
fb71ee4a30
Refactor scene logic to its own class.
2017-03-16 08:16:11 +00:00
Oscar Lorentzon
84f8ec20a5
Create markers with id, lat lon and options params.
...
Expose simple marker on global object.
Move marker types to their own folder.
Do not use altitude because it has no meaning currently.
Use mocks in marker component unit tests.
2017-03-14 11:57:59 +00:00
Oscar Lorentzon
68a3c7f99c
Rename marker index props and classes.
2017-03-13 15:17:11 +00:00
Oscar Lorentzon
0cfa5582d5
Move marker set to its own file.
2017-03-13 12:34:18 +00:00
Oscar Lorentzon
324e633986
Add handler for zooming on double click.
...
Fixes #228
2017-03-09 13:43:02 +00:00
Oscar Lorentzon
7b0fcc467f
Move mouse component to mouse folder.
2017-03-02 08:30:09 +00:00
Oscar Lorentzon
45c9d1eabc
Add touch zoom handler.
2017-02-26 17:02:17 +00:00
Oscar Lorentzon
3a9d1256c9
Add drag pan handler.
2017-02-24 15:10:49 +00:00
Oscar Lorentzon
c5fe21f34e
Add mouse handler base class.
2017-02-24 15:10:49 +00:00
Oscar Lorentzon
143d036bc7
Add scroll zoom handler.
...
Zooms on wheel events.
API for enabling and disabling.
2017-02-24 15:10:49 +00:00
Oscar Lorentzon
c2527714b7
Move tag GL and DOM creation to separate class.
...
Make GL and DOM rendering internal by moving it to
separate internal class.
Do not recreate GL objects when tag has changed to
improve performance, change the attributes instead.
Handle disposing THREE objects inside render tag
class.
2016-09-12 16:14:04 -04:00
Oscar Lorentzon
8663ea59c3
Remove unused none component.
2016-08-29 11:05:50 -04:00
Oscar Lorentzon
56fd55ac64
Remove detection component.
...
Closes #154
Closes #181
The detection component functionality has been replaced
by the more advanced tag component functionality. Besides
that the library itself should not request objects.
Therefor the detection component has become obsolete and
is removed.
2016-08-29 11:03:14 -04:00