OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Horizon3DTesselator Class Reference
Inheritance diagram for Horizon3DTesselator:
[legend]

Public Member Functions

 Horizon3DTesselator (const Coord3List *, int nrcoordcol, unsigned char spacing, int nrrow, int nrcol, TypeSet< int > *pointci, TypeSet< int > *lineci, TypeSet< int > *stripci, TypeSet< int > *pointni, TypeSet< int > *lineni, TypeSet< int > *stripni, Coord3List *normals, int nrnormalcols_, int normstartidx)
 
int nextStep ()
 
- Public Member Functions inherited from SequentialTask
 SequentialTask (const char *nm=0)
 
virtual ~SequentialTask ()
 
void setProgressMeter (ProgressMeter *)
 Must be called before execute() More...
 
ProgressMeterprogressMeter ()
 
const ProgressMeterprogressMeter () const
 
virtual int doStep ()
 
bool execute ()
 
- Public Member Functions inherited from Task
virtual ~Task ()
 
virtual int64_t nrDone () const
 
virtual int64_t totalNr () const
 
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
 
- Public 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 &)
 
- Public 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...
 

Protected Member Functions

void computeNormal (int ni, int row, int col)
 
int getNormalIdx (int crdidx)
 
- Protected Member Functions inherited from Task
 Task (const char *nm=0)
 
virtual bool shouldContinue ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

const Coord3Listcoords_
 
unsigned char spacing_
 
int nrcols_
 
int nrrows_
 
int nrcoordcols_
 
int nrnormalcols_
 
TypeSet< int > * pointci_
 
TypeSet< int > * lineci_
 
TypeSet< int > * stripci_
 
TypeSet< int > * pointni_
 
TypeSet< int > * lineni_
 
TypeSet< int > * stripni_
 
Coord3Listnormals_
 
int normalstart_
 
const double cosanglexinl_
 
const double sinanglexinl_
 
- Protected Attributes inherited from SequentialTask
ProgressMeterprogressmeter_
 
int lastupdate_
 
- Protected Attributes inherited from Task
Control control_
 
Threads::ConditionVarworkcontrolcondvar_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Additional Inherited Members

- Public Types inherited from Task
enum  Control { Run, Pause, Stop }
 
- Static Public Member Functions inherited from SequentialTask
static int ErrorOccurred ()
 
static int Finished ()
 
static int MoreToDo ()
 
static int WarningAvailable ()
 
- Static Public Member Functions inherited from Task
static uiString stdNrDoneText ()
 
static uiString uiStdNrDoneText ()
 

Detailed Description

Constructor & Destructor Documentation

Horizon3DTesselator::Horizon3DTesselator ( const Coord3List ,
int  nrcoordcol,
unsigned char  spacing,
int  nrrow,
int  nrcol,
TypeSet< int > *  pointci,
TypeSet< int > *  lineci,
TypeSet< int > *  stripci,
TypeSet< int > *  pointni,
TypeSet< int > *  lineni,
TypeSet< int > *  stripni,
Coord3List normals,
int  nrnormalcols_,
int  normstartidx 
)

Member Function Documentation

void Horizon3DTesselator::computeNormal ( int  ni,
int  row,
int  col 
)
protected
int Horizon3DTesselator::getNormalIdx ( int  crdidx)
protected
int Horizon3DTesselator::nextStep ( )
virtual
Return values
MoreToDo()Not finished. Call me again.
Finished()Nothing more to do.
ErrorOccurred()Something went wrong.
Note
if function returns a value greater than cMoreToDo(), it should be interpreted as cMoreToDo().

Implements SequentialTask.

Member Data Documentation

const Coord3List* Horizon3DTesselator::coords_
protected
const double Horizon3DTesselator::cosanglexinl_
protected
TypeSet<int>* Horizon3DTesselator::lineci_
protected
TypeSet<int>* Horizon3DTesselator::lineni_
protected
Coord3List* Horizon3DTesselator::normals_
protected
int Horizon3DTesselator::normalstart_
protected
int Horizon3DTesselator::nrcols_
protected
int Horizon3DTesselator::nrcoordcols_
protected
int Horizon3DTesselator::nrnormalcols_
protected
int Horizon3DTesselator::nrrows_
protected
TypeSet<int>* Horizon3DTesselator::pointci_
protected
TypeSet<int>* Horizon3DTesselator::pointni_
protected
const double Horizon3DTesselator::sinanglexinl_
protected
unsigned char Horizon3DTesselator::spacing_
protected
TypeSet<int>* Horizon3DTesselator::stripci_
protected
TypeSet<int>* Horizon3DTesselator::stripni_
protected

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