OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VDA2DBitMapGenerator Class Reference

Variable density A2DBitMap generation parameters. More...

Inheritance diagram for VDA2DBitMapGenerator:
[legend]

Public Member Functions

 VDA2DBitMapGenerator (const A2DBitMapInpData &, const A2DBitMapPosSetup &)
 
VDA2DBitMapGenPars & vdpars ()
 
const VDA2DBitMapGenPars & vdpars () const
 
void linearInterpolate (bool yn)
 
- Public Member Functions inherited from A2DBitMapGenerator
virtual ~A2DBitMapGenerator ()
 
void setBitMap (A2DBitMap &)
 
A2DBitMapbitmap ()
 
const A2DBitMapbitmap () const
 
int bitmapSize (int dim) const
 
void initBitMap ()
 
void setPixSizes (int, int)
 
void fill ()
 
A2DBitMapGenPars & pars ()
 
const A2DBitMapGenPars & pars () const
 
const A2DBitMapInpDatadata () const
 
const A2DBitMapPosSetupsetup () const
 
const Interval< float > getScaleRange () const
 

Protected Member Functions

od_int64 nrIterations () const
 
bool doWork (od_int64, od_int64, int)
 
VDA2DBitMapGenPars & gtPars () const
 
 VDA2DBitMapGenerator (const VDA2DBitMapGenerator &)
 
void doFill ()
 
void drawStrip (int)
 
void drawPixLines (int, const Interval< int > &)
 
void fillInterpPars (Interpolate::Applier2D< float > &, int, int)
 
void drawVal (int, int, float)
 
- Protected Member Functions inherited from A2DBitMapGenerator
 A2DBitMapGenerator (const A2DBitMapInpData &, const A2DBitMapPosSetup &, A2DBitMapGenPars &)
 

Protected Attributes

float strippixs_
 
TypeSet< int > stripstodraw_
 
- Protected Attributes inherited from A2DBitMapGenerator
const A2DBitMapInpDatadata_
 
const A2DBitMapPosSetupsetup_
 
A2DBitMapGenPars & pars_
 
A2DBitMapbitmap_
 
int szdim0_
 
int szdim1_
 
const float * dim0pos_
 
Interval< float > dim1pos_
 
Interval< float > dim0rg_
 
Interval< float > dim1rg_
 
float dim0perpix_
 
float dim1perpix_
 
Interval< float > scalerg_
 
float scalewidth_
 

Additional Inherited Members

- Static Public Member Functions inherited from A2DBitMapGenerator
static void initBitMap (A2DBitMap &)
 with cNoFill More...
 
- Private Types inherited from Task
enum  Control { Run, Pause, Stop }
 
- Private Member Functions inherited from ParallelTask
virtual ~ParallelTask ()
 
bool execute ()
 
virtual bool executeParallel (bool parallel)
 
void setProgressMeter (ProgressMeter *)
 Must be called before execute() More...
 
int64_t nrDone () const
 May be -1, i.e. class does not report nrdone. More...
 
int64_t totalNr () const
 
virtual int maxNrThreads () const
 
virtual int minThreadSize () const
 
virtual bool stopAllOnFailure () const
 
 ParallelTask (const char *nm=0)
 
 ParallelTask (const ParallelTask &)
 
int64_t calculateThreadSize (int64_t totalnr, int nrthreads, int thread) const
 
void addToNrDone (int64_t increment)
 
void quickAddToNrDone (int64_t loopidx)
 
void resetNrDone ()
 
- Private Member Functions inherited from Task
virtual ~Task ()
 
virtual uiString uiMessage () const
 will be message() again in 7.x More...
 
virtual uiString uiNrDoneText () const
 will be nrDoneText() in 7.x More...
 
virtual void enableWorkControl (bool=true)
 Must be called before execute() More...
 
bool workControlEnabled () const
 
virtual void controlWork (Control)
 
virtual Control getState () const
 
 Task (const char *nm=0)
 
virtual bool shouldContinue ()
 
- Private Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Private Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 
- Static Private Member Functions inherited from ParallelTask
static uiString sPosFinished ()
 
static uiString sTrcFinished ()
 
- Static Private Member Functions inherited from Task
static uiString stdNrDoneText ()
 
static uiString uiStdNrDoneText ()
 
- Private Attributes inherited from Task
Control control_
 
Threads::ConditionVarworkcontrolcondvar_
 
- Private Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Detailed Description

Variable density A2DBitMap generation parameters.

Variable density drawing on A2DBitMap.

Constructor & Destructor Documentation

VDA2DBitMapGenerator::VDA2DBitMapGenerator ( const A2DBitMapInpData ,
const A2DBitMapPosSetup  
)
VDA2DBitMapGenerator::VDA2DBitMapGenerator ( const VDA2DBitMapGenerator )
protected

Not implemented to prevent usage Copy the pars instead

Member Function Documentation

void VDA2DBitMapGenerator::doFill ( )
protectedvirtual

Implements A2DBitMapGenerator.

bool VDA2DBitMapGenerator::doWork ( od_int64  ,
od_int64  ,
int   
)
protected
void VDA2DBitMapGenerator::drawPixLines ( int  ,
const Interval< int > &   
)
protected
void VDA2DBitMapGenerator::drawStrip ( int  )
protected
void VDA2DBitMapGenerator::drawVal ( int  ,
int  ,
float   
)
protected
void VDA2DBitMapGenerator::fillInterpPars ( Interpolate::Applier2D< float > &  ,
int  ,
int   
)
protected
VDA2DBitMapGenPars& VDA2DBitMapGenerator::gtPars ( ) const
inlineprotected
void VDA2DBitMapGenerator::linearInterpolate ( bool  yn)
inline
od_int64 VDA2DBitMapGenerator::nrIterations ( ) const
protectedvirtual
Returns
the number of times the process should be run.

Implements ParallelTask.

VDA2DBitMapGenPars& VDA2DBitMapGenerator::vdpars ( )
inline
const VDA2DBitMapGenPars& VDA2DBitMapGenerator::vdpars ( ) const
inline

Member Data Documentation

float VDA2DBitMapGenerator::strippixs_
protected
TypeSet<int> VDA2DBitMapGenerator::stripstodraw_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019