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 < [email protected]> 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 <[email protected]> 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 >> >> >
_______________________________________________ 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
