 |
OpendTect
6.6
|
Go to the documentation of this file.
14 #include "generalmod.h"
42 {
return colorForIndex( indexForValue(v) ); }
void setMapper(const Mapper *m)
Definition: coltabindex.h:46
Looks up color for certain value. Keeps a pre-calc list of colors.
Definition: coltabindex.h:32
Color Table
Definition: coltab.h:22
int nrcols_
Definition: coltabindex.h:54
#define mExpClass(module)
Definition: commondefs.h:177
int nrCols()
Definition: coltabindex.h:48
void setNrCols(int n)
Definition: coltabindex.h:47
Color colorForIndex(int) const
void update()
Call when sequence, mapper, or nr cols changed.
Maps from [0,1] -> Color.
Definition: coltabsequence.h:37
IndexedLookUpTable(const Sequence &, int nrcols=0, const Mapper *m=0)
Maps data values to colortable positions: [0,1].
Definition: coltabmapper.h:84
const Mapper * mapper_
Definition: coltabindex.h:53
mODTextTranslationClass(IndexedLookUpTable)
int indexForValue(float) const
const Sequence & seq_
Definition: coltabindex.h:52
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer,...
Definition: color.h:26
TypeSet< Color > cols_
Definition: coltabindex.h:55
Color color(float v) const
Definition: coltabindex.h:41
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021