34 static std::string plotTypeToString(PlotType _type);
35 static PlotType stringToPlotType(
const std::string& _type);
37 static std::string axisQuantityToString(AxisQuantity _quantity);
38 static AxisQuantity stringToAxisQuantity(
const std::string& _quantity);
59 bool operator != (
const Plot1DCfg& _other)
const;
68 void setName(
const std::string& _name) { m_name = _name; };
69 const std::string&
getName(
void)
const {
return m_name; };
71 void setTitle(
const std::string& _title) { m_title = _title; };
72 const std::string&
getTitle(
void)
const {
return m_title; };
74 void setProjectName(
const std::string& _projectName) { m_projectName = _projectName; };
92 void setHidden(
bool _isHidden) { m_isHidden = _isHidden; };
136 std::string m_projectName;
138 AxisQuantity m_axisQuantity;
145 bool m_legendVisible;
bool operator==(const FaceSelection &left, const FaceSelection &right)
Definition Model.cpp:55
#define OT_GUI_API_EXPORT
Definition OTGuiAPIExport.h:9
The Color class is used to represent RGBA colors with integer values.
Definition Color.h:72
Definition NavigationTreeItemIcon.h:19
Definition Plot1DAxisCfg.h:17
Definition Plot1DCfg.h:19
void setName(const std::string &_name)
Definition Plot1DCfg.h:68
void setXAxisMax(double _max)
Definition Plot1DCfg.h:107
void setOldTreeIcons(const NavigationTreeItemIcon &_icons)
Definition Plot1DCfg.h:98
void setYAxisMin(double _min)
Definition Plot1DCfg.h:119
void setLegendVisible(bool _isVisible)
Definition Plot1DCfg.h:95
bool getXAxisIsLogScale(void) const
Definition Plot1DCfg.h:111
void setPlotType(PlotType _type)
Definition Plot1DCfg.h:77
const std::string & getTitle(void) const
Definition Plot1DCfg.h:72
void setProjectName(const std::string &_projectName)
Definition Plot1DCfg.h:74
void setYAxisIsAutoScale(bool _autoScaleEnabled)
Definition Plot1DCfg.h:128
void setYAxisMax(double _max)
Definition Plot1DCfg.h:122
double getGridLineWidth(void) const
Definition Plot1DCfg.h:90
bool getYAxisIsAutoScale(void) const
Definition Plot1DCfg.h:129
void setAxisQuantity(AxisQuantity _quantity)
Definition Plot1DCfg.h:80
void setHidden(bool _isHidden)
Definition Plot1DCfg.h:92
bool getXAxisIsAutoScale(void) const
Definition Plot1DCfg.h:114
bool getYAxisIsLogScale(void) const
Definition Plot1DCfg.h:126
const NavigationTreeItemIcon & getOldTreeIcons(void) const
Definition Plot1DCfg.h:99
void setGridColor(const Color &_color)
Definition Plot1DCfg.h:86
void setUid(UID _uid)
Definition Plot1DCfg.h:65
double getYAxisMax(void) const
Definition Plot1DCfg.h:123
void setXAxisIsAutoScale(bool _autoScaleEnabled)
Definition Plot1DCfg.h:113
void setGridLineWidth(double _width)
Definition Plot1DCfg.h:89
double getYAxisMin(void) const
Definition Plot1DCfg.h:120
const std::string & getName(void) const
Definition Plot1DCfg.h:69
PlotType
Definition Plot1DCfg.h:21
@ Cartesian
Definition Plot1DCfg.h:22
void setXAxisMin(double _min)
Definition Plot1DCfg.h:104
void setXAxisIsLogScale(bool _logScaleEnabled)
Definition Plot1DCfg.h:110
const std::string & getProjectName(void) const
Definition Plot1DCfg.h:75
bool getLegendVisible(void) const
Definition Plot1DCfg.h:96
bool getHidden(void) const
Definition Plot1DCfg.h:93
AxisQuantity getAxisQuantity(void) const
Definition Plot1DCfg.h:81
void setYAxis(const Plot1DAxisCfg &_yAxis)
Definition Plot1DCfg.h:116
double getXAxisMax(void) const
Definition Plot1DCfg.h:108
double getXAxisMin(void) const
Definition Plot1DCfg.h:105
const Plot1DAxisCfg & getYAxis(void) const
Definition Plot1DCfg.h:117
void setYAxisIsLogScale(bool _logScaleEnabled)
Definition Plot1DCfg.h:125
PlotType getPlotType(void) const
Definition Plot1DCfg.h:78
const Plot1DAxisCfg & getXAxis(void) const
Definition Plot1DCfg.h:102
void setXAxis(const Plot1DAxisCfg &_xAxis)
Definition Plot1DCfg.h:101
UID getUid(void) const
Definition Plot1DCfg.h:66
const Color & getGridColor(void) const
Definition Plot1DCfg.h:87
void setGridVisible(bool _visible)
Definition Plot1DCfg.h:83
AxisQuantity
Definition Plot1DCfg.h:26
@ Real
Definition Plot1DCfg.h:29
@ Magnitude
Definition Plot1DCfg.h:27
@ Imaginary
Definition Plot1DCfg.h:30
@ Phase
Definition Plot1DCfg.h:28
void setTitle(const std::string &_title)
Definition Plot1DCfg.h:71
bool getGridVisible(void) const
Definition Plot1DCfg.h:84
The Serializable class is the default interface of serializable objects.
Definition Serializable.h:17
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27
rapidjson::Value JsonValue
Writable JSON value.
Definition JSON.h:27
rapidjson::GenericObject< true, rapidjson::GenericValue< rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > > > ConstJsonObject
Read only JSON Object.
Definition JSON.h:35
rapidjson::MemoryPoolAllocator< rapidjson::CrtAllocator > JsonAllocator
Allocator used for writing to JSON values.
Definition JSON.h:30