OpendTect  6.3
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 uiString message () const
 
virtual uiString nrDoneText () const
 
virtual int64_t nrDone () const
 
virtual int64_t totalNr () const
 
virtual uiRetVal errorWithDetails () const
 
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 NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () 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 ()
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual BufferString getName () const
 
virtual void setName (const char *nm)
 
bool getNameFromPar (const IOPar &)
 
void putNameInPar (IOPar &) const
 

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 NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 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 NamedCallBacker
Notifier< NamedCallBackerdelnotif_
 
Threads::Atomic< bool > delalreadytriggered_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

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 stdMessage ()
 
static uiString stdNrDoneText ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

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. 2017