[vtkusers] Possible bug in vtkRenderedGraphRepresentation

David Thompson dcthomp at sandia.gov
Thu Sep 24 18:57:05 EDT 2009


Hi all,

I recently stumbled across this function in VTK/Views/ 
vtkRenderedGraphRepresentation.cxx:

void vtkRenderedGraphRepresentation::SetEdgeColorArrayName(const char*  
name)
{
   this->SetVertexColorArrayNameInternal(name);
   this->ApplyColors->SetInputArrayToProcess(1, 0, 0,
     vtkDataObject::FIELD_ASSOCIATION_EDGES, name);
}

It appears that setting the edge color array name will actually change  
the vertex color array name. I'm assuming this is a cut-and-paste typo  
but don't know the code well. Can anyone say for sure?

	Thanks,
	David




More information about the vtkusers mailing list