[Paraview] Table of points to colored tube.

Jan Deca jandeca at gmail.com
Sat May 7 18:30:19 EDT 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160507/b0a9dbf9/attachment.html>


More information about the ParaView mailing list