[Paraview] Problem displaying only point data
David E DeMarle
dave.demarle at kitware.com
Tue Jun 17 09:54:43 EDT 2014
Ah, I see, the spreadsheet view says that your cell types are all "Empty"
instead of "Vertex". You can confirm that by "file->save data"ing the file
out as vtu ascii and you'll find:
" …
<DataArray type="UInt8" Name="types" format="ascii" RangeMin="0"
RangeMax="0">
0 0 0 0 0 0
…
"
inside. And from vtkCellTypes.h 0 means VTK_EMPTY_CELL. So I suspect
something is going wrong where you are trying to write them all out as
1=VTK_VERTEX.
In paraview you could use the glyph filter (Glyph Type=2D, secondary Glyph
Type = Vertex) to correct for that, but you should find out what's going
wrong in the exporter if you can.
David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Tue, Jun 17, 2014 at 12:16 AM, Keith Kelly <k3ithk at gmail.com> wrote:
> David,
>
> I'm sorry, I'm not sure if I don't understand your answer or if I wasn't
> clear
> in asking my question. There's no option other than "Solid Color" for the
> coloring of the points, and even then nothing shows in the 3D view.
> ParaView
> isn't reporting any errors, but isn't showing anything. I'm attaching
> example
> files.
>
> Thanks,
> Keith
>
> On Monday 16 June 2014 22:18:35 David E DeMarle wrote:
> > Give the Calculator filter the expression "coords" to make up an
> attribute
> > array corresponding to the coordinate values.
> >
> > David E DeMarle
> > Kitware, Inc.
> > R&D Engineer
> > 21 Corporate Drive
> > Clifton Park, NY 12065-8662
> > Phone: 518-881-4909
> >
> > On Mon, Jun 16, 2014 at 10:54 PM, Keith Kelly <k3ithk at gmail.com> wrote:
> > > Hi,
> > >
> > > I have a function to write pvtu and vtu files to disk containing
> > > information about position (3 values) and value (2 values). For Cell
> > > connectivity, I only connect a point to itself, and my cell offset is
> > > then just increasing by 1 every time. For cell type I use 1. I can open
> > > these files in ParaView with no error, and I can see all the data
> (value
> > > and position) in spreadsheet view, but I have no options to display the
> > > value (magnitude) as points.
> > >
> > > Here's what I see:
> > > Spreadsheet view: http://i.imgur.com/UoWaXhj.png
> > > 3D view: http://i.imgur.com/m19ONKG.png
> > >
> > > How can I view these points colored by the magnitude of their values?
> > >
> > > Tested in ParaView 3.1.3 and ParaView 4.0.1.
> > >
> > > Thanks,
> > > Keith
> > >
> > > _______________________________________________
> > > 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://public.kitware.com/mailman/listinfo/paraview
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140617/131a7be8/attachment-0001.html>
More information about the ParaView
mailing list