[vtkusers] vtkTableToGraph vertex labels

David Doria daviddoria at gmail.com
Fri Jul 12 15:13:41 EDT 2013


Can anyone explain why the vertex labels displayed in this example:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Graphs/TableToGraph

are "2" at every vertex rather than "0", "1", and "2"?

Also, I can remove the lines:

//  tableToGraph->AddLinkVertex("row");
//  tableToGraph->AddLinkVertex("column");

and the output does not change at all - perhaps my misunderstanding of
these lines is also what is causing my misunderstanding of the
displayed vertex labels?

Thanks,

David



More information about the vtkusers mailing list