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

Service provider for application level - Attributes. More...

Inheritance diagram for uiAttribPartServer:
[legend]

Public Member Functions

 uiAttribPartServer (uiApplService &)
 
 ~uiAttribPartServer ()
 
const char * name () const
 
void manageAttribSets (bool is2d=false)
 
const Attrib::DescSetcurDescSet (bool is2d) const
 
void getDirectShowAttrSpec (Attrib::SelSpec &) const
 
bool setSaved (bool is2d) const
 
void saveSet (bool is2d)
 
bool editSet (bool is2d)
 returns whether new AttribDescSet has been created More...
 
bool attrSetEditorActive () const
 
void updateSelSpec (Attrib::SelSpec &) const
 
void setAttrsNeedUpdt ()
 
bool selectAttrib (Attrib::SelSpec &, const ZDomain::Info *, Pos::GeomID geomid, const uiString &seltxt=tr("View Data"))
 
bool selectRGBAttribs (TypeSet< Attrib::SelSpec > &, const ZDomain::Info *, Pos::GeomID)
 
bool setPickSetDirs (Pick::Set &, const NLAModel *, float vel)
 
void outputVol (const MultiID &, bool is2d, bool multioutput)
 
bool replaceSet (const IOPar &, bool is2d)
 
bool addToDescSet (const char *, bool is2d)
 
int getSliceIdx () const
 
void getPossibleOutputs (bool is2d, BufferStringSet &) const
 
void setTargetSelSpec (const Attrib::SelSpec &)
 
void setTargetSelSpecs (const TypeSet< Attrib::SelSpec > &specs)
 
const TypeSet< Attrib::SelSpec > & getTargetSelSpecs () const
 
DataPack::ID createOutput (const TrcKeyZSampling &, DataPack::ID)
 
const RegularSeisDataPackcreateOutput (const TrcKeyZSampling &, const RegularSeisDataPack *prevslcs=0)
 
bool createOutput (DataPointSet &, int firstcol=0)
 
bool createOutput (ObjectSet< DataPointSet > &, int firstcol=0)
 
bool createOutput (const BinIDValueSet &, SeisTrcBuf &, TypeSet< BinID > *, TypeSet< BinID > *)
 
DataPack::ID createRdmTrcsOutput (const Interval< float > &zrg, TypeSet< BinID > *path, TypeSet< BinID > *trueknotspos)
 
Attrib::DescID getStoredID (const MultiID &, bool is2d, int selout=-1) const
 
IOObjgetIOObj (const Attrib::SelSpec &) const
 
bool extractData (ObjectSet< DataPointSet > &)
 
bool createAttributeSet (const BufferStringSet &, Attrib::DescSet *)
 
void importAttrSetFromFile ()
 
void importAttrSetFromOtherSurvey ()
 
const NLAModelgetNLAModel (bool) const
 
void setNLAName (const char *nm)
 
void resetMenuItems ()
 
MenuItemstoredAttribMenuItem (const Attrib::SelSpec &, bool is2d, bool)
 
MenuItemcalcAttribMenuItem (const Attrib::SelSpec &, bool is2d, bool)
 
MenuItemnlaAttribMenuItem (const Attrib::SelSpec &, bool is2d, bool)
 
MenuItemzDomainAttribMenuItem (const Attrib::SelSpec &, const ZDomain::Info &, bool is2d, bool)
 
void fillInStoredAttribMenuItem (MenuItem *, bool, bool, const Attrib::SelSpec &, bool, bool needext=false)
 
bool handleAttribSubMenu (int mnuid, Attrib::SelSpec &, bool &)
 
bool handleMultiComp (const MultiID &, bool, bool, BufferStringSet &, Attrib::DescID &, TypeSet< int > &)
 
void info2DAttribSubMenu (int mnuid, BufferString &attbnm, bool &steering, bool &stored)
 
bool prepMultCompSpecs (TypeSet< int >, const MultiID &, bool, bool)
 
void setEvaluateInfo (bool ae, bool as)
 
void fillPar (IOPar &, bool, bool) const
 
void usePar (const IOPar &, bool, bool)
 
void setDPSDispMgr (DataPointSetDisplayMgr *dispmgr)
 
void set2DEvent (bool is2d)
 
bool is2DEvent ()
 
int use3DMode () const
 
const Attrib::DescSetgetUserPrefDescSet () const
 For services that can work on 2D or 3D. More...
 
void showXPlot (CallBacker *)
 
void setEvalBackupColTabMapper (const ColTab::MapperSetup *)
 
