<br><font size=3 face="sans-serif">I'm trying to use a cone-tipped leader
with vtkCaptionActor2D. The cone appears but when zooming <b>out</b>
the cone <b>grows</b> larger (to the limit set by "SetMaximumLeaderGlyphSize"),
and when zooming <b>in</b> the cone quickly <b>shrinks</b> to nothing (long
before zooming into the objects that are being pointed to). </font>
<br>
<br><font size=3 face="sans-serif">It makes sense that the cone must be
scaled when zooming in/out, but only to maintain the size of the cone.
I'd like the cone to stay the same size (as does the length of the
leader given by SetPosition(PixelsX, PixelsY)). It would make sense
that SetLeaderGlyphSize(1.0) combined with SetMaximumLeaderGlyphSize(10)
should give a constant 10 pixel glyph size?</font>
<br>
<br><font size=3 face="sans-serif">Here's my code...</font>
<br>
<br><font size=2 color=#008000 face="Courier New">'Create object label</font>
<br><font size=2 face="Courier New">vtkCone = </font><font size=2 color=blue face="Courier New">New</font><font size=2 face="Courier New">
vtk.vtkConeSource</font>
<br><font size=2 face="Courier New">vtkCone.SetResolution(2)</font>
<br><font size=2 color=blue face="Courier New">Dim</font><font size=2 face="Courier New">
vtkLabel </font><font size=2 color=blue face="Courier New">As</font><font size=2 face="Courier New">
</font><font size=2 color=blue face="Courier New">New</font><font size=2 face="Courier New">
vtk.vtkCaptionActor2D</font>
<br><font size=2 face="Courier New">vtkLabel.SetCaption(.Item(i).ID)</font>
<br><font size=2 face="Courier New">vtkLabel.SetAttachmentPoint(sngAvgX,
sngAvgY, GTz(.Item(i).Elevation) + GTz(.Item(i).Height))</font>
<br><font size=2 face="Courier New">vtkLabel.SetThreeDimensionalLeader(1)</font>
<br><font size=2 face="Courier New">vtkLabel.SetPosition(30.0, 30.0)</font>
<br><font size=2 face="Courier New">vtkLabel.GetPosition2Coordinate.SetCoordinateSystemToDisplay()</font>
<br><font size=2 face="Courier New">vtkLabel.SetPosition2(10.0 + 10.0 *
.Item(i).ID.Length, 20.0)</font>
<br><font size=2 face="Courier New">vtkLabel.SetLeaderGlyph(vtkCone.GetOutput)</font>
<br><font size=2 face="Courier New">vtkLabel.SetLeaderGlyphSize(1.0)</font>
<br><font size=2 face="Courier New">vtkLabel.SetMaximumLeaderGlyphSize(10)</font>
<br><font size=2 face="Courier New">m_vtkRen1.AddActor2D(vtkLabel)</font>
<br>
<br><font size=3 face="sans-serif"><br>
I've never gotten a reply to my postings so I don't expect one this time.
After freaking on this for too long the extra wasted time composing
my thoughts just helps me accept the fact that I'll have to give up again.</font>
<br>
<br><font size=3 face="sans-serif">Steve Koch<br>
Applications Developer<br>
<br>
Trinity Consultants, Inc.<br>
skoch@trinityconsultants.com<br>
phone: 972-661-8881 x1332<br>
fax: +214-615-7425<br>
breeze-software.com</font>
<pre>_________________________________________________________________________
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
Received this in error, please contact the sender and delete the material
from any computer.
_________________________________________________________________________