![]() |
OpendTect
6.3
|
Maps data values to color sequence positions: [0,1]. More...
Public Types | |
| typedef MapperSetup::RangeType | RangeType |
| typedef DataDistribution< ValueType > | DistribType |
Public Types inherited from Monitorable | |
| typedef int | ChangeType |
| typedef int64_t | IDType |
| typedef int64_t | DirtyCountType |
| typedef CNotifier< Monitorable, ChangeData > | ChangeDataNotifier |
Public Member Functions | |
| Mapper () | |
| default maps [0,1] to [0,1] More... | |
| Mapper (RangeType) | |
| Mapper (const MapperSetup &) | |
| mDeclMonitorableAssignment (Mapper) | |
| MapperSetup & | setup () |
| const MapperSetup & | setup () const |
| DistribType & | distribution () |
| const DistribType & | distribution () const |
| RangeType | getRange () const |
| guaranteed not udf More... | |
| PosType | relPosition (ValueType) const |
| [0,1] in bar More... | |
| PosType | seqPosition (ValueType) const |
| [0,1] in col seq More... | |
| int | colIndex (ValueType, int nrcolors) const |
Public Member Functions inherited from SharedObject | |
| SharedObject (const char *nm=0) | |
| SharedObject (const SharedObject &) | |
| SharedObject & | operator= (const SharedObject &) |
| bool | operator== (const SharedObject &) const |
| bool | operator!= (const SharedObject &oth) const |
| virtual SharedObject * | clone () const |
| ChangeType | compareWith (const Monitorable &) const |
Public Member Functions inherited from NamedMonitorable | |
| NamedMonitorable (const char *nm=0) | |
| NamedMonitorable (const NamedObject &) | |
| virtual | ~NamedMonitorable () |
| NamedMonitorable (const NamedMonitorable &) | |
| NamedMonitorable & | operator= (const NamedMonitorable &) |
| bool | operator== (const NamedMonitorable &) const |
| bool | operator!= (const NamedMonitorable &oth) const |
| virtual NamedMonitorable * | getClone () const |
| virtual BufferString | getName () const |
| virtual void | setName (const char *) |
Public Member Functions inherited from Monitorable | |
| Monitorable (const Monitorable &) | |
| virtual | ~Monitorable () |
| Monitorable & | operator= (const Monitorable &) |
| bool | operator== (const Monitorable &) const |
| virtual ChangeDataNotifier & | objectChanged () const |
| virtual Notifier< Monitorable > & | objectToBeDeleted () const |
| virtual void | touch () const |
| virtual DirtyCountType | dirtyCount () const |
| void | sendChangeNotification (const ChangeData &) const |
| void | sendEntireObjectChangeNotification () const |
| void | transferNotifsTo (const Monitorable &, const CallBacker *onlyfor=0) const |
Public Member Functions inherited from CallBacker | |
| CallBacker () | |
| CallBacker (const CallBacker &) | |
| virtual | ~CallBacker () |
| bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
| bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
| void | detachCB (const NotifierAccess &, const CallBack &) const |
| void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
| bool | isNotifierAttached (const NotifierAccess *) const |
| Only for debugging purposes, don't use. More... | |
| virtual bool | isCapsule () const |
| void | stopReceivingNotifications () const |
Public Member Functions inherited from NamedObject | |
| NamedObject (const char *nm=0) | |
| NamedObject (const NamedObject &oth) | |
| virtual | ~NamedObject () |
| NamedObject & | operator= (const NamedObject &) |
| bool | operator== (const NamedObject &oth) const |
| virtual const OD::String & | name () const |
| bool | getNameFromPar (const IOPar &) |
| void | putNameInPar (IOPar &) const |
Static Public Member Functions | |
| static ChangeType | cMappingChange () |
Static Public Member Functions inherited from SharedObject | |
| static Notifier< SharedObject > & | instanceCreated () |
Static Public Member Functions inherited from NamedMonitorable | |
| static Notifier< NamedMonitorable > & | instanceCreated () |
| static ChangeType | cNameChange () |
Static Public Member Functions inherited from Monitorable | |
| static Notifier< Monitorable > & | instanceCreated () |
| defines static instanceCreated() More... | |
| static ChangeType | cEntireObjectChange () |
| static ChangeType | cNoChange () |
| static IDType | cUnspecChgID () |
| static IDType | cEntireObjectChgID () |
| static ChangeType | changeNotificationTypeOf (CallBacker *) |
Static Public Member Functions inherited from CallBacker | |
| static void | createReceiverForCurrentThread () |
| static void | removeReceiverForCurrentThread () |
Protected Member Functions | |
| ~Mapper () | |
| void | setNotifs () |
| PosType | getHistEqRelPos (const RangeType &, ValueType) const |
| void | determineRange () const |
| void | setupChgCB (CallBacker *) |
| void | distribChgCB (CallBacker *) |
Protected Member Functions inherited from SharedObject | |
| void | copyAll (const SharedObject &) |
| virtual | ~SharedObject () |
Protected Member Functions inherited from NamedMonitorable | |
| void | copyAll (const NamedMonitorable &) |
Protected Member Functions inherited from Monitorable | |
| Monitorable () | |
| void | copyAll (const Monitorable &) |
| void | sendChgNotif (AccessLocker &, const ChangeData &) const |
| calls objectChanged with released lock More... | |
| void | sendChgNotif (AccessLocker &, ChangeType, IDType) const |
| calls objectChanged with released lock More... | |
| void | sendDelNotif () const |
| void | stopChangeNotifications () const |
| void | resumeChangeNotifications () const |
| template<class T > | |
| T | getMemberSimple (const T &) const |
| the get function used by mImplSimpleMonitoredGet More... | |
| template<class TMember , class TSetTo > | |
| void | setMemberSimple (TMember &, TSetTo, ChangeType, IDType) |
| the set function used by mImplSimpleMonitoredSet More... | |
Protected Member Functions inherited from CallBacker | |
| void | detachAllNotifiers () const |
| Call from the destructor of your inherited object. More... | |
Static Protected Member Functions | |
| static PosType | getLinRelPos (const RangeType &, ValueType) |
Protected Attributes | |
| RefMan< MapperSetup > | setup_ |
| RefMan< DistribType > | distrib_ |
Protected Attributes inherited from Monitorable | |
| Threads::Lock | accesslock_ |
Protected Attributes inherited from NamedObject | |
| BufferString | name_ |
Additional Inherited Members | |
Protected Types inherited from Monitorable | |
| typedef Threads::Atomic< DirtyCountType > | DirtyCounter |
Maps data values to color sequence positions: [0,1].
Beware that the Mapper requires a data distribution if you want to map anything else than [0,1] to [0,1]. The Mapper will no longer scan your data, that needs to be done before using the Mapper. Using the [RangeLimited]DataDistributionExtracter may be helpful for that.
If setup().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.
| ColTab::Mapper::Mapper | ( | ) |
default maps [0,1] to [0,1]
| ColTab::Mapper::Mapper | ( | RangeType | ) |
| ColTab::Mapper::Mapper | ( | const MapperSetup & | ) |
|
protected |
|
inlinestatic |
| int ColTab::Mapper::colIndex | ( | ValueType | , |
| int | nrcolors | ||
| ) | const |
|
protected |
|
protected |
|
inline |
|
inline |
| RangeType ColTab::Mapper::getRange | ( | ) | const |
guaranteed not udf
| ColTab::Mapper::mDeclMonitorableAssignment | ( | Mapper | ) |
|
protected |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017