[vtkusers] Scaling glyphs[Scanned]
John Platt
jcplatt at lineone.net
Wed Apr 20 15:55:53 EDT 2005
Hi Jim,
Have you tried ClampingOn() with ScalingOn(). Data scales outside the
clamp range are reset to the range end points. The data scale is then
normalized to the range 0 - 1. All glyphs with a data scale less than
the lower clamp range are therefore mapped to zero. Provided data
scaling is on (SetScaleModeToDataScalingOn()), the composite scale
factor, DataScale*ScaleFactor will also be zero.
HTH
John.
-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On
Behalf Of James C Robinson
Sent: 20 April 2005 13:46
To: Administrator
Cc: jcplatt at lineone.net
Subject: [vtkusers] Scaling glyphs[Scanned]
Dear all,
I am producing a set of glyphs using a vtkPlaneSource as the data
points. It works perfectly - when I have scaling on, the glyphs behave
appropriately. However, when I turn scaling off (whowing vector
direction only) there are glyphs placed even at points (on the
vtkPlaneSource) that are outside the body (therefore magnitude is
implicitly zero).
I can Could anybody tell me if it is possible to have the glyphs
eliminated at points that are outside the field (or where the magnitude
is zero - or less than some threshold)?
Regards,
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/20050420/aa2fbcf2/attachment.htm>
More information about the vtkusers
mailing list