Hi all, I've been stuck with the following for a while.
Given is a table (using the TableToPoints filter) of X,Y,Z,N (4 columns, 3 coordinates and the density at those coordinates) over time. I would like to connect those points and color the tube according to the density, N, at that point.
Using the Programmable Filter I managed to connect the points as follows: pdi =self.GetPolyDataInput() pdo =self.GetPolyDataOutput() numPoints =pdi.GetNumberOfPoints() pdo.Allocate() fori inrange(0, numPoints-1): points =[i, i+1] pdo.InsertNextCell(3, 2, points) Unfortunately I do not manage to include the density component. It would be awesome if somebody could help me out. Thank you! Jan
_______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Search the list archives at: http://markmail.org/search/?q=ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview
