81 void OnEvent(wxMouseEvent &mevt);
93 void drawOutline(
double peak,
double sigma, wxPen *pen, wxRect *rect);
120 void setRange(
double newMinVal,
double newMaxVal);
123 void OnSize(
int w,
int h);
126 int process(wxObject &obj, wxEvent &evt);
158 void makeUpdate(
void);
173 bool doImmediateUpdate;
176 float mousex, mousey;
185 #define CSPACE_RANGE_ACTUAL 0
186 #define CSPACE_RANGE_FULL 1
187 #define CSPACE_RANGE_OLD 2
int canvY
Definition: rviewColMap.hh:100
cspaceType
Definition: rviewColMap.hh:46
void closeEditor(bool activeClose=TRUE)
int canvX
Definition: rviewColMap.hh:100
void getParameters(colourspace_params *dest)
void processMouseEvent(wxMouseEvent &mevt)
virtual const char * getFrameName(void) const
void processRange(int rangeMode)
static const int colspc_bheight
Definition: rviewColMap.hh:143
wxPen redPen
Definition: rviewColMap.hh:102
static const int colcanv_cborder
Definition: rviewColMap.hh:85
const r_Minterval * useInterv
Definition: rviewColMap.hh:261
unsigned long ValToGauss24(double value)
void OnEvent(wxMouseEvent &mevt)
double scalingFactor
Definition: rviewColMap.hh:249
void colourspaceChanged(const colourspace_params *newParams, bool autoUpdate=TRUE)
double getScalingFactor(void)
unsigned short * IntToRGBTab15
Definition: rviewColMap.hh:252
wxBrush brush
Definition: rviewColMap.hh:101
float step
Definition: rviewColMap.hh:105
static const int colspc_chheight
Definition: rviewColMap.hh:151
bool rangeModeFull
Definition: rviewColMap.hh:246
static const int colspc_chwidth
Definition: rviewColMap.hh:150
Definition: rviewUtils.hh:482
unsigned short * buildCSTab15(bool forceRebuild=FALSE)
static const int colspc_bwidth
Definition: rviewColMap.hh:142
unsigned short ValToCS15(double value)
Definition: rviewColMap.hh:203
void setRange(double newMinVal, double newMaxVal)
long projPixels
Definition: rviewColMap.hh:258
int process(wxObject &obj, wxEvent &evt)
unsigned short ValToLinear15(double value)
double peakB
Definition: rviewColMap.hh:247
#define FALSE
Definition: defs.h:70
int setupRectangle(int &from, int &to, float &x, wxRect *rect)
bool didRange
Definition: rviewColMap.hh:245
int dimMDD
Definition: rviewColMap.hh:250
virtual rviewFrameType getFrameType(void) const
double peakR
Definition: rviewColMap.hh:247
void getObject(r_Ref< r_GMarray > &mdd, rviewBaseType &bt, bool *fullrange=NULL, r_Minterval **domain=NULL) const
Definition: rviewUtils.hh:636
double peakG
Definition: rviewColMap.hh:247
cspaceType tableType
Definition: rviewColMap.hh:254
void updateDisplay(const colourspace_params *cp=NULL)
void setDrawingFunction(void)
Definition: rviewUtils.hh:671
unsigned long ValToAsymptotic24(double value)
void OnSize(int w, int h)
colourspaceFrame * csFrame
Definition: rviewColMap.hh:255
int cmax
Definition: rviewColMap.hh:106
colourspaceFrame * parentObj
Definition: rviewColMap.hh:98
rviewBaseType baseType
Definition: rviewColMap.hh:257
static const int colspc_chkheight
Definition: rviewColMap.hh:148
Definition: rviewColMap.hh:193
void OnSize(int w, int h)
double realMinVal
Definition: rviewColMap.hh:244
unsigned long * getCSTab24(void)
void updateProjection(const r_Minterval *domain)
colourspaceCanvas(colourspaceFrame *parent, colourspace_params *p, int x, int y, int w, int h, long style=0)
unsigned short ValToAsymptotic15(double value)
void enableOutlineSum(bool enable)
void drawOutline(double peak, double sigma, wxPen *pen, wxRect *rect)
rviewFrameType
Definition: rviewUtils.hh:443
int cmin
Definition: rviewColMap.hh:106
static int getTableForType(rviewBaseType bt)
static const int colspc_border
Definition: rviewColMap.hh:137
wxPen bluePen
Definition: rviewColMap.hh:102
static const int colspc_height
Definition: rviewColMap.hh:140
double invSigG
Definition: rviewColMap.hh:248
colourspace_params * params
Definition: rviewColMap.hh:99
void setMappingFunctions(void)
rviewBaseType
Definition: rviewUtils.hh:97
unsigned long ValToLinear24(double value)
int bindMapper(r_Ref< r_GMarray > &mdd, rviewBaseType bt, bool fullrange=FALSE, const r_Minterval *domain=NULL, const colourspace_params *cp=NULL)
unsigned long(colourspaceMapper::* convert24)(double value)
Definition: rviewColMap.hh:241
double invSigB
Definition: rviewColMap.hh:248
float base
Definition: rviewColMap.hh:105
unsigned long ValToCS24(double value)
Definition: rviewColMap.hh:207
unsigned long * buildCSTab24(bool forceRebuild=FALSE)
wxPen greenPen
Definition: rviewColMap.hh:102
wxFont * font
Definition: rviewColMap.hh:103
static const int colcanv_mheight
Definition: rviewColMap.hh:87
Definition: rviewColMap.hh:54
colourspace_params par
Definition: rviewColMap.hh:243
static const int colspc_twidth
Definition: rviewColMap.hh:145
r_Minterval objInterv
Definition: rviewColMap.hh:259
float * values
Definition: rviewColMap.hh:104
double realMaxVal
Definition: rviewColMap.hh:244
Definition: rviewColMap.hh:67
static const int colspc_width
Definition: rviewColMap.hh:139
colourspaceFrame(colourspaceMapper *parent, const colourspace_params *p)
r_Minterval lastInterv
Definition: rviewColMap.hh:260
void updateSettings(void)
unsigned long ValToRectangle24(double value)
colourspaceMapper(r_Ref< r_GMarray > &mdd, rviewBaseType bt, const colourspace_params *cp, bool fullrange=FALSE, const r_Minterval *domain=NULL, unsigned long frange=0x10000)
Definition: rviewColMap.hh:113
void drawOutlineSum(wxPen *pen, wxRect *rect)
unsigned short ValToRectangle15(double value)
Definition: rviewUtils.hh:680
static const int colspc_cheight
Definition: rviewColMap.hh:153
static const int colspc_theight
Definition: rviewColMap.hh:146
double invSigR
Definition: rviewColMap.hh:248
float height
Definition: rviewColMap.hh:105
wxPen blackPen
Definition: rviewColMap.hh:102
unsigned short ValToGauss15(double value)
r_Ref< r_GMarray > mddObj
Definition: rviewColMap.hh:256
double(* conversionFunction)(double, double, double)
Definition: rviewColMap.hh:96
int tableKind
Definition: rviewColMap.hh:251
unsigned short(colourspaceMapper::* convert15)(double value)
Definition: rviewColMap.hh:240
#define TRUE
Definition: defs.h:67
Definition: minterval.hh:249
unsigned long * IntToRGBTab24
Definition: rviewColMap.hh:253
unsigned short * getCSTab15(void)