Class Name: Color Table
Definition
A single Color Table within a
Color_Table_Group. A
Color Table
contains a list of Primitive Colors.
The Color Index, which is directly
associated with the Color Table Group
that contains the Color Table, indexes into
the ordered list of Primitive Colors in the
Color Table.
(Use the SE_TokenSetDefinition()
function to find the type of a class' token set.)
Primary Page in DRM Diagram:
Example
- Consider a data provider whose format specifies colors using
palettes. To convey exactly the color information used, each
palette is represented in SEDRIS as the primary
Color Table in a
Color Table Group.
FAQs
- Why do Color Tables have
Primitive Colors instead of
Inline Colors?
- Color Tables used to be composed of
Inline Colors, but problems arose since both
Color Index and Inline
Color objects can have Translucency. When
a Color Index that has a
Translucency component refers to an entry in
a Color Table, the interpretation is clearer
if the Color Table's entry cannot have any
additional Translucency. Consequently,
Primitive Color exists so that we can put
'just the color' into a Color Table's entry.
Constraints
Composed of (one-way)
Composed of (one-way metadata)
Component of (two-way)
Prev: Color Shininess.
Next: Color Table Group.
Up:Index.