[vtk-developers] New feature: improved hover support

Will Schroeder will.schroeder at kitware.com
Thu Sep 10 15:44:49 EDT 2009


Something like this, let's talk asap and solve the problem.

On Thu, Sep 10, 2009 at 3:42 PM, Jeff Baumes <jeff.baumes at kitware.com>wrote:

> > This is probably a dumb question: Would it be possible to register an
> object
> > with the renderer when extra renderers are needed for picking etc. and
> then
> > only do the extra work when something is registered?
>
> Yes, something like this would be a better approach. Instead of having
> an option DisplayHoverText on the view, the view would just enable
> hovers if any representation says that the user wants to see hover
> data on it. Representations are already registered with the view, but
> could contain a new IsHoverable method that could be queried by the
> view when it is deciding whether to do a pick render for hovers. In a
> graph representation, for example, IsHoverable would return true if
> either vertex or edge hovers were turned on.
>
> Is this near what you intended?
>
> Jeff
>



-- 
William J. Schroeder, PhD
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
will.schroeder at kitware.com
http://www.kitware.com
(518) 881-4902
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20090910/464622c2/attachment.html>


More information about the vtk-developers mailing list