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

Public Member Functions

 BaseMapMarkers ()
 
 ~BaseMapMarkers ()
 
const MarkerStyle2DgetMarkerStyle (int) const
 
void getPoints (int shapeidx, TypeSet< Coord > &) const
 
const char * getType () const
 
int nrShapes () const
 
TypeSet< Coord > & positions ()
 
void setMarkerStyle (int, const MarkerStyle2D &)
 
void updateGeometry ()
 
- Public Member Functions inherited from BaseMapObject
 BaseMapObject (const char *nm)
 
 ~BaseMapObject ()
 
virtual bool allowHoverEvent (int) const
 
virtual bool canRemoveWithPolygon () const
 
virtual bool close (int shapeidx) const
 
virtual const OD::RGBImagecreateImage (Coord &origin, Coord &p11) const
 
virtual const OD::RGBImagecreatePreview (int approxdiagonal) const
 
virtual bool fill (int shapeidx) const
 
virtual bool fillPar (IOPar &) const
 
virtual Alignment getAlignment (int shapeidx) const
 
virtual bool getBoundingBox (BoundingBox &) const
 
virtual Color getColor () const
 
virtual int getDepth () const
 
virtual const Color getFillColor (int idx) const
 
virtual const OD::RGBImagegetImage (int shapeidx) const
 
virtual BufferString getImageFileName (int idx) const
 
virtual const OD::LineStylegetLineStyle (int shapeidx) const
 
virtual void getMousePosInfo (Coord3 &, TrcKey &, float &val, BufferString &info) const
 
virtual const char * getShapeName (int shapeidx) const
 
virtual Coord getTextPos (int shapeidx) const
 
virtual float getTextRotation () const
 
virtual void getXYScale (int idx, float &scx, float &scy) const
 
int ID () const
 
virtual bool multicolor (int shapeidx) const
 
virtual void removeWithPolygon (const ODPolygon< double > &)
 
virtual void setDepth (int val)
 
virtual void setFillColor (int idx, const Color &)
 
virtual void setImage (int idx, OD::RGBImage *)
 
virtual void setLineStyle (int idx, const OD::LineStyle &)
 
virtual void setType (const char *tp)
 
virtual void setXYScale (int idx, float scx, float scy)
 
virtual bool usePar (const IOPar &, TaskRunner *taskr=0)
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) 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 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
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
virtual const name_typename () const
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Protected Attributes

MarkerStyle2D markerstyle_
 
TypeSet< Coordpositions_
 
- Protected Attributes inherited from BaseMapObject
int depth_
 
int id_
 
BufferString typenm_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from BaseMapObject
typedef Geom::PosRectangle< double > BoundingBox
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Public Attributes inherited from BaseMapObject
Notifier< BaseMapObjectchanged
 
CNotifier< BaseMapObject, const MouseEvent & > leftClicked
 
Threads::Lock lock_
 
CNotifier< BaseMapObject, BufferStringnameChanged
 
CNotifier< BaseMapObject, const MouseEvent & > rightClicked
 
Notifier< BaseMapObjectstylechanged
 
Notifier< BaseMapObjectzvalueChanged
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 

Detailed Description

Object that draws markers on a basemap

<>

Constructor & Destructor Documentation

◆ BaseMapMarkers()

BaseMapMarkers::BaseMapMarkers ( )

◆ ~BaseMapMarkers()

BaseMapMarkers::~BaseMapMarkers ( )

Member Function Documentation

◆ getMarkerStyle()

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

Reimplemented from BaseMapObject.

◆ getPoints()

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.

◆ getType()

const char* BaseMapMarkers::getType ( ) const
inlinevirtual

Reimplemented from BaseMapObject.

◆ nrShapes()

int BaseMapMarkers::nrShapes ( ) const
inlinevirtual

Reimplemented from BaseMapObject.

◆ positions()

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

Obtain lock if you are not main thread

◆ setMarkerStyle()

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

Reimplemented from BaseMapObject.

◆ updateGeometry()

void BaseMapMarkers::updateGeometry ( )
virtual

Reimplemented from BaseMapObject.

Member Data Documentation

◆ markerstyle_

MarkerStyle2D BaseMapMarkers::markerstyle_
protected

◆ positions_

TypeSet<Coord> BaseMapMarkers::positions_
protected

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