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
uiEMPartServer Class Reference

Earth Model UI Part Server. More...

Inheritance diagram for uiEMPartServer:
[legend]

Public Member Functions

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

Protected Member Functions

void selectSurfaces (ObjectSet< EM::EMObject > &, const char *type)
 
bool loadAuxData (const EM::ObjectID &, const TypeSet< int > &, bool removeold=true)
 
bool changeAuxData (const EM::ObjectID &, const char *nm, bool interp, DataPointSet &res)
 
void importReadyCB (CallBacker *)
 
void survChangedCB (CallBacker *)
 
void displayOnCreateCB (CallBacker *)
 
- 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 * sKeySectionID ()
 

Protected Attributes

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

Private Member Functions

 mODTextTranslationClass (uiEMPartServer)
 

Detailed Description

Earth Model UI Part Server.

Constructor & Destructor Documentation

uiEMPartServer::uiEMPartServer ( uiApplService )
uiEMPartServer::~uiEMPartServer ( )

Member Function Documentation

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.

bool uiEMPartServer::attr2Geom ( const EM::ObjectID ,
const char *  nm,
const DataPointSet  
)
bool uiEMPartServer::changeAuxData ( const EM::ObjectID ,
const char *  nm,
bool  interp,
DataPointSet res 
)
protected
bool uiEMPartServer::computeVariogramAuxData ( const EM::ObjectID ,
const char *  ,
DataPointSet  
)
void uiEMPartServer::createHorWithConstZ ( bool  is2d)
void uiEMPartServer::deriveHor3DFrom2D ( const EM::ObjectID )
void uiEMPartServer::displayEMObject ( const MultiID )
void uiEMPartServer::displayOnCreateCB ( CallBacker )
protected
bool uiEMPartServer::dispLineOnCreation ( )
inline
static int uiEMPartServer::evDisplayHorizon ( )
static
static int uiEMPartServer::evRemoveTreeObject ( )
static
bool uiEMPartServer::export2DHorizon ( bool  bulk = false)
bool uiEMPartServer::export3DHorizon ( bool  bulk = false)
bool uiEMPartServer::exportFault ( bool  single = false)
bool uiEMPartServer::exportFaultSet ( )
bool uiEMPartServer::exportFaultStickSet ( bool  single = false)
bool uiEMPartServer::fillHoles ( const EM::ObjectID ,
bool   
)

return bool is overwrite old horizon or not.

void uiEMPartServer::fillPar ( IOPar ) const
void uiEMPartServer::fillPickSet ( Pick::Set ,
MultiID   
)
bool uiEMPartServer::filterAuxData ( const EM::ObjectID ,
const char *  nm,
DataPointSet res 
)
bool uiEMPartServer::filterSurface ( const EM::ObjectID )

return bool is overwrite old horizon or not.

const char* uiEMPartServer::genRandLine ( int  opt)
bool uiEMPartServer::geom2Attr ( const EM::ObjectID )
bool uiEMPartServer::getAllAuxData ( const EM::ObjectID ,
DataPointSet ,
TypeSet< float > *  shfs = 0,
const TrcKeyZSampling cs = 0 
) const
static void uiEMPartServer::getAllSurfaceInfo ( ObjectSet< SurfaceInfo > &  ,
bool   
)
static
bool uiEMPartServer::getAuxData ( const EM::ObjectID ,
int  auxdatanr,
DataPointSet ,
float &  shift 
) const
ZAxisTransform* uiEMPartServer::getHorizonZAxisTransform ( bool  is2d)
BufferString uiEMPartServer::getName ( const EM::ObjectID ) const
EM::ObjectID uiEMPartServer::getObjectID ( const MultiID ) const
MultiID uiEMPartServer::getStorageID ( const EM::ObjectID ) const
void uiEMPartServer::getSurfaceDef2D ( const ObjectSet< MultiID > &  ,
const BufferStringSet sellines,
TypeSet< Coord > &  ,
TypeSet< Interval< float > > &   
)
void uiEMPartServer::getSurfaceDef3D ( const TypeSet< EM::ObjectID > &  ,
BinIDValueSet ,
const TrcKeySampling  
) const
void uiEMPartServer::getSurfaceInfo ( ObjectSet< SurfaceInfo > &  )
const char* uiEMPartServer::getType ( const EM::ObjectID ) const
uiString uiEMPartServer::getUiName ( const EM::ObjectID ) const
uiString uiEMPartServer::getUiType ( const EM::ObjectID ) const
TrcKeySampling uiEMPartServer::horizon3DDisplayRange ( ) const
inline
void uiEMPartServer::import2DFaultStickset ( )
bool uiEMPartServer::import3DHorAttr ( )
bool uiEMPartServer::import3DHorGeom ( bool  bulk = false)
void uiEMPartServer::importBulk2DFaultStickset ( )
bool uiEMPartServer::importBulk2DHorizon ( )
bool uiEMPartServer::importBulkFaults ( )
bool uiEMPartServer::importBulkFaultStickSet ( bool  is2d = false)
bool uiEMPartServer::importFault ( )
bool uiEMPartServer::importFaultSet ( )
bool uiEMPartServer::importFaultStickSet ( )
void uiEMPartServer::importReadyCB ( CallBacker )
protected
bool uiEMPartServer::interpolateAuxData ( const EM::ObjectID ,
const char *  nm,
DataPointSet res 
)
bool uiEMPartServer::isChanged ( const EM::ObjectID ) const
bool uiEMPartServer::isEmpty ( const EM::ObjectID ) const
bool uiEMPartServer::isFullResolution ( const EM::ObjectID ) const
bool uiEMPartServer::isFullyLoaded ( const EM::ObjectID ) const
bool uiEMPartServer::isGeometryChanged ( const EM::ObjectID ) const
int uiEMPartServer::loadAuxData ( const EM::ObjectID ,
const char *  ,
bool  removeold = true 
)

