[Paraview] Paraview vectorplots

Berk Geveci berk.geveci at kitware.com
Thu Dec 3 06:46:49 EST 2009


VTK/ParaView does not accept 2D points or vectors. Try adding a third
component with 0 value.

-berk

On Thu, Dec 3, 2009 at 5:52 AM,  <chettkamp at scai.fraunhofer.de> wrote:
>
> Dear Paraviewexperts,
>
> as I'm new to paraview as well as the .vtk-format,
> I need to know how my inputfile for a Delaunay2D plot
> has to be set up.
> As data I only have a list of points in 2D with
> vectors applied to them.
> That means I have four values for each point:
> Two of them describing the offset (x,y) and the other two
> describing the direction (dx,dy) of the vector.
>
> So far I've got the following, but something seems to be wrong:
>
> # vtk DataFile Version 3.0
> vtk output
> ASCII
> DATASET UNSTRUCTURED_GRID
> POINTS 5433 double
> x1 y1
> x2 y2
> .. ..
> .. ..
> CELLS 1 4
> 3 0 1 2
> CELL_TYPES 1
> 5
> POINT_DATA 5433
> VECTORS Name double
> LOOKUP_TABLE default
> dx1 dy1
> dx2 dy2
> .. ..
> .. ..
>
>
> Can you help me change this, so that it works ?
> Thank you in advance, I appreciate any help.
>
> Best regards,
> Christian Hettkamp
>
> _______________________________________________
> 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
>


More information about the ParaView mailing list