Hi,
When trying to draw a velocity field (simple square -> 4 points with 2
triangles) using Glyphs I receive the following error:
qDrawShadeRect: Invalid parameters
qDrawShadeRect: Invalid parameters
Steps to reproduce:
- Open attached file with Paraview 3.8.1
- Open the attached file
- Click apply (shows the square)
- Click Glyphs (error messages are shown
If I click Apply for the Glyphs, 4 horizontal arrows (should be in a
direction?) are shown at
each point (should be in each Cell...).
Is there something wrong with my input file, or is this a bug in Paraview?
Thanks for you help,
Luis Manuel
<VTKFile version="0.1" byte_order="LittleEndian" type="UnstructuredGrid">
<UnstructuredGrid>
<Piece NumberOfCells="2" NumberOfPoints="4">
<Points>
<DataArray NumberOfComponents="3" format="ascii" type="Float32">
0 0 0
1 0 0
0 1 0
1 1 0
</DataArray>
</Points>
<Cells>
<DataArray format="ascii" Name="connectivity" type="Int32">
0 1 3
3 2 0
</DataArray>
<DataArray format="ascii" Name="offsets" type="Int32">
3
6
9
</DataArray>
<DataArray format="ascii" Name="types" type="UInt8">
5
5
</DataArray>
</Cells>
<PointData/>
<CellData>
<DataArray NumberOfComponents="3" format="ascii" Name="myVelocity"
type="Float32">
5.5 5.5 0
5.5 5.5 0
</DataArray>
</CellData>
</Piece>
</UnstructuredGrid>
</VTKFile>
_______________________________________________
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