const ColTab::MapperSetupgetEvalBackupColTabMapper () const
 
void setSelAttr (const char *attrnm)
 
void loadDefaultAttrSet (const char *attribsetnm)
 
DataPack::ID createRdmTrcsOutput (const Interval< float > &zrg, int rdlidx)
 
void filter2DMenuItems (MenuItem &, const Attrib::SelSpec &, int geomid, bool isstored, int steerpol)
 
- Public Member Functions inherited from uiApplPartServer
 uiApplPartServer (uiApplService &a)
 
uiApplServiceappserv ()
 
const uiApplServiceappserv () const
 
void setParent (uiParent *)
 
- 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...
 

Static Public Member Functions

static int evDirectShowAttr ()
 User requested direct redisplay of curAttrDesc() More...
 
static int evNewAttrSet ()
 FYI. More...
 
static int evAttrSetDlgClosed ()
 AttributeSet window closes. More...
 
static int evEvalAttrInit ()
 Initialization of evaluation dialog. More...
 
static int evEvalCalcAttr ()
 User wants to evaluate current attribute. More...
 
static int evEvalShowSlice ()
 Display slice. More...
 
static int evEvalStoreSlices ()
 Store slices. More...
 
static int evEvalRestore ()
 
static int objNLAModel2D ()
 Request current 2D NLAModel* via getObject() More...
 
static int objNLAModel3D ()
 Request current 3D NLAModel* via getObject() More...
 
static uiString getMenuText (bool is2d, bool issteering, bool endmenu)
 
static DataPack::ID createDataPackFor2D (const Attrib::Data2DHolder &input, const TrcKeyZSampling &outputsamp, const ZDomain::Def &zdef, const BufferStringSet &compnames=0)
 

Protected Member Functions

Attrib::EngineMancreateEngMan (const TrcKeyZSampling *cs=0, const Pos::GeomID &geomid=Survey::GM().cUndefGeomID())
 
void directShowAttr (CallBacker *)
 
void showEvalDlg (CallBacker *)
 
void showCrossEvalDlg (CallBacker *)
 
void calcEvalAttrs (CallBacker *)
 
void showSliceCB (CallBacker *)
 
void evalDlgClosed (CallBacker *)
 
void xplotClosedCB (CallBacker *)
 
void processEvalDlg (bool iscrossevaluate)
 
void attrsetDlgApply (CallBacker *)
 
void attrsetDlgClosed (CallBacker *)
 
void attrsetDlgCloseTimTick (CallBacker *)
 
void survChangedCB (CallBacker *)
 
Attrib::DescID targetID (bool is2d, int nr=0) const
 
void handleAutoSet ()
 
void useAutoSet (bool)
 
void insertNumerousItems (const BufferStringSet &, const Attrib::SelSpec &, bool, bool, bool)
 
void snapToValidRandomTraces (TypeSet< BinID > &path, const Attrib::Desc *)
 
- Protected Member Functions inherited from uiApplPartServer
uiParentparent () const
 
bool sendEvent (int evid) const
 
void * getObject (int objid) const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Static Protected Member Functions

static const char * sKeyUserSettingAttrErrMsg ()
 
static const char * attridstr ()
 

Protected Attributes

MenuItem stored2dmnuitem_
 
MenuItem stored3dmnuitem_
 
MenuItem calc2dmnuitem_
 
MenuItem calc3dmnuitem_
 
MenuItem nla2dmnuitem_
 
MenuItem nla3dmnuitem_
 
MenuItem zdomain2dmnuitem_
 
MenuItem zdomain3dmnuitem_
 
MenuItem steering2dmnuitem_
 
MenuItem steering3dmnuitem_
 
MenuItem multcomp2d_
 
MenuItem multcomp3d_
 
ObjectSet< uiAttribCrossPlotattrxplotset_
 
const Attrib::Descdirshwattrdesc_
 
uiAttribDescSetEdattrsetdlg_
 
Timer attrsetclosetim_
 
bool is2devsent_
 
bool attrsneedupdt_
 
uiAttrSetManmanattribset2ddlg_
 
uiAttrSetManmanattribsetdlg_
 
uiImpAttrSetimpattrsetdlg_
 
uiAttrVolOutvolattrdlg_
 
uiAttrVolOutmultiattrdlg_
 
uiAttrVolOutdataattrdlg_
 
BufferString nlaname_
 
bool alloweval_
 
bool allowevalstor_
 
int sliceidx_
 
