[vtkusers] non-uniform glyph scaling

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Sat Aug 17 04:29:02 EDT 2002


> Well, unless i'm doing something silly (always a possibility) using
> SetScaleModeToScaleByVector scales the glyph in *all* three dimensions by
> the magnitude of the vector. I only want to scale along the X axis (assuming
> the glyph is oriented along the X axis). I.e. I only want to change the length
> of the glyph in response to the vector magnitude.

SetScaleModeToScaleByVectorComponents will scale by x,y,z seperately, use a vector of
{1,1,27.6} and you'll get elongation along one axis and no change on the other 2.

JB




More information about the vtkusers mailing list