[vtkusers] Possible bug in vtkRenderedGraphRepresentation

David Thompson dcthomp at sandia.gov
Mon Sep 28 17:13:04 EDT 2009


> Yes, definitely a bug. If you are feeling motivated, please go ahead
> and fix it ...
Done. Revision 1.31 of VTK/Views/vtkRenderedGraphRepresentation.cxx .

	David

>
> On Thu, Sep 24, 2009 at 6:57 PM, David Thompson <dcthomp at sandia.gov>  
> wrote:
>> 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
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
>
> -- 
> Jeff Baumes, Ph.D.
> R&D Engineer, Kitware Inc.
> (518) 881-4932
> jeff.baumes at kitware.com
>





More information about the vtkusers mailing list