1 #ifndef GUI_OBJUTILS___HISTOGRAM_CONF_PARAMS__HPP
2 #define GUI_OBJUTILS___HISTOGRAM_CONF_PARAMS__HPP
59 eDefaultType = eHistogram
75 , m_StoredScale(eLinear)
78 , m_ClipOutliers(
false)
79 , m_SDeviationThreshold(5)
83 static EType TypeStrToValue(
const string&
type);
86 static EScale ScaleStrToValue(
const string& scale);
92 static string ScaleTMSToStr(
const string& sScaleTMS);
125 bool m_NeedRuler =
false;
126 bool m_NeedRulerLabels =
true;
127 bool m_DrawBg =
false;
128 bool m_ClipOutliers =
false;
129 int m_SDeviationThreshold = 5;
131 bool m_RangeAutoscale =
true;
132 bool m_SmoothCurve =
false;
137 mutable bool m_Dirty =
false;
152 void LoadSettings(
const string& curr_color,
const string& curr_size);
154 void SaveSettings(
const string& curr_color,
const string& curr_size)
const;
169 bool IsTempSettings(
const string& name)
const;
172 bool HasSettings(
const string& name)
const;
User-defined methods of the data storage class.
CHistParamsManager: class for manage histogram/graph settings for all feature subtype and various gra...
void AddSettings(const string &name, CRef< CHistParams > hist_params)
Add a new settings for a given name.
void AddTempSettings(const string &name, CRef< CHistParams > hist_params)
Add a temporary settings for a given name.
THistParams m_HistSettings
cached histogram rendering parameters.
THistParams m_TempHistSettings
temporary histogram settings.
map< string, CRef< CHistParams > > THistParams
void x_AddSettings(const string &name, CRef< CHistParams > hist_params, THistParams &settings)
map< string, CRgbaColor > TColorSet
CRgbaColor m_SmearColorMin
CRange< float > m_ValueRange
CRgbaColor m_SmearColorMax
class CRgbaColor provides a simple abstraction for managing colors.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_SEQGRAPHIC_EXPORT
double f(double x_, const double &y_)