OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
uiEMPartServer Class Reference

Earth Model UI Part Server. More...

Inheritance diagram for uiEMPartServer:
[legend]

Public Member Functions

 uiEMPartServer (uiApplService &)
 
 ~uiEMPartServer ()
 
bool askUserToSave (const EM::ObjectID &, bool withcancl) const
 
bool attr2Geom (const EM::ObjectID &, const char *nm, const DataPointSet &)
 
bool computeVariogramAuxData (const EM::ObjectID &, const char *, DataPointSet &)
 
void createHorWithConstZ (bool is2d)
 
void deriveHor3DFrom2D (const EM::ObjectID &)
 
void displayEMObject (const MultiID &)
 
bool dispLineOnCreation ()
 
bool export2DHorizon (bool bulk=false)
 
bool export3DHorizon (bool bulk=false)
 
bool exportFault (bool single=false)
 
bool exportFaultSet ()
 
bool exportFaultStickSet (bool single=false)
 
bool fillHoles (const EM::ObjectID &, bool)
 
void fillPar (IOPar &) const
 
void fillPickSet (Pick::Set &, MultiID)
 
bool filterAuxData (const EM::ObjectID &, const char *nm, DataPointSet &res)
 
bool filterSurface (const EM::ObjectID &)
 
const char * genRandLine (int opt)
 
bool geom2Attr (const EM::ObjectID &)
 
bool getAllAuxData (const EM::ObjectID &, DataPointSet &, TypeSet< float > *shfs=0, const TrcKeyZSampling *cs=0) const
 
bool getAuxData (const EM::ObjectID &, int auxdatanr, DataPointSet &, float &shift) const
 
ZAxisTransformgetHorizonZAxisTransform (bool is2d)
 
BufferString getName (const EM::ObjectID &) const
 
EM::ObjectID getObjectID (const MultiID &) const
 
MultiID getStorageID (const EM::ObjectID &) const
 
void getSurfaceDef2D (const ObjectSet< MultiID > &, const BufferStringSet &sellines, TypeSet< Coord > &, TypeSet< BinID > &, TypeSet< Interval< float > > &)
 
mDeprecatedDef void getSurfaceDef2D (const ObjectSet< MultiID > &, const BufferStringSet &sellines, TypeSet< Coord > &, TypeSet< Interval< float > > &)
 
void getSurfaceDef3D (const TypeSet< EM::ObjectID > &, BinIDValueSet &, const TrcKeySampling &) const
 
void getSurfaceInfo (ObjectSet< SurfaceInfo > &)
 
const char * getType (const EM::ObjectID &) const
 
uiString getUiName (const EM::ObjectID &) const
 
uiString getUiType (const EM::ObjectID &) const
 
TrcKeySampling horizon3DDisplayRange () const
 
void import2DFaultStickset ()
 
bool import3DHorAttr ()
 
bool import3DHorGeom (bool bulk=false)
 
void importBulk2DFaultStickset ()
 
bool importBulk2DHorizon ()
 
bool importBulkFaults ()
 
bool importBulkFaultStickSet (bool is2d=false)
 
bool importFault ()
 
bool importFaultSet ()
 
bool importFaultStickSet ()
 
bool importHorFromZMap ()
 
bool interpolateAuxData (const EM::ObjectID &, const char *nm, DataPointSet &res)
 
bool isChanged (const EM::ObjectID &) const
 
bool isEmpty (const EM::ObjectID &) const
 
bool isFullResolution (const EM::ObjectID &) const
 
bool isFullyLoaded (const EM::ObjectID &) const
 
bool isGeometryChanged (const EM::ObjectID &) const
 
bool loadAuxData (const EM::ObjectID &, const BufferStringSet &, bool removeold=true)
 
int loadAuxData (const EM::ObjectID &, const char *, bool removeold=true)
 
bool loadSurface (const MultiID &, const EM::SurfaceIODataSelection *s=0)
 
void manage2DHorizons ()
 
void manage3DFaults ()
 
void manage3DHorizons ()
 
void manageBodies ()
 
void manageFaultSets ()
 
void manageFaultStickSets ()
 
void managePreLoad ()
 
void manageSurfaces (const char *typ)
 
const char * name () const
 
int nrAttributes (const EM::ObjectID &) const
 
void removeTreeObject (const EM::ObjectID &)
 
void removeUndo ()
 
void selectBodies (ObjectSet< EM::EMObject > &)
 Returned set is reffed and must be unrefed by caller. More...
 
void selectFaults (ObjectSet< EM::EMObject > &, bool is2d)
 Returned set is reffed and must be unrefed by caller. More...
 
