1 #ifndef uidirectionalplot_h 2 #define uidirectionalplot_h 15 #include "uitoolsmod.h" 16 #include "uitoolsmod.h" 29 namespace ColTab {
class Sequence; }
47 enum Type { Rose, Scatter, Vals };
60 , prefsize_(400,400) {}
82 void setData(
const float*,
int);
89 int size()
const {
return nrSectors(); }
90 float angle(
int s )
const {
return data_.angle(s); }
98 void setColTab(
const char* nm);
99 void showColTabItem(
bool);
100 void showScaleItem(
bool);
102 void setNrEquicircles(
int);
103 void getMousePosInfo(
int& count,
float& angle,
107 void setHighlighted(
int);
153 void drawSelection();
155 void drawSectorParts(
bool);
163 uiPoint dataUIPos(
float r,
float ang)
const;
164 uiPoint usrUIPos(
float r,
float ang)
const;
#define mExpClass(module)
Definition: commondefs.h:160
uiGraphicsItemGroup & curveitems_
Definition: uidirectionalplot.h:134
uiMarkerItem * scalestartptitem_
Definition: uidirectionalplot.h:136
Setup & setup()
Definition: uidirectionalplot.h:85
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
FixedString Setup()
Definition: keystrs.h:116
A circle of data.
Definition: statdirdata.h:55
int curSector() const
Definition: uidirectionalplot.h:93
static Color Green()
Definition: color.h:80
const ColTab::Sequence * colseq_
Definition: uidirectionalplot.h:123
#define mStruct(module)
Definition: commondefs.h:165
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Maps from [0,1] -> Color.
Definition: coltabsequence.h:37
int selsector_
Definition: uidirectionalplot.h:122
uiGraphicsItemGroup & sectorlines_
Definition: uidirectionalplot.h:125
uiCurvedItem * selsectoritem_
Definition: uidirectionalplot.h:127
int cursector_
Definition: uidirectionalplot.h:121
Definition: uigraphicsitemimpl.h:408
uiColTabItem * coltabitm_
Definition: uidirectionalplot.h:141
uiPoint center_
Definition: uidirectionalplot.h:119
uiTextItem * scalestopitm_
Definition: uidirectionalplot.h:140
Stats::DirectionalData data_
Definition: uidirectionalplot.h:112
int size() const
Definition: uidirectionalplot.h:89
Definition: uiparent.h:26
Definition: uigraphicsitemimpl.h:337
int radius_
Definition: uidirectionalplot.h:120
bool isempty_
Definition: uidirectionalplot.h:115
ObjectSet< uiLineItem > dirlnitms_
Definition: uidirectionalplot.h:132
uiTextItem * scaleannotitm_
Definition: uidirectionalplot.h:138
uiCircleItem * outercircleitm_
Definition: uidirectionalplot.h:126
TypeSet< int > highlightidxs_
Definition: uidirectionalplot.h:113
float angle(int s) const
Definition: uidirectionalplot.h:90
Definition: uigraphicsitem.h:157
int maxcount_
Definition: uidirectionalplot.h:118
ObjectSet< uiCircleItem > equicircles_
Definition: uidirectionalplot.h:130
Definition: statdirdata.h:59
ObjectSet< uiTextItem > dirtxtitms_
Definition: uidirectionalplot.h:131
Interval< float > valrg_
Definition: uidirectionalplot.h:117
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
int selSector() const
Definition: uidirectionalplot.h:94
uiTextItem * hdrannotitm1_
Definition: uidirectionalplot.h:128
Definition: uigraphicsitemimpl.h:98
Type
Definition: angles.h:27
Definition: uigraphicscoltab.h:26
uiCurvedItem * scalearcitm_
Definition: uidirectionalplot.h:137
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Stats::DirectionalData::Setup & dataSetup()
Definition: uidirectionalplot.h:83
const Stats::DirectionalData & data() const
Definition: uidirectionalplot.h:86
Interval< float > posrg_
Definition: uidirectionalplot.h:116
uiGraphicsItemGroup & markeritems_
Definition: uidirectionalplot.h:133
Setup setup_
Definition: uidirectionalplot.h:111
Definition: uigraphicsview.h:51
Color Table
Definition: coltab.h:22
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
Definition: uigraphicsitemimpl.h:273
int nrSectors() const
Definition: uidirectionalplot.h:88
creates a directional plot: Rose diagrams and more.
Definition: uidirectionalplot.h:41
uiLineItem * scalelineitm_
Definition: uidirectionalplot.h:135
void setSelectedSector(int i)
Definition: uidirectionalplot.h:95
Definition: uigraphicsitemimpl.h:110
uiTextItem * hdrannotitm2_
Definition: uidirectionalplot.h:129
uiTextItem * scalestartitm_
Definition: uidirectionalplot.h:139
Notifier< uiDirectionalPlot > sectorPicked
Definition: uidirectionalplot.h:92