|
| enum class | CurveType : int {
CT_BUS = 0
, CT_SYNC_GENERATOR
, CT_SYNC_COMPENSATOR
, CT_TRANSFORMER
,
CT_LINE
, CT_IND_MOTOR
, CT_SHUNT_INDUCTOR
, CT_SHUNT_CAPACITOR
,
CT_LOAD
, CT_TEST
, NUM_ELEMENTS
, CT_TIME
} |
| |
Definition at line 67 of file ElementPlotData.h.
◆ CurveType
| enum class ElementPlotData::CurveType : int |
|
strong |
Definition at line 70 of file ElementPlotData.h.
70 : int {
71 CT_BUS = 0,
72 CT_SYNC_GENERATOR,
73 CT_SYNC_COMPENSATOR,
74 CT_TRANSFORMER,
75 CT_LINE,
76 CT_IND_MOTOR,
77 CT_SHUNT_INDUCTOR,
78 CT_SHUNT_CAPACITOR,
79 CT_LOAD,
80 CT_TEST,
81 NUM_ELEMENTS,
82 CT_TIME
83 };
◆ ElementPlotData() [1/2]
| ElementPlotData::ElementPlotData |
( |
| ) |
|
|
inline |
◆ ElementPlotData() [2/2]
| ElementPlotData::ElementPlotData |
( |
wxString |
name, |
|
|
CurveType |
curveType |
|
) |
| |
◆ ~ElementPlotData()
| ElementPlotData::~ElementPlotData |
( |
| ) |
|
◆ AddData()
| void ElementPlotData::AddData |
( |
std::vector< double > |
values, |
|
|
wxString |
name |
|
) |
| |
Definition at line 27 of file ElementPlotData.cpp.
28{
30 data->SetName(name);
31 data->SetValues(values);
32 data->SetPlot(false);
33 data->SetAxis(0);
34 data->SetColour(*wxBLACK);
35 data->SetPenType(wxPENSTYLE_SOLID);
36 data->SetThick(2);
37
38 m_elementData.push_back(data);
39}
This class is responsible to manage the graphical data of electromechanical result to be plotted on c...
◆ GetAxis()
| int ElementPlotData::GetAxis |
( |
int |
index | ) |
const |
|
inline |
◆ GetColour()
| wxColour ElementPlotData::GetColour |
( |
int |
index | ) |
const |
|
inline |
◆ GetCurveType()
| CurveType ElementPlotData::GetCurveType |
( |
| ) |
const |
|
inline |
◆ GetDataName()
| wxString ElementPlotData::GetDataName |
( |
int |
index | ) |
const |
|
inline |
◆ GetElementDataNumber()
| int ElementPlotData::GetElementDataNumber |
( |
| ) |
const |
|
inline |
Definition at line 95 of file ElementPlotData.h.
95{ return static_cast<int>(m_elementData.size()); }
◆ GetName()
| wxString ElementPlotData::GetName |
( |
| ) |
const |
|
inline |
◆ GetPenType()
| wxPenStyle ElementPlotData::GetPenType |
( |
int |
index | ) |
const |
|
inline |
◆ GetPlotData()
| PlotData * ElementPlotData::GetPlotData |
( |
int |
index | ) |
const |
|
inline |
◆ GetThick()
| int ElementPlotData::GetThick |
( |
int |
index | ) |
const |
|
inline |
◆ GetValues()
| std::vector< double > ElementPlotData::GetValues |
( |
int |
index | ) |
const |
|
inline |
Definition at line 96 of file ElementPlotData.h.
96{ return m_elementData[index]->GetValues(); }
◆ SetAxis()
| void ElementPlotData::SetAxis |
( |
int |
index, |
|
|
int |
axis |
|
) |
| |
|
inline |
◆ SetColour()
| void ElementPlotData::SetColour |
( |
int |
index, |
|
|
wxColour |
colour |
|
) |
| |
|
inline |
◆ SetCurveType()
| void ElementPlotData::SetCurveType |
( |
CurveType |
type | ) |
|
|
inline |
◆ SetDataName()
| void ElementPlotData::SetDataName |
( |
int |
index, |
|
|
wxString |
name |
|
) |
| |
|
inline |
◆ SetName()
| void ElementPlotData::SetName |
( |
wxString |
name | ) |
|
|
inline |
◆ SetPenType()
| void ElementPlotData::SetPenType |
( |
int |
index, |
|
|
wxPenStyle |
penType |
|
) |
| |
|
inline |
◆ SetPlot()
| void ElementPlotData::SetPlot |
( |
int |
index, |
|
|
bool |
plot = true |
|
) |
| |
|
inline |
◆ SetThick()
| void ElementPlotData::SetThick |
( |
int |
index, |
|
|
int |
thick |
|
) |
| |
|
inline |
◆ SetValues()
| void ElementPlotData::SetValues |
( |
int |
index, |
|
|
std::vector< double > |
values |
|
) |
| |
|
inline |
Definition at line 97 of file ElementPlotData.h.
97{ m_elementData[index]->SetValues(values); }
◆ m_curveType
| CurveType ElementPlotData::m_curveType |
|
protected |
◆ m_elementData
| std::vector<PlotData*> ElementPlotData::m_elementData |
|
protected |
◆ m_name
| wxString ElementPlotData::m_name |
|
protected |
The documentation for this class was generated from the following files: