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

Public Member Functions

 BaseMapMarkers ()
 
 ~BaseMapMarkers ()
 
void setMarkerStyle (int, const OD::MarkerStyle2D &)
 
const OD::MarkerStyle2DgetMarkerStyle (int) const
 
TypeSet< Coord > & positions ()
 
void updateGeometry ()
 
const char * getType () const
 
int nrShapes () const
 
void getPoints (int shapeidx, TypeSet< Coord > &) const
 
- Public Member Functions inherited from BaseMapObject
 BaseMapObject (const char *nm)
 
 ~BaseMapObject ()
 
int ID () const
 
virtual void setType (const char *tp)
 
virtual void setDepth (int val)
 
virtual int getDepth () const
 
virtual const char * getShapeName (int shapeidx) const
 
virtual bool getBoundingBox (BoundingBox &) const
 
virtual OD::Alignment getAlignment (int shapeidx) const
 
virtual float getTextRotation () const
 
virtual Color getColor () const
 
virtual BufferString getImageFileName (int idx) const
 
virtual void getXYScale (int idx, float &scx, float &scy) const
 
virtual void setXYScale (int idx, float scx, float scy)
 
virtual void setLineStyle (int shapeidx, const OD::LineStyle &)
 
virtual const OD::LineStylegetLineStyle (int shapeidx) const
 
virtual void setFillColor (int idx, const Color &)
 
virtual const Color getFillColor (int idx) const
 
virtual bool fill (int shapeidx) const
 
virtual bool close (int shapeidx) const
 
virtual bool multicolor (int shapeidx) const
 
virtual void setImage (int idx, OD::RGBImage *)
 
virtual const OD::RGBImagegetImage (int shapeidx) const
 
virtual const OD::RGBImagecreateImage (Coord &origin, Coord &p11) const
 
virtual const OD::RGBImagecreatePreview (int approxdiagonal) const
 
virtual bool allowHoverEvent (int) const
 
virtual bool canRemoveWithPolygon () const
 
virtual void removeWithPolygon (const ODPolygon< double > &)
 
virtual void getMousePosInfo (Coord3 &, TrcKey &, float &val, BufferString &info) const
 
virtual bool fillPar (IOPar &) const
 
virtual bool usePar (const IOPar &, TaskRunner *taskr=0)
 
- Public Member Functions inherited from NamedMonitorable
 NamedMonitorable (const char *nm=0)
 
 NamedMonitorable (const NamedObject &)
 
virtual ~NamedMonitorable ()
 
 NamedMonitorable (const NamedMonitorable &)
 
NamedMonitorableoperator= (const NamedMonitorable &)
 
bool operator== (const NamedMonitorable &) const
 
bool operator!= (const NamedMonitorable &oth) const
 
virtual NamedMonitorableclone () const
 
ChangeType compareWith (const Monitorable &) const
 
virtual NamedMonitorablegetClone () const
 
virtual BufferString getName () const
 
virtual void setName (const char *)
 
- Public Member Functions inherited from Monitorable
 Monitorable (const Monitorable &)
 
virtual ~Monitorable ()
 
Monitorableoperator= (const Monitorable &)
 
bool operator== (const Monitorable &) const
 
virtual ChangeDataNotifierobjectChanged () const
 
virtual Notifier< Monitorable > & objectToBeDeleted () const
 
virtual void touch () const
 
virtual DirtyCountType dirtyCount () const
 
void sendChangeNotification (const ChangeData &) const
 
void sendEntireObjectChangeNotification () const
 
void transferNotifsTo (const Monitorable &, const CallBacker *onlyfor=0) 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 Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
bool getNameFromPar (const IOPar &)
 
void putNameInPar (IOPar &) const
 

Protected Attributes

OD::MarkerStyle2D markerstyle_
 
TypeSet< Coordpositions_
 
- Protected Attributes inherited from BaseMapObject
int depth_
 
int id_
 
BufferString typenm_
 
- Protected Attributes inherited from Monitorable
Threads::Lock accesslock_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from BaseMapObject
typedef Geom::PosRectangle< double > BoundingBox
 
- Public Types inherited from Monitorable
typedef int ChangeType
 
typedef int64_t IDType
 
typedef int64_t DirtyCountType
 
typedef CNotifier< Monitorable, ChangeDataChangeDataNotifier
 
- Static Public Member Functions inherited from NamedMonitorable
static Notifier< NamedMonitorable > & instanceCreated ()
 
static ChangeType cNameChange ()
 
- Static Public Member Functions inherited from Monitorable
static Notifier< Monitorable > & instanceCreated ()
 defines static instanceCreated() More...
 
static ChangeType cEntireObjectChange ()
 
static ChangeType cNoChange ()
 
static IDType cUnspecChgID ()
 
static IDType cEntireObjectChgID ()
 
static ChangeType changeNotificationTypeOf (CallBacker *)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Public Attributes inherited from BaseMapObject
Threads::Lock lock_
 
CNotifier< BaseMapObject, const MouseEvent & > leftClicked
 
CNotifier< BaseMapObject, const MouseEvent & > rightClicked
 
Notifier< BaseMapObjectchanged
 
Notifier< BaseMapObjectstyleChanged
 
Notifier< BaseMapObjectzvalueChanged
 
CNotifier< BaseMapObject, const uiString & > nameChanged
 
- Protected Types inherited from Monitorable
typedef Threads::Atomic< DirtyCountTypeDirtyCounter
 
- Protected Member Functions inherited from NamedMonitorable
void copyAll (const NamedMonitorable &)
 
- Protected Member Functions inherited from Monitorable
 Monitorable ()
 
void copyAll (const Monitorable &)
 
void sendChgNotif (AccessLocker &, const ChangeData &) const
 calls objectChanged with released lock More...
 
void sendChgNotif (AccessLocker &, ChangeType, IDType) const
 calls objectChanged with released lock More...
 
void sendDelNotif () const
 
void stopChangeNotifications () const
 
void resumeChangeNotifications () const
 
template<class T >
getMemberSimple (const T &) const
 the get function used by mImplSimpleMonitoredGet More...
 
template<class TMember , class TSetTo >
void setMemberSimple (TMember &, TSetTo, ChangeType, IDType)
 the set function used by mImplSimpleMonitoredSet More...
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

Detailed Description

Object that draws markers on a basemap

Constructor & Destructor Documentation

BaseMapMarkers::BaseMapMarkers ( )
BaseMapMarkers::~BaseMapMarkers ( )

Member Function Documentation

const OD::MarkerStyle2D* BaseMapMarkers::getMarkerStyle ( int  ) const
inlinevirtual

Reimplemented from BaseMapObject.

void BaseMapMarkers::getPoints ( int  shapeidx,
TypeSet< Coord > &   
) const
virtual

Returns a number of coordinates that may form a be connected or filled.

Reimplemented from BaseMapObject.

const char* BaseMapMarkers::getType ( ) const
inlinevirtual

Reimplemented from BaseMapObject.

int BaseMapMarkers::nrShapes ( ) const
inlinevirtual

Reimplemented from BaseMapObject.

TypeSet<Coord>& BaseMapMarkers::positions ( )
inline

Obtain lock if you are not main thread

void BaseMapMarkers::setMarkerStyle ( int  ,
const OD::MarkerStyle2D  
)
virtual

Reimplemented from BaseMapObject.

void BaseMapMarkers::updateGeometry ( )
virtual

Reimplemented from BaseMapObject.

Member Data Documentation

OD::MarkerStyle2D BaseMapMarkers::markerstyle_
protected
TypeSet<Coord> BaseMapMarkers::positions_
protected

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