[vtkusers] Possible bug in vtkRenderedGraphRepresentation

Jeff Baumes jeff.baumes at kitware.com
Sat Sep 26 14:55:28 EDT 2009


Yes, definitely a bug. If you are feeling motivated, please go ahead
and fix it ...

Jeff

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