Attrib::DescSetevalset
 
TypeSet< Attrib::SelSpectargetspecs_
 
DataPointSetDisplayMgrdpsdispmgr_
 
ColTab::MapperSetupevalmapperbackup_
 

Private Member Functions

 mODTextTranslationClass (uiAttribPartServer)
 
DataPack::ID create2DOutput (const TrcKeyZSampling &, const Pos::GeomID &, TaskRunner &)
 Use createOutput() instead. More...
 

Detailed Description

Service provider for application level - Attributes.

Constructor & Destructor Documentation

uiAttribPartServer::uiAttribPartServer ( uiApplService )
uiAttribPartServer::~uiAttribPartServer ( )

Member Function Documentation

bool uiAttribPartServer::addToDescSet ( const char *  ,
bool  is2d 
)
static const char* uiAttribPartServer::attridstr ( )
staticprotected
void uiAttribPartServer::attrsetDlgApply ( CallBacker )
protected
void uiAttribPartServer::attrsetDlgClosed ( CallBacker )
protected
void uiAttribPartServer::attrsetDlgCloseTimTick ( CallBacker )
protected
bool uiAttribPartServer::attrSetEditorActive ( ) const
inline
MenuItem* uiAttribPartServer::calcAttribMenuItem ( const Attrib::SelSpec ,
bool  is2d,
bool   
)
void uiAttribPartServer::calcEvalAttrs ( CallBacker )
protected
DataPack::ID uiAttribPartServer::create2DOutput ( const TrcKeyZSampling ,
const Pos::GeomID ,
TaskRunner  
)
private

Use createOutput() instead.

bool uiAttribPartServer::createAttributeSet ( const BufferStringSet ,
Attrib::DescSet  
)
static DataPack::ID uiAttribPartServer::createDataPackFor2D ( const Attrib::Data2DHolder input,
const TrcKeyZSampling outputsamp,
const ZDomain::Def zdef,
const BufferStringSet compnames = 0 
)
static
Attrib::EngineMan* uiAttribPartServer::createEngMan ( const TrcKeyZSampling cs = 0,
const Pos::GeomID geomid = Survey::GM().cUndefGeomID() 
)
protected
DataPack::ID uiAttribPartServer::createOutput ( const TrcKeyZSampling ,
DataPack::ID   
)
const RegularSeisDataPack* uiAttribPartServer::createOutput ( const TrcKeyZSampling ,
const RegularSeisDataPack prevslcs = 0 
)
bool uiAttribPartServer::createOutput ( DataPointSet ,
int  firstcol = 0 
)
bool uiAttribPartServer::createOutput ( ObjectSet< DataPointSet > &  ,
int  firstcol = 0 
)
bool uiAttribPartServer::createOutput ( const BinIDValueSet ,
SeisTrcBuf ,
TypeSet< BinID > *  ,
TypeSet< BinID > *   
)
DataPack::ID uiAttribPartServer::createRdmTrcsOutput ( const Interval< float > &  zrg,
TypeSet< BinID > *  path,
TypeSet< BinID > *  trueknotspos 
)
DataPack::ID uiAttribPartServer::createRdmTrcsOutput ( const Interval< float > &  zrg,
int  rdlidx 
)
const Attrib::DescSet* uiAttribPartServer::curDescSet ( bool  is2d) const
void uiAttribPartServer::directShowAttr ( CallBacker )
protected
bool uiAttribPartServer::editSet ( bool  is2d)

returns whether new AttribDescSet has been created

void uiAttribPartServer::evalDlgClosed ( CallBacker )
protected
static int uiAttribPartServer::evAttrSetDlgClosed ( )
static

AttributeSet window closes.

static int uiAttribPartServer::evDirectShowAttr ( )
static

User requested direct redisplay of curAttrDesc()

static int uiAttribPartServer::evEvalAttrInit ( )
static

Initialization of evaluation dialog.

static int uiAttribPartServer::evEvalCalcAttr ( )
static

User wants to evaluate current attribute.

static int uiAttribPartServer::evEvalRestore ( )
static

Update name in tree after evaluation dlg closed And restore mapper

static int uiAttribPartServer::evEvalShowSlice ( )
static

Display slice.

static int uiAttribPartServer::evEvalStoreSlices ( )
static

Store slices.

static int uiAttribPartServer::evNewAttrSet ( )
static

FYI.

