[vtkusers] vtkMapper, ColorMode Default
Henry Lehmann
henry.lehmann at informatik.tu-freiberg.de
Sat May 25 07:06:04 EDT 2013
Hello,
i am trying to understand the color mapping of vtkMapper and i am
reading the doxygen.
It is stated:
Control how the scalar data is mapped to colors. By default
(ColorModeToDefault), unsigned char scalars are treated as colors, and
NOT mapped through the lookup table, while everything else is. Setting
ColorModeToMapScalars means that all scalar data will be mapped through
the lookup table. (Note that for multi-component scalars, the particular
component to use for mapping can be specified using
theSelectColorArray()
<http://www.vtk.org/doc/nightly/html/classvtkMapper.html#a3514b38abe732117ce44f51d28fd2838>method.)
Now i wonder how unsigned char scalars are treated as colors. Do they
mean unsigned char vecors with 3 components for RGB?
Best regards,
Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130525/aa1a1361/attachment.htm>
More information about the vtkusers
mailing list