15 #include "uitoolsmod.h" 36 const char* name()
const;
37 virtual void show(
bool yn);
38 virtual bool isShown()
const;
41 const uiGraphicsItem&
graphItem()
const {
return graphitem_; }
43 const uiGraphicsItem&
labelItem()
const {
return labelitem_; }
44 void showLabels(
bool yn);
47 virtual void update();
48 virtual void updateStyle();
55 void changedCB(CallBacker*);
56 void changedStyleCB(CallBacker*);
57 void changedZValueCB(CallBacker*);
58 void leftClickCB(CallBacker*);
59 void rightClickCB(CallBacker*);
60 void addToGraphItem(uiGraphicsItem&);
71 void addLabel(uiGraphicsItem&);
129 virtual void reDraw(
bool deep=
true);
Class to provide coordinate conversion between a cartesian coordinate system (or any other transforme...
Definition: uiworld2ui.h:55
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
bool labelsShown() const
Definition: uibasemap.h:45
uiWorld2Ui & w2ui_
Definition: uibasemap.h:133
Definition: uibasemap.h:75
BaseMapObject * getObject(int id)
ObjectSet< uiBaseMapObject > objects_
Definition: uibasemap.h:122
uiGraphicsItem & graphItem()
Definition: uibasemap.h:40
void getMousePosInfo(BufferString &name, Coord3 &, TrcKey &, float &val, BufferString &info) const
ObjectSet< uiBaseMapObject > & getObjects()
Definition: uibasemap.h:87
BaseMapObject * bmobject_
Definition: uibasemap.h:68
void centerWorldItem(bool)
virtual void reDraw(bool deep=true)
bool hasChanged() const
Definition: uibasemap.h:33
CNotifier< uiBaseMap, int > objectAdded
Definition: uibasemap.h:113
const uiGraphicsItem & graphItem() const
Definition: uibasemap.h:41
Definition: uiparent.h:26
bool centerworlditem_
Definition: uibasemap.h:124
uiGraphicsItem & worldItem()
Definition: uibasemap.h:107
ObjectSet< T >::size_type indexOf(const ObjectSet< T > &os, const S &val)
Locate object in set.
Definition: objectset.h:169
uiGraphicsItem & worlditem_
Definition: uibasemap.h:121
Definition: basemap.h:118
const uiWorld2Ui & getWorld2Ui() const
Definition: uibasemap.h:111
const uiBaseMapObject * uiObjectAt(const Geom::Point2D< float > &) const
bool showlabels_
Definition: uibasemap.h:64
bool changed_
Definition: uibasemap.h:67
void show(const BaseMapObject &, bool yn)
uiBaseMapObject * getUiObject(int id)
uiGraphicsScene & scene()
void setChangeFlag()
Definition: uibasemap.h:90
const uiGraphicsItem & labelItem() const
Definition: uibasemap.h:43
A cartesian coordinate in 3D space.
Definition: coord.h:72
void setView(const uiWorldRect &)
uiGraphicsItem & graphitem_
Definition: uibasemap.h:62
void reSizeCB(CallBacker *)
void resetChangeFlag()
Definition: uibasemap.h:34
uiGraphicsView & view()
Definition: uibasemap.h:109
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
uiGraphicsItem & labelItem()
Definition: uibasemap.h:42
Definition: uigraphicsview.h:51
const char * nameOfItemAt(const Geom::Point2D< float > &) const
CNotifier< uiBaseMap, int > objectRemoved
Definition: uibasemap.h:114
uiGraphicsView & view_
Definition: uibasemap.h:120
Represents a unique trace position in one of the surveys that OpendTect is managing.
Definition: trckey.h:28
Definition: uibasemap.h:25
uiWorldRect wr_
Definition: uibasemap.h:126
bool changed_
Definition: uibasemap.h:123
virtual void addObject(BaseMapObject *)
Definition: uigraphicsscene.h:39
void removeObject(const BaseMapObject *)
Owned by caller.
uiGraphicsItem & labelitem_
Definition: uibasemap.h:63
const uiWorld2Ui * transform_
Definition: uibasemap.h:65