MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0009964 | VTK | (No Category) | public | 2009-11-24 17:52 | 2016-08-12 09:55 |
| Reporter | David Doria | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0009964: vtkGraphLayoutView vertex array name | ||||
| Description | According to http://www.vtk.org/doc/nightly/html/classvtkGraphLayoutView.html#a9308e088c7bdc9a8824d7ef018754fe5 [^] the default vertex array name is "label". However, if you name the array "label" but do not explicitly set SetVertexLabelArrayName to "label", the labels are not applied correctly (the numbers are all wrong). Looking at the default array name: vtkstd::cout << "Vertex label name: " << GraphLayoutView->GetVertexLabelArrayName () << vtkstd::endl; it seems to be "VertexDegree". However, if I name the array that is added to the graph with G->GetVertexData()->AddArray "VertexDegree", the labels are still applied incorrectly. If I name the array "label" and set the VertexLabelArrayName to "label" the labels are applied properly. Here is a little demo framework: http://www.rpi.edu/~doriad/VTK_List/GraphVertexLabels/ [^] | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-11-24 17:52 | David Doria | New Issue | |||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| 2016-08-12 09:55 | Kitware Robot | Note Added: 0037121 | |||
| 2016-08-12 09:55 | Kitware Robot | Status | expired => closed | ||
| 2016-08-12 09:55 | Kitware Robot | Resolution | open => moved | ||
| 2016-08-12 09:55 | Kitware Robot | Assigned To | => Kitware Robot | ||
| Notes | |||||
|
|
|||||
|
|
||||