[vtkusers] How to change(increase or decrease) the number of points based on the distance (in pixels)

rakesh patil prakeshofficial at gmail.com
Mon Jan 31 05:52:04 EST 2011


Hello,

I want to increase the number of points in the grid dynamically. i.e.
Suppose, i have a grid with 5*5 (25) points seperated by 10 pixels each. Now
what I want is as I zoom in using mouse scroll, the number of points should
change from 25 to say, 50. The idea is distance between two points (in all
four direction, top, bottom, left and right if any) should remain 10 pixel.
So the points should be automatically created. How can I do this?

Basically, I want to display vectors and these points. And points should
dynamically change, based on the pixel difference.?

How do i do this?

Thanks
Rakesh Patil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110131/798aaddc/attachment.htm>


More information about the vtkusers mailing list