[vtkusers] ScalarBar and LookupTable
Xianjin Yang
Yang at AGIUSA.COM
Thu Sep 11 16:53:56 EDT 2003
Hi vtkusers,
I color my objects using vtkUnsignedCharArray instead of vtkLookUpTable. To
create a vtkScalarBarActor, I have to do
scalarBar->SetLookupTable(mapper->GetLookupTable());
However, I have never created any lookup table explicitly, so my scalar bar
always shows a color spectrum from Red to Blue. My questions are: Do I have to
explicitly create a lookup table to reflect my custom color scheme? How do I let
my scalar bar show my custom color scheme defined by vtkUnsignedCharArray?
Thanks a lot
Yang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030911/f2b2d3b8/attachment.htm>
More information about the vtkusers
mailing list