[vtkusers] non-uniform glyph scaling

Amy Henderson amy.henderson at kitware.com
Fri Aug 16 17:15:00 EDT 2002


If you want to specify what glyph to use, try using vtkGlyph3D instead of 
vtkHedgeHog.  In the class vtkGlyph3D, you can also specify a scale 
mode.  (In your case, you'd call SetScaleModeToScaleByVector().)

- Amy

At 03:06 PM 8/16/2002 -0600, John Clyne wrote:
>Hi,
>
>How would one go about scaling a glyph non-uniformly? I.e. I'd like to only
>scale it along the vector that orients it by the magnitude of that vector
>rather than scaling it uniformly in all three dimensions. Alternatively, is
>there a way to specify an alternate glyph for vtkHedgeHog (something other
>than a simple line).
>
>thanks!
>
>
>John Clyne      (clyne at ncar.ucar.edu)
>National Center for Atmospheric Research
>P.O. Box 3000, Boulder, Colorado 80307
>(303) 497-1236  FAX (303) 497-1298
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: 
><http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers






More information about the vtkusers mailing list