14 #include "uitoolsmod.h" 78 void setCartesianRemap(
const uiSize& sz,
79 float minx,
float maxx,
float miny,
float maxy );
80 void setCartesianRemap(
const uiRect& rc,
81 float minx,
float maxx,
float miny,
float maxy );
85 void resetUiRect(
const uiRect& rc );
102 int toUiX(
float wrdx )
const;
103 int toUiY(
float wrdy )
const;
104 float toWorldX(
int uix )
const;
105 float toWorldY(
int uiy )
const;
114 void getWorldXRange(
float& xmin,
float& xmax )
const;
115 void getWorldYRange(
float& ymin,
float& ymax )
const;
129 void getAppropriateRange(
float min,
float max,
130 float& newmin,
float& newmax );
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
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
uiSize sz
Definition: uiworld2ui.h:34
uiSize uisize_
Definition: uiworld2ui.h:125
uiPoint uiorigin
Definition: uiworld2ui.h:126
Holds survey general information.
Definition: survinfo.h:45
World2UiData w2ud
Definition: uiworld2ui.h:119
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:62
uiWorldPoint fac
Definition: uiworld2ui.h:122
uiWorldRect wrdrect_
the world rect used for coord. conv.
Definition: uiworld2ui.h:124
Coord transform(const BinID &b) const
Definition: uiworld2ui.h:23
uiWorldPoint p0
Definition: uiworld2ui.h:121
uiWorldRect wr
Definition: uiworld2ui.h:35