If you are using paraview 3.2 or greater you could always write a python programmable source, that does the reading. <br>If the file has a header with x/y/z this should work for you:<br><br>#!/usr/bin/env python<br><br>from paraview import vtk
<br>import csv<br><br>output = self.GetOutput()<br><br>points = vtk.vtkPoints()<br>cells = vtk.vtkCellArray()<br><br>file = open("/home/rmaynard/Data/blockModel/fortuna.csv")<br><br>header = csv.reader(file).next() #get the header line
<br>csvReader = csv.DictReader(file, header) #make a dict reader with the header<br>counter = 0 #need to keep track of the amount of cells<br>for line in csvReader:<br> points.InsertNextPoint(float(line['x']), float(line['y']), float(line['z'])) #add a point change the 'x' etc to what you have in your header
<br> cells.InsertNextCell(1) #each point has its own cell<br> cells.InsertCellPoint(counter)<br> counter += 1<br><br>output.SetPoints(points) #need to set points<br>output.SetVerts(cells) #need to set cells as verts<br>
<br><div class="gmail_quote">On Jan 22, 2008 5:03 PM, Jim Dow <<a href="mailto:jdow@aerotecusa.com">jdow@aerotecusa.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><font face="Arial" size="2"><span>I am looking for a
Paraview reader that will read a LIDAR point cloud in (x,y,z) coordinates
as a space or comma separated .txt file.</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>Does anyone know of
such a reader?</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>Thanks/Jim
Dow</span></font></div>
<div><font face="Arial" size="2"><span>(205)
428-6444</span></font></div></div>
<br>_______________________________________________<br>ParaView mailing list<br><a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">
http://www.paraview.org/mailman/listinfo/paraview</a><br><br></blockquote></div><br>