[vtkusers] How to quickly shows the vertex id

Rockydut Rockydut at gmail.com
Wed Dec 17 04:58:15 EST 2014

I use the vtkLabeledDataMapper to shows the vertex ids. A simple code as

VTK_CREATE(vtkLabeledDataMapper, labelMapper);

However, if there are many vertex ids need to be show in text form, it is
very slow.
How to quickly shows the vertex ids if there are millions of vertexs.

Furthermore, if the coordinates and ids are stored in a vector, such as:
struct {double x, double y, double z}Coord;
vector<vtkIdType> vecID;
vector<Coord> vecCoor;
How to show the vecID in the window?

View this message in context: http://vtk.1045678.n5.nabble.com/How-to-quickly-shows-the-vertex-id-tp5729866.html
Sent from the VTK - Users mailing list archive at Nabble.com.

More information about the vtkusers mailing list