[vtkusers] Coloring Isolines -> Grey
Sebastien Jourdain
jourdain at artenum.com
Wed Jun 7 04:19:21 EDT 2006
Hello Martin,
I didn't have an answer at my question yet, but I might have one for
yours...
When you do such thing :
_mapper->SetInput(_filter->GetOutput());
_mapper->ScalarVisibilityOn();
_mapper->SetScalarRange(0.0,1.0);
_mapper->SetScalarModeToUsePointFieldData();
_mapper->ColorByArrayComponent("u_y", 0);
You supposed that your data are on your points and inside a field, this
might be wrong.
You might just try to use "SetScalarModeToUsePointData" instead...
I've noticed the same trouble with my data even if I didn't manage yet
to show another color. :-)
Regards,
seb
More information about the vtkusers
mailing list