[vtkusers] vtkHardwareSelector Can't work with vtkUnstructuredGrid data?
xjtuzxl at 163.com
Tue Nov 11 22:38:53 EST 2014
Thanks very much.
vtkHardwareSelector seems to select point sometimes wrong, but it works very well with cell.
Why doesn't paraview have such problem about selecting points?
At 2014-11-10 23:58:24, "David E DeMarle" <dave.demarle at kitware.com> wrote:
VTK won't render UnstructuredGrid (UG) directly (other than in volume rendering) either.
So, apply the vtkDataSetSurface (DSSF) filter to convert the outer skin of the UG data into a vtkPolyData and render+select that.
The PassThough*Ids methods on the DSSF are there to maintain the correspondence of input cells to output cells so that you can figure out what exactly was selected in the UG.
David E DeMarle
21 Corporate Drive
Clifton Park, NY 12065-8662
On Mon, Nov 10, 2014 at 12:48 AM, Xianliang.Zeng <xjtuzxl at 163.com> wrote:
I want to select cells in a vtkUnstructuredGrid data, and I created a vtkHardwareSelector for it. And then I found nothing can be selected.
By the way, I test the vtkHardwareSelector with a vtkPolyData, and it works well.
So, why can't vtkHardwareSelector select cells from vtkUnstructuredGrid?
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers