[vtkusers] Iso band coloring

David Doria daviddoria+vtk at gmail.com
Thu May 13 16:32:17 EDT 2010


On Thu, May 13, 2010 at 4:23 PM, Jothy <jothybasu at gmail.com> wrote:
> Hi David,
>
> Are you able to attach the values of the contours to the
> ContourEdges.If so could you add an example to wiki.
>
> Thanks,
>
> Jothy


Yep - as Bill said it is as easy as:

 bf->GetOutput(1)->GetPointData()->SetScalars(bf->GetOutput()->GetPointData()->GetScalars());

It is already added to the example.

Thanks,

David



More information about the vtkusers mailing list