[Paraview] Separate cell information
David Doria
daviddoria at gmail.com
Fri May 29 11:03:39 EDT 2009
Utkarsh,
There is a GetNumberOfPolys and a GetNumberOfVerts function, right? (
http://www.vtk.org/doc/release/4.2/html/classvtkPolyData.html#z564_2).
You are right about the points being displayed in representation=points - I
guess I was confused because if you write a file with no topology (only
points), the points do not get displayed even in representation=points mode.
I assumed that when you turned off the only available topology (the
triangles), that the points would not be displayed even in
representation=points for the same reason, that's why I always carried
vertices around too. I should've just tried it I guess!
Thanks,
David
On Fri, May 29, 2009 at 10:14 AM, Utkarsh Ayachit <
utkarsh.ayachit at kitware.com> wrote:
> There's no way to get detail information about cell types i.e. number of
> polys, number of verts etc. in a poly-data. However I am not sure I
> understand your reason for having the verts. Do the triangles include all
> the X points? If so, you can always swicth to "Points" representation and
> look at those without glyphing.
>
> Utkarsh
>
> On Mon, May 25, 2009 at 2:13 PM, David Doria <daviddoria at gmail.com> wrote:
>
>> Often I will have a vtp file with X points, X vertices, and Y triangles.
>> In the "information", it just says (X+Y) cells. Is it possible to have it
>> display more specific information about how many of each type of cell (verts
>> vs polys in this case) there are?
>>
>> Also, can you turn off the display of vertices? I usually just turn the
>> point size down to 1, but they are still visible at the corners of the
>> triangles. I like to keep the verts in the file though because then I can
>> just switch from "surface" to "points" representation to see the vertices,
>> without having to glyph the points.
>>
>> Thanks,
>>
>> David
>>
>> _______________________________________________
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090529/20b1e89c/attachment.htm>
More information about the ParaView
mailing list