[vtkusers] How to pick visible actors only

Affolter Martin martin.affolter at ntb.ch
Tue Apr 5 09:39:18 EDT 2011


Hi,

I'm using the vtkPicker to select/pick actors in a scene. The unsorted collection I get from the picker is then sorted according to the calculated distance to the camera. However, I'd like to get the visible actors only (visible to the camera). Does anyone know how to accomplish that?

I'm still using VTK 4.4, so the vtkAreaPicker will not help me here... :(

Thanks for any input.

Martin Affolter

Interstaatliche Hochschule für Technik Buchs NTB
Institut für Ingenieurinformatik
NTB Campus Waldau St.Gallen
Schönauweg 4 / Postfach
9013 St. Gallen
Tel. ++41 81 755 32 49
Fax  ++41 81 755 32 01

http://institute.ntb.ch/inf.html 





More information about the vtkusers mailing list