OpendTect-6_4  6.4
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 ()
 
 ~BodyOperator ()
 
 mDeclareEnumUtils (Action)
 
bool isOK () const
 
bool createImplicitBody (ImplicitBody *&, TaskRunner *) const
 
ImplicitBodycreateImplicitBody (const TypeSet< Coord3 > &bodypts, TaskRunner *tr=0) const
 
void setInput (bool body0, const MultiID &)
 
void setInput (bool body0, BodyOperator *)
 BodyOperator becomes mine. More...
 
BodyOperatorgetChildOprt (bool body0) const
 
bool getChildOprt (int freeid, BodyOperator &)
 
void setAction (Action)
 
Action getAction () const
 
int getID () const
 
bool usePar (const IOPar &)
 
void fillPar (IOPar &)
 

Static Public Member Functions

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

Protected Member Functions

ImplicitBodygetOperandBody (bool body0, TaskRunner *tr) const
 

Protected Attributes

MultiID inputbody0_
 
BodyOperatorinputbodyop0_
 
MultiID inputbody1_
 
BodyOperatorinputbodyop1_
 
int id_
 
Action action_
 

Detailed Description

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

Member Enumeration Documentation

Enumerator
Union 
IntSect 
Minus 

Constructor & Destructor Documentation

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

Member Function Documentation

bool EM::BodyOperator::createImplicitBody ( ImplicitBody *&  ,
TaskRunner  
) const
ImplicitBody* EM::BodyOperator::createImplicitBody ( const TypeSet< Coord3 > &  bodypts,
TaskRunner tr = 0 
) const
void EM::BodyOperator::fillPar ( IOPar )
Action EM::BodyOperator::getAction ( ) const
inline
BodyOperator* EM::BodyOperator::getChildOprt ( bool  body0) const
bool EM::BodyOperator::getChildOprt ( int  freeid,
BodyOperator  
)
static int EM::BodyOperator::getFreeID ( )
static
int EM::BodyOperator::getID ( ) const
inline
ImplicitBody* EM::BodyOperator::getOperandBody ( bool  body0,
TaskRunner tr 
) const
protected
bool EM::BodyOperator::isOK ( ) const
EM::BodyOperator::mDeclareEnumUtils ( Action  )
void EM::BodyOperator::setAction ( Action  )
void EM::BodyOperator::setInput ( bool  body0,
const MultiID  
)
void EM::BodyOperator::setInput ( bool  body0,
BodyOperator  
)

BodyOperator becomes mine.

static const char* EM::BodyOperator::sKeyAction ( )
inlinestatic
static const char* EM::BodyOperator::sKeyBodyID0 ( )
inlinestatic
static const char* EM::BodyOperator::sKeyBodyID1 ( )
inlinestatic
static const char* EM::BodyOperator::sKeyID ( )
inlinestatic
bool EM::BodyOperator::usePar ( const IOPar )

Member Data Documentation

Action EM::BodyOperator::action_
protected
int EM::BodyOperator::id_
protected
MultiID EM::BodyOperator::inputbody0_
protected
MultiID EM::BodyOperator::inputbody1_
protected
BodyOperator* EM::BodyOperator::inputbodyop0_
protected
BodyOperator* EM::BodyOperator::inputbodyop1_
protected

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