Something like this, let's talk asap and solve the problem.<br><br><div class="gmail_quote">On Thu, Sep 10, 2009 at 3:42 PM, Jeff Baumes <span dir="ltr"><<a href="mailto:jeff.baumes@kitware.com">jeff.baumes@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">> This is probably a dumb question: Would it be possible to register an object<br>
> with the renderer when extra renderers are needed for picking etc. and then<br>
> only do the extra work when something is registered?<br>
<br>
</div>Yes, something like this would be a better approach. Instead of having<br>
an option DisplayHoverText on the view, the view would just enable<br>
hovers if any representation says that the user wants to see hover<br>
data on it. Representations are already registered with the view, but<br>
could contain a new IsHoverable method that could be queried by the<br>
view when it is deciding whether to do a pick render for hovers. In a<br>
graph representation, for example, IsHoverable would return true if<br>
either vertex or edge hovers were turned on.<br>
<br>
Is this near what you intended?<br>
<font color="#888888"><br>
Jeff<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>William J. Schroeder, PhD<br>Kitware, Inc.<br>28 Corporate Drive<br>Clifton Park, NY 12065<br><a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>
<a href="http://www.kitware.com">http://www.kitware.com</a><br>(518) 881-4902<br>