Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(viewer.js): Polygon/Point/Ellipse/Rectangle 2D and 3D bulk an…
…notations support (#116) * Bump dcmjs, dicomweb-client and ol versions * Export utils * Only render polygons inside boundaries of viewport * Reload annotations on viewport changes * Address caching of bulk data annotations * Rollback annotations optimization * Improve for loop * Improve performance * Improve performance * Add multi layer support (auto replace) and basic color support * Remove test code * Use random points instead of centroids for points layer * Extract utils and allow selection of polygons * Run viewport checks only for polygons * Process annotations even if measurements request failed * Update workflow to use yarn * Bump actions * Update cache dependency path * Add lock file * Remove node 12x * Run linting * Use clusters * Extract style functions * Add point support alongisde polygon * Add 2d support * Remove unused cluster func * Unify geometry functions * Fix 2d and 3d annotation toggling * Add ellipse and rectangle * Fix ellispe rotation * Address array errors * Properly dispose layers to avoid memory leaks * Dispose overview map on cleanup function * Update open layers * Revert "Update open layers" This reverts commit a1829de. * Update cleanup function * Update condition for source clear * Improve error logging * Fix annotation group algorithm logic check * Add warnings for annotation group sequence index * Fix changing color of annotation disposing source issue and top left bottom right inverted * Fallback to p10 to retrieve coordinate and graphic index / render clusters with one feature * Change default color and width of polygons * Add support for polyline * Use right geometry for polyline * Calculate affine for right pyramid level * Render clusters if numberOfAnnotations is greater than 1000 * Refactor styles update for layers * Revert "fix: Setup the dynamic import so it is separate from other packages (#113)" This reverts commit 2834944. * Refactor cluster styles and fix shadowed clusters issue * feat: add reference series sequence tag (#126) * feat: add reference series sequence tag * fix: change to referencedSeriesInstanceUID * feat: add pointer move event (#128) * Update lock * Lint * Update tests --------- Co-authored-by: Pedro H. Köhler <[email protected]>
- Loading branch information