[vtkusers] Any ideas for showing selected items?

Doug Hoppes dhoppes at mbfbioscience.com
Thu Sep 5 07:06:07 EDT 2013


Thanks for the reply, Alex.  Yeah, I'm discovering that.  Changing color or transparency was the best option that I had, but the user needs to change the color and transparency of the object that is selected... so, that makes it a bit moot.

One idea that I did (which is okay) is to create a glyph3D sphere source in the center of my selected objects and then put the glyph3D actor in another rendering layer (so that it always showed).  This is okay... but, not great.

From: Alex Malyushytskyy [mailto:alexmalvtk at gmail.com]
Sent: Wednesday, September 04, 2013 4:51 PM
To: Doug Hoppes
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] Any ideas for showing selected items?

There are not that many choices. You either outline or change color.

Outlining works the best for 2D. With all the 3D geometry I worked it is very time consuming or not informative.

Color is used in any CAD system I ever worked with. Especially if you need to select not whole actor but some polygons, edges or nodes,
Alex


On Wed, Sep 4, 2013 at 5:24 AM, Doug Hoppes <dhoppes at mbfbioscience.com<mailto:dhoppes at mbfbioscience.com>> wrote:
Hi all,

                Okay, I'm stuck.  I have around 20,000 items in my scene.  I need some sort of indicator for the user to select 10,000 of them.  So, I have my list of 10,000 selected items.  Any ideas on a way to show that the objects are selected?  VTKActors are pretty heavy weight, so the idea was going with a glyph.  However, the objects are various meshes/surfaces.  So, if I create a glyph, it may be inside of the surface and the user won't be able to know if the item is selected.

                My only thought is some sort of mesh outline that is a glyph, rather than an actor.  Note: I can't just turn all of the selected items to wireframes because there is an option to show the surface as a wireframe.  I thought of making the surface semi-transparent, but the user's also want to control the transparency of the item that is selected.

Doug

_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130905/8dcdc2a0/attachment.htm>


More information about the vtkusers mailing list