OpendTect  7.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EM::BodyOperator Class Reference

Operators for implicit body. Each BodyOperator has two children, either a Body or a BodyOperator. More...

Public Types

enum  Action { Union , IntSect , Minus }
 

Public Member Functions

 BodyOperator ()
 
virtual ~BodyOperator ()
 
ImplicitBodycreateImplicitBody (const TypeSet< Coord3 > &bodypts, TaskRunner *tr=0) const
 
bool createImplicitBody (ImplicitBody *&, TaskRunner *) const
 
void fillPar (IOPar &)
 
Action getAction () const
 
BodyOperatorgetChildOprt (bool body0) const
 
bool getChildOprt (int freeid, BodyOperator &)
 
int getID () const
 
bool isOK () const
 
void setAction (Action)
 
void setInput (bool body0, BodyOperator *)
 BodyOperator becomes mine. More...
 
void setInput (bool body0, const MultiID &)
 
bool usePar (const IOPar &)
 

Static Public Member Functions

static int getFreeID ()
 
static const char * sKeyAction ()
 
static const char * sKeyBodyID0 ()
 
static const char * sKeyBodyID1 ()
 
static const char * sKeyID ()
 

Protected Member Functions

ImplicitBodygetOperandBody (bool body0, TaskRunner *tr) const
 

Protected Attributes

Action action_
 
int id_
 
MultiID inputbody0_
 
MultiID inputbody1_
 
BodyOperatorinputbodyop0_
 
BodyOperatorinputbodyop1_
 

Detailed Description

Operators for implicit body. Each BodyOperator has two children, either a Body or a BodyOperator.

<>

Member Enumeration Documentation

◆ Action

Enumerator
Union 
IntSect 
Minus 

Constructor & Destructor Documentation

◆ BodyOperator()

EM::BodyOperator::BodyOperator ( )

◆ ~BodyOperator()

virtual EM::BodyOperator::~BodyOperator ( )
virtual

Member Function Documentation

◆ createImplicitBody() [1/2]

ImplicitBody* EM::BodyOperator::createImplicitBody ( const TypeSet< Coord3 > &  bodypts,
TaskRunner tr = 0 
) const

◆ createImplicitBody() [2/2]

bool EM::BodyOperator::createImplicitBody ( ImplicitBody *&  ,
TaskRunner  
) const

◆ fillPar()

void EM::BodyOperator::fillPar ( IOPar )

◆ getAction()

Action EM::BodyOperator::getAction ( ) const
inline

◆ getChildOprt() [1/2]

BodyOperator* EM::BodyOperator::getChildOprt ( bool  body0) const

◆ getChildOprt() [2/2]

bool EM::BodyOperator::getChildOprt ( int  freeid,
BodyOperator  
)

◆ getFreeID()

static int EM::BodyOperator::getFreeID ( )
static

◆ getID()

int EM::BodyOperator::getID ( ) const
inline

◆ getOperandBody()

ImplicitBody* EM::BodyOperator::getOperandBody ( bool  body0,
TaskRunner tr 
) const
protected

◆ isOK()

bool EM::BodyOperator::isOK ( ) const

◆ setAction()

void EM::BodyOperator::setAction ( Action  )

◆ setInput() [1/2]

void EM::BodyOperator::setInput ( bool  body0,
BodyOperator  
)

BodyOperator becomes mine.

◆ setInput() [2/2]

void EM::BodyOperator::setInput ( bool  body0,
const MultiID  
)

◆ sKeyAction()

static const char* EM::BodyOperator::sKeyAction ( )
inlinestatic

◆ sKeyBodyID0()

static const char* EM::BodyOperator::sKeyBodyID0 ( )
inlinestatic

◆ sKeyBodyID1()

static const char* EM::BodyOperator::sKeyBodyID1 ( )
inlinestatic

◆ sKeyID()

static const char* EM::BodyOperator::sKeyID ( )
inlinestatic

◆ usePar()

bool EM::BodyOperator::usePar ( const IOPar )

Member Data Documentation

◆ action_

Action EM::BodyOperator::action_
protected

◆ id_

int EM::BodyOperator::id_
protected

◆ inputbody0_

MultiID EM::BodyOperator::inputbody0_
protected

◆ inputbody1_

MultiID EM::BodyOperator::inputbody1_
protected

◆ inputbodyop0_

BodyOperator* EM::BodyOperator::inputbodyop0_
protected

◆ inputbodyop1_

BodyOperator* EM::BodyOperator::inputbodyop1_
protected

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