bool uiAttribPartServer::extractData ( ObjectSet< DataPointSet > &  )
void uiAttribPartServer::fillInStoredAttribMenuItem ( MenuItem ,
bool  ,
bool  ,
const Attrib::SelSpec ,
bool  ,
bool  needext = false 
)
void uiAttribPartServer::fillPar ( IOPar ,
bool  ,
bool   
) const
void uiAttribPartServer::filter2DMenuItems ( MenuItem ,
const Attrib::SelSpec ,
int  geomid,
bool  isstored,
int  steerpol 
)
void uiAttribPartServer::getDirectShowAttrSpec ( Attrib::SelSpec ) const
const ColTab::MapperSetup* uiAttribPartServer::getEvalBackupColTabMapper ( ) const
IOObj* uiAttribPartServer::getIOObj ( const Attrib::SelSpec ) const
static uiString uiAttribPartServer::getMenuText ( bool  is2d,
bool  issteering,
bool  endmenu 
)
static
const NLAModel* uiAttribPartServer::getNLAModel ( bool  ) const
void uiAttribPartServer::getPossibleOutputs ( bool  is2d,
BufferStringSet  
) const
int uiAttribPartServer::getSliceIdx ( ) const
inline
Attrib::DescID uiAttribPartServer::getStoredID ( const MultiID ,
bool  is2d,
int  selout = -1 
) const
const TypeSet<Attrib::SelSpec>& uiAttribPartServer::getTargetSelSpecs ( ) const
inline
const Attrib::DescSet* uiAttribPartServer::getUserPrefDescSet ( ) const

For services that can work on 2D or 3D.

bool uiAttribPartServer::handleAttribSubMenu ( int  mnuid,
Attrib::SelSpec ,
bool &   
)
void uiAttribPartServer::handleAutoSet ( )
protected
bool uiAttribPartServer::handleMultiComp ( const MultiID ,
bool  ,
bool  ,
BufferStringSet ,
Attrib::DescID ,
TypeSet< int > &   
)
void uiAttribPartServer::importAttrSetFromFile ( )
void uiAttribPartServer::importAttrSetFromOtherSurvey ( )
void uiAttribPartServer::info2DAttribSubMenu ( int  mnuid,
BufferString attbnm,
bool &  steering,
bool &  stored 
)
void uiAttribPartServer::insertNumerousItems ( const BufferStringSet ,
const Attrib::SelSpec ,
bool  ,
bool  ,
bool   
)
protected
bool uiAttribPartServer::is2DEvent ( )
inline
void uiAttribPartServer::loadDefaultAttrSet ( const char *  attribsetnm)
void uiAttribPartServer::manageAttribSets ( bool  is2d = false)
uiAttribPartServer::mODTextTranslationClass ( uiAttribPartServer  )
private
const char* uiAttribPartServer::name ( ) const
inlinevirtual

Implements uiApplPartServer.

MenuItem* uiAttribPartServer::nlaAttribMenuItem ( const Attrib::SelSpec ,
bool  is2d,
bool   
)
static int uiAttribPartServer::objNLAModel2D ( )
static

Request current 2D NLAModel* via getObject()

static int uiAttribPartServer::objNLAModel3D ( )
static

Request current 3D NLAModel* via getObject()

