Public Types | Public Member Functions | Static Public Member Functions | Public Attributes

ColTab::MapperSetup Struct Reference

Maps data values to color table positions: [0,1]. More...

Inheritance diagram for ColTab::MapperSetup:
CallBacker

List of all members.

Public Types

enum  Type { Fixed, Auto, HistEq }

Public Member Functions

 MapperSetup ()
 DeclareEnumUtils (Type)
 mDefSetupClssMemb (MapperSetup, Type, type)
 mDefSetupClssMemb (MapperSetup, float, cliprate)
 Auto.
 mDefSetupClssMemb (MapperSetup, bool, autosym0)
 Auto and HistEq.
 mDefSetupClssMemb (MapperSetup, float, symmidval)
 mDefSetupClssMemb (MapperSetup, int, maxpts)
 Auto and HistEq.
 mDefSetupClssMemb (MapperSetup, int, nrsegs)
 All.
 mDefSetupClssMemb (MapperSetup, float, start)
 mDefSetupClssMemb (MapperSetup, float, width)
bool operator== (const MapperSetup &) const
bool operator!= (const MapperSetup &) const
MapperSetupoperator= (const MapperSetup &)
void fillPar (IOPar &) const
bool usePar (const IOPar &)
void triggerRangeChange ()
void triggerAutoscaleChange ()

Static Public Member Functions

static const char * sKeyClipRate ()
static const char * sKeyAutoSym ()
static const char * sKeySymMidVal ()
static const char * sKeyMaxPts ()
static const char * sKeyRange ()

Public Attributes

Notifier< MapperSetuprangeChange
Notifier< MapperSetupautoscaleChange

Detailed Description

Maps data values to color table positions: [0,1].

If nrsegs_ > 0, the mapper will return the centers of the segments only. For example, if nsegs_ == 3, only positions returned are 1/6, 3/6 and 5/6.


Member Enumeration Documentation

Enumerator:
Fixed 
Auto 
HistEq 

Constructor & Destructor Documentation

ColTab::MapperSetup::MapperSetup (  ) 

Member Function Documentation

ColTab::MapperSetup::DeclareEnumUtils ( Type   ) 
void ColTab::MapperSetup::fillPar ( IOPar  )  const
ColTab::MapperSetup::mDefSetupClssMemb ( MapperSetup  ,
Type  ,
type   
)
ColTab::MapperSetup::mDefSetupClssMemb ( MapperSetup  ,
bool  ,
autosym0   
)

Auto and HistEq.

ColTab::MapperSetup::mDefSetupClssMemb ( MapperSetup  ,
float  ,
start   
)
ColTab::MapperSetup::mDefSetupClssMemb ( MapperSetup  ,
float  ,
width   
)
ColTab::MapperSetup::mDefSetupClssMemb ( MapperSetup  ,
float  ,
symmidval   
)

Auto and HistEq. Usually mUdf(float)

ColTab::MapperSetup::mDefSetupClssMemb ( MapperSetup  ,
float  ,
cliprate   
)

Auto.

ColTab::MapperSetup::mDefSetupClssMemb ( MapperSetup  ,
int  ,
maxpts   
)

Auto and HistEq.

ColTab::MapperSetup::mDefSetupClssMemb ( MapperSetup  ,
int  ,
nrsegs   
)

All.

bool ColTab::MapperSetup::operator!= ( const MapperSetup  )  const
MapperSetup& ColTab::MapperSetup::operator= ( const MapperSetup  ) 
bool ColTab::MapperSetup::operator== ( const MapperSetup  )  const
static const char* ColTab::MapperSetup::sKeyAutoSym (  )  [inline, static]
static const char* ColTab::MapperSetup::sKeyClipRate (  )  [inline, static]
static const char* ColTab::MapperSetup::sKeyMaxPts (  )  [inline, static]
static const char* ColTab::MapperSetup::sKeyRange (  )  [inline, static]
static const char* ColTab::MapperSetup::sKeySymMidVal (  )  [inline, static]
void ColTab::MapperSetup::triggerAutoscaleChange (  ) 
void ColTab::MapperSetup::triggerRangeChange (  ) 
bool ColTab::MapperSetup::usePar ( const IOPar  ) 

Member Data Documentation