13 #include "generalmod.h" 43 int ID()
const {
return id_; }
48 virtual void setType(
const char* tp) { typenm_ = tp;}
49 virtual const char*
getType()
const {
return typenm_; }
52 virtual int getDepth()
const {
return depth_; }
56 virtual int nrShapes()
const;
57 virtual const char* getShapeName(
int shapeidx)
const;
61 virtual bool getBoundingBox(BoundingBox&)
const;
65 virtual Color getColor()
const;
72 virtual void getXYScale(
int idx,
float& scx,
float& scy)
const 84 virtual bool fill(
int shapeidx)
const {
return false;}
85 virtual bool close(
int shapeidx)
const {
return false;}
86 virtual bool multicolor(
int shapeidx)
const {
return false;}
95 virtual const OD::RGBImage* createPreview(
int approxdiagonal)
const;
132 {
return theViewerTypeID(); }
virtual const char * getType() const
Definition: basemap.h:49
virtual const OD::MarkerStyle2D * getMarkerStyle(int shapeidx) const
Definition: basemap.h:69
#define mExpClass(module)
Definition: commondefs.h:157
virtual bool canRemoveWithPolygon() const
Definition: basemap.h:101
virtual int getDepth() const
Definition: basemap.h:52
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:51
Monitorable object with a name. All but name() are MT-safe.
Definition: namedmonitorable.h:20
virtual const OD::RGBImage * getImage(int shapeidx) const
Definition: basemap.h:89
int id_
Definition: basemap.h:119
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:200
Notifier< BaseMapObject > zvalueChanged
Definition: basemap.h:114
virtual void setImage(int idx, OD::RGBImage *)
Definition: basemap.h:88
virtual BufferString getImageFileName(int idx) const
Definition: basemap.h:71
(Closed) sequence of connected 2-D coordinates.
Definition: polygon.h:25
virtual void setFillColor(int idx, const Color &)
Definition: basemap.h:80
OD::ViewerTypeID viewerTypeID() const
Definition: basemap.h:131
Notifier< BaseMapObject > changed
Definition: basemap.h:112
virtual void updateGeometry()
Definition: basemap.h:46
virtual float getTextRotation() const
Definition: basemap.h:64
static OD::ViewerTypeID theViewerTypeID()
Definition: basemap.h:133
Threads::Lock lock_
Definition: basemap.h:45
virtual void setXYScale(int idx, float scx, float scy)
Definition: basemap.h:74
FixedString LineStyle()
Definition: keystrs.h:80
Definition: basemap.h:126
Definition: groupedid.h:40
int ID() const
Definition: basemap.h:43
3D point or vector
Definition: commontypes.h:57
Set of (small) copyable elements.
Definition: commontypes.h:26
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
Class that can execute a task.
Definition: task.h:193
virtual const Color getFillColor(int idx) const
Definition: basemap.h:81
virtual bool multicolor(int shapeidx) const
Definition: basemap.h:86
static OD::ViewerTypeID theViewerBasemapTypeID(OD::ViewerTypeID::get(2))
virtual void setType(const char *tp)
Definition: basemap.h:48
virtual void setLineStyle(int shapeidx, const OD::LineStyle &)
Definition: basemap.h:76
virtual bool close(int shapeidx) const
Definition: basemap.h:85
CNotifier< BaseMapObject, const uiString & > nameChanged
Definition: basemap.h:115
virtual const OD::LineStyle * getLineStyle(int shapeidx) const
Definition: basemap.h:78
int depth_
Definition: basemap.h:118
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
virtual void getXYScale(int idx, float &scx, float &scy) const
Definition: basemap.h:72
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
Notifier< BaseMapObject > styleChanged
Definition: basemap.h:113
virtual void getMousePosInfo(Coord3 &, TrcKey &, float &val, BufferString &info) const
Definition: basemap.h:104
static GroupID get(GroupNrT i)
Definition: groupedid.h:40
CNotifier< BaseMapObject, const MouseEvent & > rightClicked
Definition: basemap.h:111
virtual void removeWithPolygon(const ODPolygon< double > &)
Definition: basemap.h:102
OpendTect.
Definition: commontypes.h:25
virtual bool allowHoverEvent(int) const
Definition: basemap.h:99
virtual bool fill(int shapeidx) const
Definition: basemap.h:84
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:24
BufferString typenm_
Definition: basemap.h:120
Class for Red, Green, Blue image.
Definition: odimage.h:26
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:26
CNotifier< BaseMapObject, const MouseEvent & > leftClicked
Definition: basemap.h:110
2D point or vector class.
Definition: commontypes.h:58
virtual void setMarkerStyle(int idx, const OD::MarkerStyle2D &)
Definition: basemap.h:67
Geom::PosRectangle< double > BoundingBox
Definition: basemap.h:38
Definition: mouseevent.h:72
static Color NoColor()
Definition: color.h:74