[vtkusers] Iso band coloring
David Doria
daviddoria+vtk at gmail.com
Thu May 13 12:19:55 EDT 2010
On Thu, May 13, 2010 at 10:38 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> Try this after bf->Update();
> bf->GetOutput(1)->GetPointData()->SetScalars(bf->GetOutput()->GetPointData()->GetScalars());
> Later:
> edgeMapper->SetScalarRange( range[0], range[1]);
Very cool, thanks.
Also, this is necessary to see the bands properly in colorActor:
bf->GetOutput(0)->GetPointData()->SetActiveScalars("Scalars");
David
More information about the vtkusers
mailing list