Attached is a sample csv file.
Since the CSV file has 8 points, we can create a grid  with extents
(2x2x2). Hence set the Whole Extent on the "Table To Structured Grid"
filter to be (0, 1, 0, 1, 0, 1). Then choose the columns to use for
the point coordinates and hit apply.

I guessing what you are missing is setting of the "Whole Extent" on the panel.

Utkarsh

On Thu, Jul 23, 2009 at 11:25 AM, Lester
Anderson<[email protected]> wrote:
> Hello
>
> It is good to see that there is now CSV import functionality, which works
> fine for displaying points (e.g. using Glyphs), but if you want to do more
> interesting work, you need a structured grid. The option to take the loaded
> CSV data and convert it to a Structured Grid is listed (Table to Structure
> Grid). However, this always fails with the same error message (Windows XP
> and Vista)
>
> ERROR: In ..\..\..\src\VTK\Graphics\vtkTableToStructuredGrid.cxx, line 98
> vtkPTableToStructuredGrid (0A195768): The input table must have exactly 1
> rows. Currently it has 8 rows.
>
>
> ERROR: In ..\..\..\src\VTK\Filtering\vtkExecutive.cxx, line 757
> vtkCompositeDataPipeline (0A1952A0): Algorithm
> vtkPTableToStructuredGrid(0A195768) returned failure for request:
> vtkInformation (09987D80)
>   Debug: Off
>   Modified Time: 9473124
>   Reference Count: 1
>   Registered Events: (none)
>   Request: REQUEST_DATA
>   FORWARD_DIRECTION: 0
>   ALGORITHM_AFTER_FORWARD: 1
>   FROM_OUTPUT_PORT: 0
>
> I have tested this on a multilayer volume and it fails as above: the Table
> to Points always works. What we want is to have Paraview
> interpolate the data between the points such that a volume can be sliced
> etc. Is there a problem with this option?
>
> Lester
>
>
> ________________________________
> Windows Live Messenger: Celebrate 10 amazing years with free winks and
> emoticons. Get Them Now
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
"RTData","x","y","z"
260,0,0,0
42.56,1,0,0
57.3,0,1,0
30.5,1,1,0
31.18,0,0,1
4.38,1,0,1
19.12,0,1,1
18.13,1,1,1
_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to