Skip to content

Commit

Permalink
Merge pull request #751 from PaulHax/set-tf-points
Browse files Browse the repository at this point in the history
feat(ImJoyPluginAPI): add setImagePiecewiseFunctionPoints and getter
  • Loading branch information
thewtex authored Jun 21, 2024
2 parents 3086e22 + e35ab0e commit ea89704
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ImJoyPluginAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,12 @@ class ImJoyPluginAPI {
return this.viewer.getImageColorMap(component, name)
}

setImagePiecewiseFunctionGaussians(gaussians, component, name) {
this.viewer.setImagePiecewiseFunctionGaussians(gaussians, component, name)
setImagePiecewiseFunctionPoints(points, component, name) {
this.viewer.setImagePiecewiseFunctionPoints(points, component, name)
}

getImagePiecewiseFunctionGaussians(component, name) {
return this.viewer.getImagePiecewiseFunctionGaussians(component, name)
getImagePiecewiseFunctionPoints(component, name) {
return this.viewer.getImagePiecewiseFunctionPoints(component, name)
}

setImageShadowEnabled(shadow, name) {
Expand Down

0 comments on commit ea89704

Please sign in to comment.