[vtkusers] Scaling glyphs[Scanned]

James C Robinson j.robinson at kepler-systems.com
Thu Apr 21 12:59:46 EDT 2005


 

John,

 

Just to confirm that your solution works perfectly. I set ClampingOn and
then toggle between "direction only" representation and "scaling by
magnitude" simply by using SetRange:

 

If (ShowDirectionOnly)

  pGlyphs->SetRange(0.0,averagevalue*1.e-7)

else

  pGlyphs->SetRange(0.0,1.0)

 

Perfect behaviour. Many thanks.

 

Jim

 

James C Robinson, 

*    42 Rivergrove,

         Glanmire,

         Co. Cork,

         Eire

'     +353 21 4822028

         +353 87 2393010

*    jrobinson at eircom.net> 

  _____  

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050421/e5ca16c1/attachment.htm>


More information about the vtkusers mailing list