[vtkusers] get visible surface

David E DeMarle dave.demarle at kitware.com
Tue Aug 21 14:18:53 EDT 2012


Use this test as a start:
http://vtk.org/gitweb?p=VTK.git;a=blob;f=Rendering/OpenGL/Testing/Cxx/TestAreaSelections.cxx

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Tue, Aug 21, 2012 at 2:13 PM, David Doria <daviddoria at gmail.com> wrote:
> On Tue, Aug 21, 2012 at 1:47 PM, David E DeMarle <dave.demarle at kitware.com>
> wrote:
>>
>> Use vtkHardwareSelector, it is a more recent implementation of visible
>> surface selection. It will give you cells if you ask it to for
>> instance. See:
>> http://www.vtk.org/doc/nightly/html/classvtkHardwareSelector.html
>>
>> I think the only thing that can be done about not needing a monitor is
>> to use an offscreen rendering context (osmesa for example). Screen
>> space operations like visible surface selection get too much from the
>> infrastructure that VTK's display pipeline (and openGL underneath)
>> provide to make removing them practical.
>
>
> If you figure out how to get it to work and could fix this example:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Filtering/ExtractVisibleCells
>
> that would be great!
>
> David
>
> _______________________________________________
> Powered by 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
>



More information about the vtkusers mailing list