OpendTect-6_4  6.4
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 MarkerStyle2D &)
 
const 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 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 idx, 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 NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- 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...
 

Protected Attributes

MarkerStyle2D markerstyle_
 
TypeSet< Coordpositions_
 
- Protected Attributes inherited from BaseMapObject
int depth_
 
int id_
 
BufferString typenm_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Additional Inherited Members

- Public Types inherited from BaseMapObject
typedef Geom::PosRectangle< double > BoundingBox
 
- 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 Member Functions inherited from CallBacker
void detachAllNotifiers ()
 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 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 MarkerStyle2D  
)
virtual

Reimplemented from BaseMapObject.

void BaseMapMarkers::updateGeometry ( )
virtual

Reimplemented from BaseMapObject.

Member Data Documentation

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

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