Since my level of knowledge allows me to work with the vtk.js library only as a user through trial and error, could you, as an experienced developer and part of the vtk team, correct this issue, especially since it is unlikely to take much time and, if I understand correctly, the absence of such a method came as a surprise even to you.
It looks like the perfect time to make your first contribution. You gotta start somewhere
I’m happy to help you though.
You might want to consider this other example that exposes the viewType enum. By exposing, I mean it creates getViewType() and setViewType() accessors.
Okay, if I understand you correctly, since everything vital already exists for scale then I just need to add 'scale' in the same row with 'colorSpace' and other strings in macro.setGet(publicAPI, model, ['useAboveRangeColor', 'useBelowRangeColor', 'colorSpace', 'discretize', 'numberOfValues']); and that’s it?
Yes, I could also add a similar entry for colorSpace, however for now it works fine just with the specification as a string rather than a special object with the enum qualification. Is it worth changing the colorSpace if it works fine now?
I did a PR a few days ago, but it seems like it went unnoticed. Could you tell me please if everything is correct and whether any additional actions are required from me in order for this PR to be merged?