Loads the specified data into memory and returns its auxdatanr.

bool uiEMPartServer::loadAuxData ( const EM::ObjectID ,
const BufferStringSet ,
bool  removeold = true 
)
bool uiEMPartServer::loadAuxData ( const EM::ObjectID ,
const TypeSet< int > &  ,
bool  removeold = true 
)
protected
bool uiEMPartServer::loadSurface ( const MultiID ,
const EM::SurfaceIODataSelection s = 0 
)
void uiEMPartServer::manage2DHorizons ( )
void uiEMPartServer::manage3DFaults ( )
void uiEMPartServer::manage3DHorizons ( )
void uiEMPartServer::manageBodies ( )
void uiEMPartServer::manageFaultSets ( )
void uiEMPartServer::manageFaultStickSets ( )
void uiEMPartServer::managePreLoad ( )
void uiEMPartServer::manageSurfaces ( const char *  typ)
uiEMPartServer::mODTextTranslationClass ( uiEMPartServer  )
private
const char* uiEMPartServer::name ( ) const
inlinevirtual

Implements uiApplPartServer.

int uiEMPartServer::nrAttributes ( const EM::ObjectID ) const
void uiEMPartServer::removeTreeObject ( const EM::ObjectID )
void uiEMPartServer::removeUndo ( )
void uiEMPartServer::selectBodies ( ObjectSet< EM::EMObject > &  )

Returned set is reffed and must be unrefed by caller.

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

Returned set is reffed and must be unrefed by caller.

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

Returned set is reffed and must be unrefed by caller.

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

Returned set is reffed and must be unrefed by caller.

void uiEMPartServer::selectSurfaces ( ObjectSet< EM::EMObject > &  ,
const char *  type 
)
protected
const EM::ObjectID& uiEMPartServer::selEMID ( ) const
inline
EM::EMObject* uiEMPartServer::selEMObject ( )
int uiEMPartServer::setAuxData ( const EM::ObjectID ,
DataPointSet ,
const char *  nm,
int  valnr,
float  shift 
)
void uiEMPartServer::setHorizon3DDisplayRange ( const TrcKeySampling )

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

bool uiEMPartServer::showLoadAuxDataDlg ( const EM::ObjectID )
bool uiEMPartServer::showLoadFaultAuxDataDlg ( const EM::ObjectID )
static const char* uiEMPartServer::sKeySectionID ( )
inlinestaticprotected
bool uiEMPartServer::storeAuxData ( const EM::ObjectID ,
BufferString auxdataname,
bool  storeas = false 
) const
bool uiEMPartServer::storeFaultAuxData ( const EM::ObjectID id,
BufferString auxdatanm,
const Array2D< float > &  data 
)
bool uiEMPartServer::storeObject ( const EM::ObjectID ,
bool  storeas = false 
) const
bool uiEMPartServer::storeObject ( const EM::ObjectID ,
bool  storeas,
MultiID storagekey,
float  shift = 0 
) const
void uiEMPartServer::survChangedCB ( CallBacker )
protected
bool uiEMPartServer::usePar ( const IOPar )

Member Data Documentation

uiCreateHorizon* uiEMPartServer::crhordlg_
protected
bool uiEMPartServer::disponcreation_
protected
EM::EMManager& uiEMPartServer::em_
protected
uiExportFault* uiEMPartServer::expfltdlg_
protected
uiExportFault* uiEMPartServer::expfltstickdlg_
protected
uiExportHorizon* uiEMPartServer::exphordlg_
protected
uiBulk2DHorizonImport* uiEMPartServer::impbulk2dhordlg_
protected
uiBulkFaultImport* uiEMPartServer::impbulkfltdlg_
protected
uiBulkFaultImport* uiEMPartServer::impbulkfssdlg_
protected
uiBulkHorizonImport* uiEMPartServer::impbulkhordlg_
protected
uiImportFault3D* uiEMPartServer::impfltdlg_
protected
uiImportFault3D* uiEMPartServer::impfltstickdlg_
protected
uiImportFaultStickSet2D* uiEMPartServer::impfss2ddlg_
protected
uiImportHorizon* uiEMPartServer::imphorattrdlg_
protected
uiImportHorizon* uiEMPartServer::imphorgeomdlg_
protected
uiSurfaceMan* uiEMPartServer::ma3dfaultdlg_
protected
uiSurfaceMan* uiEMPartServer::man2dhordlg_
protected
uiSurfaceMan* uiEMPartServer::man3dhordlg_
protected
uiSurfaceMan* uiEMPartServer::manbodydlg_
protected
uiSurfaceMan* uiEMPartServer::manfssdlg_
protected
TrcKeySampling uiEMPartServer::selectedrg_
protected
EM::ObjectID uiEMPartServer::selemid_
protected
ObjectSet<uiVariogramDisplay> uiEMPartServer::variodlgs_
protected

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