void uiAttribPartServer::outputVol ( const MultiID ,
bool  is2d,
bool  multioutput 
)
bool uiAttribPartServer::prepMultCompSpecs ( TypeSet< int >  ,
const MultiID ,
bool  ,
bool   
)
void uiAttribPartServer::processEvalDlg ( bool  iscrossevaluate)
protected
bool uiAttribPartServer::replaceSet ( const IOPar ,
bool  is2d 
)
void uiAttribPartServer::resetMenuItems ( )
void uiAttribPartServer::saveSet ( bool  is2d)
bool uiAttribPartServer::selectAttrib ( Attrib::SelSpec ,
const ZDomain::Info ,
Pos::GeomID  geomid,
const uiString seltxt = tr("View Data") 
)
bool uiAttribPartServer::selectRGBAttribs ( TypeSet< Attrib::SelSpec > &  ,
const ZDomain::Info ,
Pos::GeomID   
)
void uiAttribPartServer::set2DEvent ( bool  is2d)
inline
void uiAttribPartServer::setAttrsNeedUpdt ( )
inline
void uiAttribPartServer::setDPSDispMgr ( DataPointSetDisplayMgr dispmgr)
inline
void uiAttribPartServer::setEvalBackupColTabMapper ( const ColTab::MapperSetup )
void uiAttribPartServer::setEvaluateInfo ( bool  ae,
bool  as 
)
inline
void uiAttribPartServer::setNLAName ( const char *  nm)
inline
bool uiAttribPartServer::setPickSetDirs ( Pick::Set ,
const NLAModel ,
float  vel 
)
bool uiAttribPartServer::setSaved ( bool  is2d) const
void uiAttribPartServer::setSelAttr ( const char *  attrnm)
void uiAttribPartServer::setTargetSelSpec ( const Attrib::SelSpec )
void uiAttribPartServer::setTargetSelSpecs ( const TypeSet< Attrib::SelSpec > &  specs)
inline
void uiAttribPartServer::showCrossEvalDlg ( CallBacker )
protected
void uiAttribPartServer::showEvalDlg ( CallBacker )
protected
void uiAttribPartServer::showSliceCB ( CallBacker )
protected
void uiAttribPartServer::showXPlot ( CallBacker )
static const char* uiAttribPartServer::sKeyUserSettingAttrErrMsg ( )
staticprotected
void uiAttribPartServer::snapToValidRandomTraces ( TypeSet< BinID > &  path,
const Attrib::Desc  
)
protected
MenuItem* uiAttribPartServer::storedAttribMenuItem ( const Attrib::SelSpec ,
bool  is2d,
bool   
)
void uiAttribPartServer::survChangedCB ( CallBacker )
protected
Attrib::DescID uiAttribPartServer::targetID ( bool  is2d,
int  nr = 0 
) const
protected
void uiAttribPartServer::updateSelSpec ( Attrib::SelSpec ) const
int uiAttribPartServer::use3DMode ( ) const

If you have services that can work on 2D or 3D 0 = 2D, 1 = 3D, -1 = user cancel

void uiAttribPartServer::useAutoSet ( bool  )
protected
void uiAttribPartServer::usePar ( const IOPar ,
bool  ,
bool   
)
void uiAttribPartServer::xplotClosedCB ( CallBacker )
protected
MenuItem* uiAttribPartServer::zDomainAttribMenuItem ( const Attrib::SelSpec ,
const ZDomain::Info ,
bool  is2d,
bool   
)

Member Data Documentation

bool uiAttribPartServer::alloweval_
protected
bool uiAttribPartServer::allowevalstor_
protected
Timer uiAttribPartServer::attrsetclosetim_
protected
uiAttribDescSetEd* uiAttribPartServer::attrsetdlg_
protected
bool uiAttribPartServer::attrsneedupdt_
protected
ObjectSet<uiAttribCrossPlot> uiAttribPartServer::attrxplotset_
protected
MenuItem uiAttribPartServer::calc2dmnuitem_
protected
MenuItem uiAttribPartServer::calc3dmnuitem_
protected
uiAttrVolOut* uiAttribPartServer::dataattrdlg_
protected
const Attrib::Desc* uiAttribPartServer::dirshwattrdesc_
protected
DataPointSetDisplayMgr* uiAttribPartServer::dpsdispmgr_
protected
ColTab::MapperSetup* uiAttribPartServer::evalmapperbackup_
protected
Attrib::DescSet* uiAttribPartServer::evalset
protected
uiImpAttrSet* uiAttribPartServer::impattrsetdlg_
protected
bool uiAttribPartServer::is2devsent_
protected
uiAttrSetMan* uiAttribPartServer::manattribset2ddlg_
protected
uiAttrSetMan* uiAttribPartServer::manattribsetdlg_
protected
MenuItem uiAttribPartServer::multcomp2d_
protected
MenuItem uiAttribPartServer::multcomp3d_
protected
uiAttrVolOut* uiAttribPartServer::multiattrdlg_
protected
MenuItem uiAttribPartServer::nla2dmnuitem_
protected
MenuItem uiAttribPartServer::nla3dmnuitem_
protected
BufferString uiAttribPartServer::nlaname_
protected
int uiAttribPartServer::sliceidx_
protected
MenuItem uiAttribPartServer::steering2dmnuitem_
protected
MenuItem uiAttribPartServer::steering3dmnuitem_
protected
MenuItem uiAttribPartServer::stored2dmnuitem_
protected
MenuItem uiAttribPartServer::stored3dmnuitem_
protected
TypeSet<Attrib::SelSpec> uiAttribPartServer::targetspecs_
protected
uiAttrVolOut* uiAttribPartServer::volattrdlg_
protected
MenuItem uiAttribPartServer::zdomain2dmnuitem_
protected
MenuItem uiAttribPartServer::zdomain3dmnuitem_
protected

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