Teng,

When you saved your data to a csv file, you lost all cell information. If you 
want to look at cells in your data, you will have to recreate them.

The easiest way to create cells is probably to use the Delaunay 2D filter. 
Note, however, that the cells created will not be the same as in your original 
vtk file.

If you want to keep your original cells, you will have to save them in a file 
that supports cell topology. One way to do that is when you save your csv file, 
also save a vtk file of the same data. Then, after you have run Matlab, load 
both the csv file and the vtk file. Do the TableToPoints on the csv data as 
before. Then use append attributes to copy the csv data to the vtk cell data.

-Ken

Sent from my iPad

On Jul 26, 2017, at 12:41 AM, Li, Teng 
<[email protected]<mailto:[email protected]>> wrote:

Dear Paraview developers,

I have a question about how to convert point data (vtk file) to 2d plane data. 
Actually, originally, I was working with vtk file. Then I use the extract 
selection to select some cells in the original model. In order to process the 
data of the selected cells, I save the data as the csv file. Then I use Matlab 
to do some calculation on the data in the csv file. After that, I open the 
modified csv file by using Paraview directly. And now, I can only see this csv 
file in spreadsheet view. After searching some online information, I use 
TabletoPoint to convert the data to point data. However, I still want to view 
them as the 2d cell. So I use point interpolation to try to convert the points 
data to 2d plane cell data. However, It doesn't work.

So my question is, how to show the data value in the space between different 2d 
points data by using point interpolation? Or is there any way that I can 
process the 2d cell plane data without saving it as the csv file?

Best,
Teng Li


Teng Li

Master Candidate in Structures

Department of Civil and Environmental Engineering

University of Illinois at Urbana-Champaign

205 North Mathews Ave, Urbana, IL. 61801

Phone:(217)8196210, Email: [email protected]<mailto:[email protected]>



_______________________________________________
Powered by www.kitware.com<http://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
_______________________________________________
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

Reply via email to