void selectFaultStickSets (ObjectSet< EM::EMObject > &)
 Returned set is reffed and must be unrefed by caller. More...
 
void selectHorizons (ObjectSet< EM::EMObject > &, bool is2d)
 Returned set is reffed and must be unrefed by caller. More...
 
const EM::ObjectIDselEMID () const
 
EM::EMObjectselEMObject ()
 
int setAuxData (const EM::ObjectID &, DataPointSet &, const char *nm, int valnr, float shift)
 
void setHorizon3DDisplayRange (const TrcKeySampling &)
 
bool showLoadAuxDataDlg (const EM::ObjectID &)
 
bool showLoadFaultAuxDataDlg (const EM::ObjectID &)
 
bool storeAuxData (const EM::ObjectID &, BufferString &auxdataname, bool storeas=false) const
 
bool storeFaultAuxData (const EM::ObjectID &id, BufferString &auxdatanm, const Array2D< float > &data)
 
bool storeObject (const EM::ObjectID &, bool storeas, MultiID &storagekey, float shift=0) const
 
bool storeObject (const EM::ObjectID &, bool storeas=false) const
 
bool usePar (const IOPar &)
 
- 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 (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 

Static Public Member Functions

static int evDisplayHorizon ()
 
static int evRemoveTreeObject ()
 
static void getAllSurfaceInfo (ObjectSet< SurfaceInfo > &, bool)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

bool changeAuxData (const EM::ObjectID &, const char *nm, bool interp, DataPointSet &res)
 
void cleanup ()
 
void displayOnCreateCB (CallBacker *)
 
void importReadyCB (CallBacker *)
 
bool loadAuxData (const EM::ObjectID &, const TypeSet< int > &, bool removeold=true)
 
void selectSurfaces (ObjectSet< EM::EMObject > &, const char *type)
 
void survChangedCB (CallBacker *)
 
- Protected Member Functions inherited from uiApplPartServer
void * getObject (int objid) const
 
uiParentparent () const
 
bool sendEvent (int evid) const
 

Static Protected Member Functions

static const char * sKeySectionID ()
 

Protected Attributes

uiCreateHorizoncrhordlg_
 
bool disponcreation_
 
EM::EMManagerem_
 
uiExport2DHorizonexp2dhordlg_
 
uiExportFaultexpfltdlg_
 
uiExportFaultexpfltsetdlg_
 
uiExportFaultexpfltstickdlg_
 
uiExportHorizonexphordlg_
 
uiBulk2DHorizonImportimpbulk2dhordlg_
 
uiBulkFaultImportimpbulkfltdlg_
 
uiBulkFaultImportimpbulkfssdlg_
 
uiBulkHorizonImportimpbulkhordlg_
 
uiImportFault3Dimpfltdlg_
 
uiBulkFaultImportimpfltsetdlg_
 
uiImportFault3Dimpfltstickdlg_
 
uiImportFaultStickSet2Dimpfss2ddlg_
 
uiImportHorizonimphorattrdlg_
 
uiImportHorizonimphorgeomdlg_
 
uiImpHorFromZMapimpzmapdlg_
 
uiSurfaceManman2dhordlg_
 
uiSurfaceManman3dfaultdlg_
 
uiSurfaceManman3dhordlg_
 
uiSurfaceManmanbodydlg_
 
uiSurfaceManmanfltsetdlg_
 
uiSurfaceManmanfssdlg_
 
TrcKeySampling selectedrg_
 
EM::ObjectID selemid_
 
ObjectSet< uiVariogramDisplayvariodlgs_
 

Detailed Description

Earth Model UI Part Server.

<>

Constructor & Destructor Documentation

◆ uiEMPartServer()

uiEMPartServer::uiEMPartServer ( uiApplService )

◆ ~uiEMPartServer()

uiEMPartServer::~uiEMPartServer ( )

Member Function Documentation

◆ askUserToSave()

bool uiEMPartServer::askUserToSave ( const EM::ObjectID ,
bool  withcancl 
) const

If object has changed, user is asked whether to save it or not, and if so, the object is saved. Returns false when save option is cancelled.

◆ attr2Geom()

bool uiEMPartServer::attr2Geom ( const EM::ObjectID ,
const char *  nm,
const DataPointSet  
)

◆ changeAuxData()

bool uiEMPartServer::changeAuxData ( const EM::ObjectID ,
const char *  nm,
bool  interp,
DataPointSet res 
)
protected

◆ cleanup()

void uiEMPartServer::cleanup ( )
protected

◆ computeVariogramAuxData()

bool uiEMPartServer::computeVariogramAuxData ( const EM::ObjectID ,
const char *  ,
DataPointSet  
)

◆ createHorWithConstZ()

void uiEMPartServer::createHorWithConstZ ( bool  is2d)

◆ deriveHor3DFrom2D()

void uiEMPartServer::deriveHor3DFrom2D ( const EM::ObjectID )

◆ displayEMObject()

void uiEMPartServer::displayEMObject ( const MultiID )

◆ displayOnCreateCB()

void uiEMPartServer::displayOnCreateCB ( CallBacker )
protected

◆ dispLineOnCreation()

bool uiEMPartServer::dispLineOnCreation ( )
inline

◆ evDisplayHorizon()

static int uiEMPartServer::evDisplayHorizon ( )
static

◆ evRemoveTreeObject()

static int uiEMPartServer::evRemoveTreeObject ( )
static

◆ export2DHorizon()

bool uiEMPartServer::export2DHorizon ( bool  bulk = false)

◆ export3DHorizon()

bool uiEMPartServer::export3DHorizon ( bool  bulk = false)

◆ exportFault()

bool uiEMPartServer::exportFault ( bool  single = false)

◆ exportFaultSet()

bool uiEMPartServer::exportFaultSet ( )

◆ exportFaultStickSet()

bool uiEMPartServer::exportFaultStickSet ( bool  single = false)

◆ fillHoles()

bool uiEMPartServer::fillHoles ( const EM::ObjectID ,
bool   
)

return bool is overwrite old horizon or not.

◆ fillPar()

void uiEMPartServer::fillPar ( IOPar ) const

◆ fillPickSet()

void uiEMPartServer::fillPickSet ( Pick::Set ,
MultiID   
)

◆ filterAuxData()

bool uiEMPartServer::filterAuxData ( const EM::ObjectID ,
const char *  nm,
DataPointSet res 
)

◆ filterSurface()

bool uiEMPartServer::filterSurface ( const EM::ObjectID )

return bool is overwrite old horizon or not.

◆ genRandLine()

const char* uiEMPartServer::genRandLine ( int  opt)

◆ geom2Attr()

bool uiEMPartServer::geom2Attr ( const EM::ObjectID )

◆ getAllAuxData()

bool uiEMPartServer::getAllAuxData ( const EM::ObjectID ,
DataPointSet ,
TypeSet< float > *  shfs = 0,
const TrcKeyZSampling cs = 0 
) const

◆ getAllSurfaceInfo()

static void uiEMPartServer::getAllSurfaceInfo ( ObjectSet< SurfaceInfo > &  ,
bool   
)
static

◆ getAuxData()

bool uiEMPartServer::getAuxData ( const EM::ObjectID ,
int  auxdatanr,
DataPointSet ,
float &  shift 
) const

◆ getHorizonZAxisTransform()

ZAxisTransform* uiEMPartServer::getHorizonZAxisTransform ( bool  is2d)

◆ getName()

BufferString uiEMPartServer::getName ( const EM::ObjectID ) const

◆ getObjectID()

EM::ObjectID uiEMPartServer::getObjectID ( const MultiID ) const

◆ getStorageID()

MultiID uiEMPartServer::getStorageID ( const EM::ObjectID ) const

◆ getSurfaceDef2D() [1/2]

void uiEMPartServer::getSurfaceDef2D ( const ObjectSet< MultiID > &  ,
const BufferStringSet sellines,
TypeSet< Coord > &  ,
TypeSet< BinID > &  ,
TypeSet< Interval< float > > &   
)

◆ getSurfaceDef2D() [2/2]

mDeprecatedDef void uiEMPartServer::getSurfaceDef2D ( const ObjectSet< MultiID > &  ,
const BufferStringSet sellines,
TypeSet< Coord > &  ,
TypeSet< Interval< float > > &   
)

◆ getSurfaceDef3D()

void uiEMPartServer::getSurfaceDef3D ( const TypeSet< EM::ObjectID > &  ,
BinIDValueSet ,
const TrcKeySampling  
) const

◆ getSurfaceInfo()

void uiEMPartServer::getSurfaceInfo ( ObjectSet< SurfaceInfo > &  )

◆ getType()

const char* uiEMPartServer::getType ( const EM::ObjectID ) const

◆ getUiName()

uiString uiEMPartServer::getUiName ( const EM::ObjectID ) const

◆ getUiType()

uiString uiEMPartServer::getUiType ( const EM::ObjectID ) const

◆ horizon3DDisplayRange()

TrcKeySampling uiEMPartServer::horizon3DDisplayRange ( ) const
inline

◆ import2DFaultStickset()

void uiEMPartServer::import2DFaultStickset ( )

◆ import3DHorAttr()

bool uiEMPartServer::import3DHorAttr ( )

◆ import3DHorGeom()

bool uiEMPartServer::import3DHorGeom ( bool  bulk = false)

◆ importBulk2DFaultStickset()

void uiEMPartServer::importBulk2DFaultStickset ( )

◆ importBulk2DHorizon()

bool uiEMPartServer::importBulk2DHorizon ( )

◆ importBulkFaults()

bool uiEMPartServer::importBulkFaults ( )

◆ importBulkFaultStickSet()

bool uiEMPartServer::importBulkFaultStickSet ( bool  is2d = false)

◆ importFault()

bool uiEMPartServer::importFault ( )

◆ importFaultSet()

bool uiEMPartServer::importFaultSet ( )

◆ importFaultStickSet()

bool uiEMPartServer::importFaultStickSet ( )

◆ importHorFromZMap()

bool uiEMPartServer::importHorFromZMap ( )

◆ importReadyCB()

void uiEMPartServer::importReadyCB ( CallBacker )
protected

◆ interpolateAuxData()

bool uiEMPartServer::interpolateAuxData ( const EM::ObjectID ,
const char *  nm,
DataPointSet res 
)

◆ isChanged()

bool uiEMPartServer::isChanged ( const EM::ObjectID ) const

◆ isEmpty()

bool uiEMPartServer::isEmpty ( const EM::ObjectID ) const

◆ isFullResolution()

bool uiEMPartServer::isFullResolution ( const EM::ObjectID ) const

◆ isFullyLoaded()

bool uiEMPartServer::isFullyLoaded ( const EM::ObjectID ) const

◆ isGeometryChanged()

bool uiEMPartServer::isGeometryChanged ( const EM::ObjectID ) const

◆ loadAuxData() [1/3]

bool uiEMPartServer::loadAuxData ( const EM::ObjectID ,
const BufferStringSet ,
bool  removeold = true 
)

◆ loadAuxData() [2/3]

int uiEMPartServer::loadAuxData ( const EM::ObjectID ,
const char *  ,
bool  removeold = true 
)

Loads the specified data into memory and returns its auxdatanr.

◆ loadAuxData() [3/3]

bool uiEMPartServer::loadAuxData ( const EM::ObjectID ,
const TypeSet< int > &  ,
bool  removeold = true 
)
protected

◆ loadSurface()

bool uiEMPartServer::loadSurface ( const MultiID ,
const EM::SurfaceIODataSelection s = 0 
)

◆ manage2DHorizons()

void uiEMPartServer::manage2DHorizons ( )

◆ manage3DFaults()

void uiEMPartServer::manage3DFaults ( )

◆ manage3DHorizons()

void uiEMPartServer::manage3DHorizons ( )

◆ manageBodies()

void uiEMPartServer::manageBodies ( )

◆ manageFaultSets()

void uiEMPartServer::manageFaultSets ( )

◆ manageFaultStickSets()

void uiEMPartServer::manageFaultStickSets ( )

◆ managePreLoad()

void uiEMPartServer::managePreLoad ( )

◆ manageSurfaces()

void uiEMPartServer::manageSurfaces ( const char *  typ)

◆ name()

const char* uiEMPartServer::name ( ) const
inlinevirtual

Implements uiApplPartServer.

◆ nrAttributes()

int uiEMPartServer::nrAttributes ( const EM::ObjectID ) const

◆ removeTreeObject()

void uiEMPartServer::removeTreeObject ( const EM::ObjectID )

◆ removeUndo()

void uiEMPartServer::removeUndo ( )

◆ selectBodies()

void uiEMPartServer::selectBodies ( ObjectSet< EM::EMObject > &  )

Returned set is reffed and must be unrefed by caller.

◆ selectFaults()

void uiEMPartServer::selectFaults ( ObjectSet< EM::EMObject > &  ,
bool  is2d 
)

Returned set is reffed and must be unrefed by caller.

◆ selectFaultStickSets()

void uiEMPartServer::selectFaultStickSets ( ObjectSet< EM::EMObject > &  )

Returned set is reffed and must be unrefed by caller.

◆ selectHorizons()

void uiEMPartServer::selectHorizons ( ObjectSet< EM::EMObject > &  ,
bool  is2d 
)

Returned set is reffed and must be unrefed by caller.

◆ selectSurfaces()

void uiEMPartServer::selectSurfaces ( ObjectSet< EM::EMObject > &  ,
const char *  type 
)
protected

◆ selEMID()

const EM::ObjectID& uiEMPartServer::selEMID ( ) const
inline

◆ selEMObject()

EM::EMObject* uiEMPartServer::selEMObject ( )

◆ setAuxData()

int uiEMPartServer::setAuxData ( const EM::ObjectID ,
DataPointSet ,
const char *  nm,
int  valnr,
float  shift 
)

◆ setHorizon3DDisplayRange()

void uiEMPartServer::setHorizon3DDisplayRange ( const TrcKeySampling )

Users can change the display range, hor 3D only.

◆ showLoadAuxDataDlg()

bool uiEMPartServer::showLoadAuxDataDlg ( const EM::ObjectID )

◆ showLoadFaultAuxDataDlg()

bool uiEMPartServer::showLoadFaultAuxDataDlg ( const EM::ObjectID )

◆ sKeySectionID()

static const char* uiEMPartServer::sKeySectionID ( )
inlinestaticprotected

◆ storeAuxData()

bool uiEMPartServer::storeAuxData ( const EM::ObjectID ,
BufferString auxdataname,
bool  storeas = false 
) const

◆ storeFaultAuxData()

bool uiEMPartServer::storeFaultAuxData ( const EM::ObjectID id,
BufferString auxdatanm,
const Array2D< float > &  data 
)

◆ storeObject() [1/2]

bool uiEMPartServer::storeObject ( const EM::ObjectID ,
bool  storeas,
MultiID storagekey,
float  shift = 0 
) const

◆ storeObject() [2/2]

bool uiEMPartServer::storeObject ( const EM::ObjectID ,
bool  storeas = false 
) const

◆ survChangedCB()

void uiEMPartServer::survChangedCB ( CallBacker )
protected

◆ usePar()

bool uiEMPartServer::usePar ( const IOPar )

Member Data Documentation

◆ crhordlg_

uiCreateHorizon* uiEMPartServer::crhordlg_
protected

◆ disponcreation_

bool uiEMPartServer::disponcreation_
protected

◆ em_

EM::EMManager& uiEMPartServer::em_
protected

◆ exp2dhordlg_

uiExport2DHorizon* uiEMPartServer::exp2dhordlg_
protected

◆ expfltdlg_

uiExportFault* uiEMPartServer::expfltdlg_
protected

◆ expfltsetdlg_

uiExportFault* uiEMPartServer::expfltsetdlg_
protected

◆ expfltstickdlg_

uiExportFault* uiEMPartServer::expfltstickdlg_
protected

◆ exphordlg_

uiExportHorizon* uiEMPartServer::exphordlg_
protected

◆ impbulk2dhordlg_

uiBulk2DHorizonImport* uiEMPartServer::impbulk2dhordlg_
protected

◆ impbulkfltdlg_

uiBulkFaultImport* uiEMPartServer::impbulkfltdlg_
protected

◆ impbulkfssdlg_

uiBulkFaultImport* uiEMPartServer::impbulkfssdlg_
protected

◆ impbulkhordlg_

uiBulkHorizonImport* uiEMPartServer::impbulkhordlg_
protected

◆ impfltdlg_

uiImportFault3D* uiEMPartServer::impfltdlg_
protected

◆ impfltsetdlg_

uiBulkFaultImport* uiEMPartServer::impfltsetdlg_
protected

◆ impfltstickdlg_

uiImportFault3D* uiEMPartServer::impfltstickdlg_
protected

◆ impfss2ddlg_

uiImportFaultStickSet2D* uiEMPartServer::impfss2ddlg_
protected

◆ imphorattrdlg_

uiImportHorizon* uiEMPartServer::imphorattrdlg_
protected

◆ imphorgeomdlg_

uiImportHorizon* uiEMPartServer::imphorgeomdlg_
protected

◆ impzmapdlg_

uiImpHorFromZMap* uiEMPartServer::impzmapdlg_
protected

◆ man2dhordlg_

uiSurfaceMan* uiEMPartServer::man2dhordlg_
protected

◆ man3dfaultdlg_

uiSurfaceMan* uiEMPartServer::man3dfaultdlg_
protected

◆ man3dhordlg_

uiSurfaceMan* uiEMPartServer::man3dhordlg_
protected

◆ manbodydlg_

uiSurfaceMan* uiEMPartServer::manbodydlg_
protected

◆ manfltsetdlg_

uiSurfaceMan* uiEMPartServer::manfltsetdlg_
protected

◆ manfssdlg_

uiSurfaceMan* uiEMPartServer::manfssdlg_
protected

◆ selectedrg_

TrcKeySampling uiEMPartServer::selectedrg_
protected

◆ selemid_

EM::ObjectID uiEMPartServer::selemid_
protected

◆ variodlgs_

ObjectSet<uiVariogramDisplay> uiEMPartServer::variodlgs_
protected

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