[vtkusers] min and max range...???

Rakesh Patil rakeshthp at in.com
Thu Feb 11 02:06:36 EST 2010


Hello,Thanks to everyone to guide and help me. Now that I have successfully,Implemented the display of vetors(arrows). I just want to modify the displaying technique.Can anyone tell me, whether there is any method or technique to set the min and max range of the arrow size, based on a scalar values??For example,for a particular unstructured grid, i have a scalar array and it ranges from 0 to say 2500. THis is a min and max range. Based on the values, the length of arrow shaft should vary. i.e. where the scalar is 0, the arrow should be displayed must be of length say 5 pixel. and whereever 2500 is there, the length can be say 15 pixels. so accordingly the values have to be mapped and should be displayed. Is it possible in VTK..?? Can anyone guide me to solve this..??ThanksDear vtkusers ! Get Yourself a cool, short @in.com Email ID now!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100211/405a52a4/attachment.htm>


More information about the vtkusers mailing list