15 #include "generalmod.h" 20 namespace OD {
class RGBImage; }
39 int ID()
const {
return id_; }
44 virtual void setType(
const char* tp) { typenm_ = tp;}
45 virtual const char*
getType()
const {
return typenm_; }
48 virtual int getDepth()
const {
return depth_; }
52 virtual int nrShapes()
const;
53 virtual const char* getShapeName(
int shapeidx)
const;
57 virtual bool getBoundingBox(BoundingBox&)
const;
58 virtual Alignment getAlignment(
int shapeidx)
const;
60 virtual Color getColor()
const;
65 virtual void getXYScale(
int idx,
float& scx,
float& scy)
const 76 virtual bool fill(
int shapeidx)
const {
return false;}
77 virtual bool close(
int shapeidx)
const {
return false;}
88 virtual const OD::RGBImage* createPreview(
int approxdiagonal)
const;
virtual const char * getType() const
Definition: basemap.h:45
#define mExpClass(module)
Definition: commondefs.h:160
virtual bool canRemoveWithPolygon() const
Definition: basemap.h:94
virtual int getDepth() const
Definition: basemap.h:48
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class...
Definition: threadlock.h:53
virtual const MarkerStyle2D * getMarkerStyle(int shapeidx) const
Definition: basemap.h:63
virtual const OD::RGBImage * getImage(int shapeidx) const
Definition: basemap.h:82
virtual void setLineStyle(int idx, const OD::LineStyle &)
Definition: basemap.h:69
int id_
Definition: basemap.h:112
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Notifier< BaseMapObject > zvalueChanged
Definition: basemap.h:107
virtual void setImage(int idx, OD::RGBImage *)
Definition: basemap.h:81
virtual BufferString getImageFileName(int idx) const
Definition: basemap.h:64
(Closed) sequence of connected 2-D coordinates.
Definition: polygon.h:27
virtual void setFillColor(int idx, const Color &)
Definition: basemap.h:72
Notifier< BaseMapObject > changed
Definition: basemap.h:105
virtual void updateGeometry()
Definition: basemap.h:42
A cartesian coordinate in 2D space.
Definition: coord.h:25
virtual float getTextRotation() const
Definition: basemap.h:59
Threads::Lock lock_
Definition: basemap.h:41
virtual void setXYScale(int idx, float scx, float scy)
Definition: basemap.h:67
Notifier< BaseMapObject > stylechanged
Definition: basemap.h:106
Definition: basemap.h:118
int ID() const
Definition: basemap.h:39
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Class that can execute a task.
Definition: task.h:169
virtual const Color getFillColor(int idx) const
Definition: basemap.h:73
virtual bool multicolor(int shapeidx) const
Definition: basemap.h:78
virtual void setType(const char *tp)
Definition: basemap.h:44
virtual bool close(int shapeidx) const
Definition: basemap.h:77
CNotifier< BaseMapObject, const uiString & > nameChanged
Definition: basemap.h:108
virtual const OD::LineStyle * getLineStyle(int shapeidx) const
Definition: basemap.h:70
int depth_
Definition: basemap.h:111
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
virtual void getXYScale(int idx, float &scx, float &scy) const
Definition: basemap.h:65
A cartesian coordinate in 3D space.
Definition: coord.h:72
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Object with a name.
Definition: namedobj.h:35
virtual void getMousePosInfo(Coord3 &, TrcKey &, float &val, BufferString &info) const
Definition: basemap.h:97
CNotifier< BaseMapObject, const MouseEvent & > rightClicked
Definition: basemap.h:104
virtual void removeWithPolygon(const ODPolygon< double > &)
Definition: basemap.h:95
OpendTect.
Definition: commontypes.h:29
virtual bool allowHoverEvent(int) const
Definition: basemap.h:92
virtual bool fill(int shapeidx) const
Definition: basemap.h:76
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
BufferString typenm_
Definition: basemap.h:113
virtual void setMarkerStyle(int idx, const MarkerStyle2D &)
Definition: basemap.h:62
Class for Red, Green, Blue image.
Definition: odimage.h:28
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
CNotifier< BaseMapObject, const MouseEvent & > leftClicked
Definition: basemap.h:103
Geom::PosRectangle< double > BoundingBox
Definition: basemap.h:34
Definition: mouseevent.h:73
static Color NoColor()
Definition: color.h:75