Power System Platform  2026w10a-beta
Loading...
Searching...
No Matches
PlotData Class Reference

This class is responsible to manage the graphical data of electromechanical result to be plotted on chart viewer. More...

#include <ElementPlotData.h>

Inheritance diagram for PlotData:
Collaboration diagram for PlotData:

Public Member Functions

void SetAxis (int axis)
 
void SetColour (const wxColour &colour)
 
void SetName (const wxString &name)
 
void SetPenType (const wxPenStyle &penType)
 
void SetPlot (bool plot)
 
void SetThick (int thick)
 
void SetValues (const std::vector< double > &values)
 
int GetAxis () const
 
wxColour GetColour () const
 
wxString GetName () const
 
wxPenStyle GetPenType () const
 
bool IsPlot () const
 
int GetThick () const
 
std::vector< double > GetValues () const
 
void SetHighlight (bool highlight)
 
bool IsHighlighted () const
 

Protected Attributes

std::vector< double > m_values
 
wxString m_name = wxT("")
 
bool m_plot = false
 
wxColour m_colour = *wxBLACK
 
int m_thick = 2.0
 
wxPenStyle m_penType = wxPenStyle::wxPENSTYLE_SOLID
 
int m_axis = 0
 
bool m_highlight = false
 

Detailed Description

This class is responsible to manage the graphical data of electromechanical result to be plotted on chart viewer.

Author
Thales Lima Oliveira thale.nosp@m.s@uf.nosp@m.u.br
Date
06/10/2017

Definition at line 35 of file ElementPlotData.h.

Constructor & Destructor Documentation

◆ PlotData()

PlotData::PlotData ( )
inline

Definition at line 38 of file ElementPlotData.h.

38{}

◆ ~PlotData()

PlotData::~PlotData ( )
inline

Definition at line 39 of file ElementPlotData.h.

39{}

Member Function Documentation

◆ GetAxis()

int PlotData::GetAxis ( ) const
inline

Definition at line 47 of file ElementPlotData.h.

47{ return m_axis; }

◆ GetColour()

wxColour PlotData::GetColour ( ) const
inline

Definition at line 48 of file ElementPlotData.h.

48{ return m_colour; }

◆ GetName()

wxString PlotData::GetName ( ) const
inline

Definition at line 49 of file ElementPlotData.h.

49{ return m_name; }

◆ GetPenType()

wxPenStyle PlotData::GetPenType ( ) const
inline

Definition at line 50 of file ElementPlotData.h.

50{ return m_penType; }

◆ GetThick()

int PlotData::GetThick ( ) const
inline

Definition at line 52 of file ElementPlotData.h.

52{ return m_thick; }

◆ GetValues()

std::vector< double > PlotData::GetValues ( ) const
inline

Definition at line 53 of file ElementPlotData.h.

53{ return m_values; }

◆ IsHighlighted()

bool PlotData::IsHighlighted ( ) const
inline

Definition at line 55 of file ElementPlotData.h.

55{ return m_highlight; }

◆ IsPlot()

bool PlotData::IsPlot ( ) const
inline

Definition at line 51 of file ElementPlotData.h.

51{ return m_plot; }

◆ SetAxis()

void PlotData::SetAxis ( int  axis)
inline

Definition at line 40 of file ElementPlotData.h.

40{ m_axis = axis; }

◆ SetColour()

void PlotData::SetColour ( const wxColour &  colour)
inline

Definition at line 41 of file ElementPlotData.h.

41{ m_colour = colour; }

◆ SetHighlight()

void PlotData::SetHighlight ( bool  highlight)
inline

Definition at line 54 of file ElementPlotData.h.

54{ m_highlight = highlight; }

◆ SetName()

void PlotData::SetName ( const wxString &  name)
inline

Definition at line 42 of file ElementPlotData.h.

42{ m_name = name; }

◆ SetPenType()

void PlotData::SetPenType ( const wxPenStyle &  penType)
inline

Definition at line 43 of file ElementPlotData.h.

43{ m_penType = penType; }

◆ SetPlot()

void PlotData::SetPlot ( bool  plot)
inline

Definition at line 44 of file ElementPlotData.h.

44{ m_plot = plot; }

◆ SetThick()

void PlotData::SetThick ( int  thick)
inline

Definition at line 45 of file ElementPlotData.h.

45{ m_thick = thick; }

◆ SetValues()

void PlotData::SetValues ( const std::vector< double > &  values)
inline

Definition at line 46 of file ElementPlotData.h.

46{ m_values = values; }

Member Data Documentation

◆ m_axis

int PlotData::m_axis = 0
protected

Definition at line 63 of file ElementPlotData.h.

◆ m_colour

wxColour PlotData::m_colour = *wxBLACK
protected

Definition at line 60 of file ElementPlotData.h.

◆ m_highlight

bool PlotData::m_highlight = false
protected

Definition at line 64 of file ElementPlotData.h.

◆ m_name

wxString PlotData::m_name = wxT("")
protected

Definition at line 58 of file ElementPlotData.h.

◆ m_penType

wxPenStyle PlotData::m_penType = wxPenStyle::wxPENSTYLE_SOLID
protected

Definition at line 62 of file ElementPlotData.h.

◆ m_plot

bool PlotData::m_plot = false
protected

Definition at line 59 of file ElementPlotData.h.

◆ m_thick

int PlotData::m_thick = 2.0
protected

Definition at line 61 of file ElementPlotData.h.

◆ m_values

std::vector<double> PlotData::m_values
protected

Definition at line 57 of file ElementPlotData.h.


The documentation for this class was generated from the following file: