1 #ifndef uiwindowfuncseldlg_h 2 #define uiwindowfuncseldlg_h 16 #include "uitoolsmod.h" 17 #include "uitoolsmod.h" 51 : xaxrg_(-1.2,1.2,0.25)
81 void clearFunction(
int idx);
101 void createLine(DrawFunction*);
115 bool withcolor=
true);
116 int getListSize()
const;
117 int getNrSel()
const;
118 const char* getCurrentListName()
const;
121 bool isSelected(
int)
const;
122 void removeItem(
int);
123 int removeLastItem();
124 void setAsCurrent(
const char*);
125 void setSelected(
int);
149 const char* getCurrentWindowName()
const;
150 void setCurrentWindowFunc(
const char*,
float);
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
Definition: uifreqtaper.h:70
uiWorld2Ui * transform_
Definition: uiwindowfuncseldlg.h:93
void addFunction(DrawFunction *f)
Definition: uiwindowfuncseldlg.h:79
FixedString Setup()
Definition: keystrs.h:116
Definition: uiwindowfuncseldlg.h:106
float variable_
Definition: uiwindowfuncseldlg.h:157
#define mStruct(module)
Definition: commondefs.h:165
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Tapers the N-dimentional ArrayND with a windowFunction.
Definition: arrayndalgo.h:309
ObjectSet< FloatMathFunction > mathfunc_
Definition: uiwindowfuncseldlg.h:137
ObjectSet< DrawFunction > functions_
Definition: uiwindowfuncseldlg.h:98
Handles an axis on a plot.
Definition: uiaxishandler.h:51
uiAxisHandler * xax_
Definition: uiwindowfuncseldlg.h:95
Mathematical function.
Definition: mathfunc.h:61
Definition: uislicesel.h:93
Definition: uiwindowfuncseldlg.h:142
Definition: uistring.h:89
Definition: uiparent.h:26
bool isfrequency_
Definition: uiwindowfuncseldlg.h:158
Set of BufferString objects.
Definition: bufstringset.h:28
Definition: uidialog.h:42
Interval< float > & getFunctionRange()
Definition: uiwindowfuncseldlg.h:83
List Box.
Definition: uilistbox.h:75
Set of (small) copyable elements.
Definition: commontypes.h:30
Definition: uiwindowfuncseldlg.h:44
Definition: uigraphicsitem.h:157
Definition: uigraphicsitemimpl.h:255
uiAxisHandler * yax_
Definition: uiwindowfuncseldlg.h:96
TypeSet< int > selitemsidx_
Definition: uiwindowfuncseldlg.h:99
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
TypeSet< Color > colors_
Definition: uiwindowfuncseldlg.h:136
uiFuncSelDraw * funcdrawer_
Definition: uiwindowfuncseldlg.h:160
virtual bool setVariable(float)
Definition: windowfunction.h:33
void setSelItems(TypeSet< int > s)
Definition: uiwindowfuncseldlg.h:84
BufferStringSet funcnames_
Definition: uiwindowfuncseldlg.h:156
Notifier< uiFuncSelDraw > funclistselChged
Definition: uiwindowfuncseldlg.h:112
ObjectSet< WindowFunction > winfunc_
Definition: uiwindowfuncseldlg.h:161
static Color DgbColor()
Definition: color.h:79
void setFunctionRange(Interval< float > &rg)
Definition: uiwindowfuncseldlg.h:85
uiGraphicsItemGroup * polyitemgrp_
Definition: uiwindowfuncseldlg.h:97
uiFunctionDrawer * view_
Definition: uiwindowfuncseldlg.h:134
Definition: uigraphicsview.h:51
Color is an RGB color object, with a transparancy. The storage is in a 4-byte integer, similar to Qt.
Definition: color.h:26
float variable_
Definition: uiwindowfuncseldlg.h:92
virtual const char * name() const =0
Base class for window functions. The inheriting classes will give a value between 0 and 1 in the inte...
Definition: windowfunction.h:27
uiListBox * funclistfld_
Definition: uiwindowfuncseldlg.h:135
uiRectItem * borderrectitem_
Definition: uiwindowfuncseldlg.h:94
Interval< float > funcrg_
Definition: uiwindowfuncseldlg.h:91
uiGenInput * varinpfld_
Definition: uiwindowfuncseldlg.h:159
virtual float getVariable() const
Definition: windowfunction.h:32
void deepErase(ObjectSet< T > &os)
empty the ObjectSet deleting all objects pointed to.
Definition: objectset.h:118
void clearFunctions()
Definition: uiwindowfuncseldlg.h:80