Cannot control loop behavior in vtk web SphericalCamera
I'm using vtk web python modules, in particular the ImageDataSetBuilder
class, and noticed some unexpected behavior that is bubbling up from the camera
module. Namely, when using spherical sampling, the phi
dimension is written with loop='modulo'
behavior, but the theta
dimension does not use loop='modulo'
. See here. Since I'm using this for exploration of volume images, it was unintuitive that one direction could be spun all the way around, but the other one could only go in one direction.
Whether or not it's sensible that these defaults are different (I personally think they should be the same), the main issue is that the loop
parameter for each sample dimension is not exposed in the interface of SphericalCamera
. They should be properties or constructor parameters of the class.