[Paraview] vtk.vtkPoints.SetData()

2015-04-27 Thread Magician
Hi all, I’m going to generate pointclouds from CSV with Programmable Filter. On ParaView 4.1 or older, the script works: from paraview.vtk.dataset_adapter import numpyTovtkDataArray as da from paraview.vtk.dataset_adapter import vtkDataArrayToVTKArray as va pdi = self.GetInput()

[Paraview] vtk.vtkPoints.SetData()

2015-04-27 Thread Christophe Bourcier
Hi Magician, Since Paraview 4.2, you have to use column_stack instead of hstack to create a multi-component field. See this thread http://public.kitware.com/pipermail/paraview/2015-April/033756.html Christophe ___ Powered by www.kitware.com Visit other

[Paraview] selecting a cell at a point

2015-04-27 Thread Scott, W Alan
I have a user that wants to select the cell that includes a point, for instance at 1,1,1. Any idea how to do this? (I bet I'm just being dumb, this is so simple...) Thanks, Alan ___ Powered by www.kitware.com Visit other Kitware open-source projec