OpendTect  6.3
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
uiBaseMap Class Reference
Inheritance diagram for uiBaseMap:
[legend]

Public Member Functions

 uiBaseMap (uiParent *)
 
virtual ~uiBaseMap ()
 
void setView (const uiWorldRect &)
 
virtual void addObject (BaseMapObject *)
 
BaseMapObjectgetObject (int id)
 
uiBaseMapObjectgetUiObject (int id)
 
ObjectSet< uiBaseMapObject > & getObjects ()
 
bool hasChanged ()
 
void setChangeFlag ()
 
void resetChangeFlag ()
 
void removeObject (const BaseMapObject *)
 Owned by caller. More...
 
void show (const BaseMapObject &, bool yn)
 
void showLabels (bool yn)
 
bool labelsShown () const
 
void addObject (uiBaseMapObject *)
 
const uiBaseMapObjectuiObjectAt (const Geom::Point2D< float > &) const
 
const char * nameOfItemAt (const Geom::Point2D< float > &) const
 
void getMousePosInfo (BufferString &name, Coord3 &, TrcKey &, float &val, BufferString &info) const
 
uiGraphicsItem & worldItem ()
 
void centerWorldItem (bool)
 
uiGroupattachGroup ()
 
uiGraphicsViewview ()
 
uiGraphicsScenescene ()
 
const uiWorld2UigetWorld2Ui () const
 
- Public Member Functions inherited from BaseMap
 BaseMap ()
 
OD::ViewerTypeID viewerTypeID () const
 
- Public Member Functions inherited from OD::PresentationManagedViewer
 PresentationManagedViewer ()
 
virtual ~PresentationManagedViewer ()
 
OD::ViewerID viewerID ()
 
ViewerObjID viewerObjID () const
 
void setViewerObjID (ViewerObjID id)
 
const ZAxisTransformgetZAxisTransform () const
 
void setZAxisTransform (ZAxisTransform *)
 
bool hasZAxisTransform () const
 
const ZDomain::InfozDomain () const
 
- 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 detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 

Public Attributes

CNotifier< uiBaseMap, int > objectAdded
 
CNotifier< uiBaseMap, int > objectRemoved
 
- Public Attributes inherited from OD::PresentationManagedViewer
CNotifier< PresentationManagedViewer, IOParObjAdded
 
CNotifier< PresentationManagedViewer, IOParObjOrphaned
 
CNotifier< PresentationManagedViewer, IOParUnsavedObjLastCall
 
CNotifier< PresentationManagedViewer, IOParShowRequested
 
CNotifier< PresentationManagedViewer, IOParHideRequested
 
CNotifier< PresentationManagedViewer, IOParVanishRequested
 

Protected Member Functions

int indexOf (const BaseMapObject *) const
 
void reSizeCB (CallBacker *)
 
virtual void reDraw (bool deep=true)
 
void updateTransform ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

Protected Attributes

uiGroupbmgroup_
 
uiGraphicsViewview_
 
uiGraphicsItem & worlditem_
 
ObjectSet< uiBaseMapObjectobjects_
 
bool changed_
 
bool centerworlditem_
 
uiWorldRect wr_
 
- Protected Attributes inherited from OD::PresentationManagedViewer
ViewerObjID viewerobjid_
 
RefMan< ZAxisTransformdatatransform_
 
ZDomain::Infozdomaininfo_
 

Private Attributes

uiWorld2Uiw2ui_
 

Additional Inherited Members

- Static Public Member Functions inherited from BaseMap
static OD::ViewerTypeID theViewerTypeID ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

Constructor & Destructor Documentation

uiBaseMap::uiBaseMap ( uiParent )
virtual uiBaseMap::~uiBaseMap ( )
virtual

Member Function Documentation

virtual void uiBaseMap::addObject ( BaseMapObject )
virtual

Object maintained by caller. Adding an existing will trigger update

Implements BaseMap.

void uiBaseMap::addObject ( uiBaseMapObject )
uiGroup& uiBaseMap::attachGroup ( )
inline
void uiBaseMap::centerWorldItem ( bool  )
void uiBaseMap::getMousePosInfo ( BufferString name,
Coord3 ,
TrcKey ,
float &  val,
BufferString info 
) const
BaseMapObject* uiBaseMap::getObject ( int  id)
ObjectSet<uiBaseMapObject>& uiBaseMap::getObjects ( )
inline
uiBaseMapObject* uiBaseMap::getUiObject ( int  id)
const uiWorld2Ui& uiBaseMap::getWorld2Ui ( ) const
inline
bool uiBaseMap::hasChanged ( )
int uiBaseMap::indexOf ( const BaseMapObject ) const
protected
bool uiBaseMap::labelsShown ( ) const
const char* uiBaseMap::nameOfItemAt ( const Geom::Point2D< float > &  ) const
virtual void uiBaseMap::reDraw ( bool  deep = true)
protectedvirtual

Reimplemented in uiSurveyMap.

void uiBaseMap::removeObject ( const BaseMapObject )
virtual

Owned by caller.

Implements BaseMap.

void uiBaseMap::resetChangeFlag ( )
void uiBaseMap::reSizeCB ( CallBacker )
protected
uiGraphicsScene& uiBaseMap::scene ( )
void uiBaseMap::setChangeFlag ( )
inline
void uiBaseMap::setView ( const uiWorldRect )
void uiBaseMap::show ( const BaseMapObject ,
bool  yn 
)
void uiBaseMap::showLabels ( bool  yn)
const uiBaseMapObject* uiBaseMap::uiObjectAt ( const Geom::Point2D< float > &  ) const
void uiBaseMap::updateTransform ( )
protected
uiGraphicsView& uiBaseMap::view ( )
inline
uiGraphicsItem& uiBaseMap::worldItem ( )
inline

Member Data Documentation

uiGroup* uiBaseMap::bmgroup_
protected
bool uiBaseMap::centerworlditem_
protected
bool uiBaseMap::changed_
protected
CNotifier<uiBaseMap,int> uiBaseMap::objectAdded
CNotifier<uiBaseMap,int> uiBaseMap::objectRemoved
ObjectSet<uiBaseMapObject> uiBaseMap::objects_
protected
uiGraphicsView* uiBaseMap::view_
protected
uiWorld2Ui& uiBaseMap::w2ui_
private
uiGraphicsItem& uiBaseMap::worlditem_
protected
uiWorldRect uiBaseMap::wr_
protected

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