------------------------------------------------------------------------------
| 173 | |
| 174 | //------------------------------------------------------------------------------ |
| 175 | void vtkTableToGraph::ClearLinkVertices() |
| 176 | { |
| 177 | this->ValidateLinkGraph(); |
| 178 | vtkIntArray* activeArr = |
| 179 | vtkArrayDownCast<vtkIntArray>(this->LinkGraph->GetVertexData()->GetAbstractArray("active")); |
| 180 | for (vtkIdType i = 0; i < this->LinkGraph->GetNumberOfVertices(); ++i) |
| 181 | { |
| 182 | activeArr->SetValue(i, 0); |
| 183 | } |
| 184 | this->Modified(); |
| 185 | } |
| 186 | |
| 187 | //------------------------------------------------------------------------------ |
| 188 | void vtkTableToGraph::AddLinkEdge(const char* column1, const char* column2) |