[vtkusers] how to avoid resize a sphere object when render window gets changed

sergii shynkaruk sergii.shynkaruk at atracsys.com
Mon Aug 6 10:05:22 EDT 2018


Hello everyone!
I've just recently started using VTK and in my project I need to keep a
sphere unchanged. I tried this example -
https://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere. But when
I resize a window, my sphere automatically resizes as well.


Or if I set radius = SetRaduis(10) or  SetRaduis(0.1), sphere appears with
the same size, which I think is automatically adjusted with respect to main
window size.

Could you please suggest anything about it?


Thanks in advance,
Sergii




--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list