[Paraview] Implementing a scrollbar and 1:1 image viewing
v.varadhan at californiadigital.com
v.varadhan at californiadigital.com
Fri, 5 Mar 2004 03:19:14 -0800 (PST)
Hi All,
I have been trying to implement a scrollbar and 1:1 image rendering on
Paraview. I tried adding scrollbar using the tk script but while setting
the "yscrollbar command" option, it gave me an error saying it can be
configured only on a canvas or a label/text frame.
So, now i am implementing scrollbar through vtkKWScale, however, i am not
able to understand as to how to calculate the position of the camera to
position it properly to get a 1:1 view of the image.
Currently i am just arbitarily (hard code) fixing the position of the
camera. And also, how to make the picker work properly if I have certain
widgets (ex: line widgets) over the image during scrolling?
It would be much helpful if someone can throw some lights/hints to proceed
further.
TIA,
Best Regards,
V. Varadhan.
--
Veerapuram Varadhan,
Systems Engineer,
California Digital,
Bangalore - 68.
Ph- (080)-51158671