KiCad PCB EDA Suite
CURSOR Class Reference

Cursor attached to a trace to follow its values:

More...

#include <sim_plot_panel.h>

Inheritance diagram for CURSOR:
mpInfoLayer mpLayer

Public Member Functions

 CURSOR (const TRACE *aTrace, SIM_PLOT_PANEL *aPlotPanel)
 
void Plot (wxDC &aDC, mpWindow &aWindow) override
 Plot method. More...
 
void SetX (int aX)
 
void Update ()
 
bool Inside (wxPoint &aPoint) override
 Checks whether a point is inside the info box rectangle. More...
 
void Move (wxPoint aDelta) override
 Moves the layer rectangle of given pixel deltas. More...
 
void UpdateReference () override
 Updates the rectangle reference point. More...
 
const wxRealPoint & GetCoords () const
 
virtual void UpdateInfo (mpWindow &w, wxEvent &event)
 Updates the content of the info box. More...
 
virtual bool HasBBox () override
 mpInfoLayer has not bounding box. More...
 
virtual bool IsInfo () override
 Specifies that this is an Info box layer. More...
 
wxPoint GetPosition ()
 Returns the position of the upper left corner of the box (in pixels) More...
 
wxSize GetSize ()
 Returns the size of the box (in pixels) More...
 
const wxRect & GetRectangle ()
 Returns the current rectangle coordinates. More...
 
virtual double GetMinX ()
 Get inclusive left border of bounding box. More...
 
virtual double GetMaxX ()
 Get inclusive right border of bounding box. More...
 
virtual double GetMinY ()
 Get inclusive bottom border of bounding box. More...
 
virtual double GetMaxY ()
 Get inclusive top border of bounding box. More...
 
const wxString & GetName () const
 Get layer name. More...
 
const wxFont & GetFont () const
 Get font set for this layer. More...
 
const wxPen & GetPen () const
 Get pen set for this layer. More...
 
void SetContinuity (bool continuity)
 Set the 'continuity' property of the layer (true:draws a continuous line, false:draws separate points). More...
 
bool GetContinuity () const
 Gets the 'continuity' property of the layer. More...
 
void ShowName (bool show)
 Shows or hides the text label with the name of the layer (default is visible). More...
 
void SetName (wxString name)
 Set layer name. More...
 
void SetFont (wxFont &font)
 Set layer font. More...
 
void SetPen (wxPen pen)
 Set layer pen. More...
 
void SetDrawOutsideMargins (bool drawModeOutside)
 Set Draw mode: inside or outside margins. More...
 
bool GetDrawOutsideMargins ()
 Get Draw mode: inside or outside margins. More...
 
wxBitmap GetColourSquare (int side=16)
 Get a small square bitmap filled with the colour of the pen used in the layer. More...
 
mpLayerType GetLayerType ()
 Get layer type: a Layer can be of different types: plot lines, axis, info boxes, etc, this method returns the right value. More...
 
bool IsVisible ()
 Checks whether the layer is visible or not. More...
 
void SetVisible (bool show)
 Sets layer visibility. More...
 
const wxBrush & GetBrush () const
 Get brush set for this layer. More...
 
void SetBrush (wxBrush brush)
 Set layer brush. More...
 

Protected Attributes

wxRect m_dim
 
wxPoint m_reference
 
wxBrush m_brush
 
int m_winX
 
int m_winY
 
wxFont m_font
 
wxPen m_pen
 
wxString m_name
 
bool m_continuous
 
bool m_showName
 
bool m_drawOutsideMargins
 
mpLayerType m_type
 
bool m_visible
 

Private Attributes

const TRACEm_trace
 
bool m_updateRequired
 
bool m_updateRef
 
wxRealPoint m_coords
 
mpWindowm_window
 
SIM_PLOT_PANELm_plotPanel
 

Static Private Attributes

static constexpr int DRAG_MARGIN = 10
 

Detailed Description

Cursor attached to a trace to follow its values:

Definition at line 41 of file sim_plot_panel.h.

Constructor & Destructor Documentation

◆ CURSOR()

CURSOR::CURSOR ( const TRACE aTrace,
SIM_PLOT_PANEL aPlotPanel 
)
inline

Definition at line 44 of file sim_plot_panel.h.

45  : mpInfoLayer( wxRect( 0, 0, DRAG_MARGIN, DRAG_MARGIN ), wxTRANSPARENT_BRUSH ),
46  m_trace( aTrace ), m_updateRequired( true ), m_updateRef( false ),
47  m_coords( 0.0, 0.0 ), m_window( nullptr ), m_plotPanel( aPlotPanel )
48  {
49  SetDrawOutsideMargins( false );
50  }
static constexpr int DRAG_MARGIN
const TRACE * m_trace
wxRealPoint m_coords
SIM_PLOT_PANEL * m_plotPanel
mpInfoLayer()
Default constructor.
Definition: mathplot.cpp:103
bool m_updateRequired
void SetDrawOutsideMargins(bool drawModeOutside)
Set Draw mode: inside or outside margins.
Definition: mathplot.h:282
mpWindow * m_window
bool m_updateRef

References mpLayer::SetDrawOutsideMargins().

Member Function Documentation

◆ GetBrush()

const wxBrush& mpLayer::GetBrush ( ) const
inlineinherited

Get brush set for this layer.

Returns
brush.

Definition at line 307 of file mathplot.h.

307 { return m_brush; };
wxBrush m_brush
Definition: mathplot.h:317

◆ GetColourSquare()

wxBitmap mpLayer::GetColourSquare ( int  side = 16)
inherited

Get a small square bitmap filled with the colour of the pen used in the layer.

Useful to create legends or similar reference to the layers.

Parameters
sideside length in pixels
Returns
a wxBitmap filled with layer's colour

Definition at line 83 of file mathplot.cpp.

84 {
85  wxBitmap square( side, side, -1 );
86  wxColour filler = m_pen.GetColour();
87  wxBrush brush( filler, wxBRUSHSTYLE_SOLID );
88  wxMemoryDC dc;
89 
90  dc.SelectObject( square );
91  dc.SetBackground( brush );
92  dc.Clear();
93  dc.SelectObject( wxNullBitmap );
94  return square;
95 }
double square(double x)
wxPen m_pen
Definition: mathplot.h:316

References mpLayer::m_pen, and square().

◆ GetContinuity()

bool mpLayer::GetContinuity ( ) const
inlineinherited

Gets the 'continuity' property of the layer.

See also
SetContinuity

Definition at line 259 of file mathplot.h.

259 { return m_continuous; }
bool m_continuous
Definition: mathplot.h:319

◆ GetCoords()

const wxRealPoint& CURSOR::GetCoords ( ) const
inline

Definition at line 76 of file sim_plot_panel.h.

77  {
78  return m_coords;
79  }
wxRealPoint m_coords

References m_coords.

◆ GetDrawOutsideMargins()

bool mpLayer::GetDrawOutsideMargins ( )
inlineinherited

Get Draw mode: inside or outside margins.

Returns
The draw mode

Definition at line 286 of file mathplot.h.

286 { return m_drawOutsideMargins; };
bool m_drawOutsideMargins
Definition: mathplot.h:321

◆ GetFont()

const wxFont& mpLayer::GetFont ( ) const
inlineinherited

Get font set for this layer.

Returns
Font

Definition at line 244 of file mathplot.h.

244 { return m_font; }
wxFont m_font
Definition: mathplot.h:311

◆ GetLayerType()

mpLayerType mpLayer::GetLayerType ( )
inlineinherited

Get layer type: a Layer can be of different types: plot lines, axis, info boxes, etc, this method returns the right value.

Returns
An integer indicating layer type

Definition at line 295 of file mathplot.h.

295 { return m_type; };
mpLayerType m_type
Definition: mathplot.h:322

Referenced by mpInfoLegend::Plot().

◆ GetMaxX()

virtual double mpLayer::GetMaxX ( )
inlinevirtualinherited

Get inclusive right border of bounding box.

Returns
Value

Reimplemented in mpBitmapLayer, mpMovableObject, and mpFXYVector.

Definition at line 181 of file mathplot.h.

181 { return 1.0; }

Referenced by mpWindow::UpdateBBox(), and mpFXY::UpdateScales().

◆ GetMaxY()

virtual double mpLayer::GetMaxY ( )
inlinevirtualinherited

Get inclusive top border of bounding box.

Returns
Value

Reimplemented in mpBitmapLayer, mpMovableObject, and mpFXYVector.

Definition at line 191 of file mathplot.h.

191 { return 1.0; }

Referenced by mpWindow::UpdateBBox(), and mpFXY::UpdateScales().

◆ GetMinX()

virtual double mpLayer::GetMinX ( )
inlinevirtualinherited

Get inclusive left border of bounding box.

Returns
Value

Reimplemented in mpBitmapLayer, mpMovableObject, and mpFXYVector.

Definition at line 176 of file mathplot.h.

176 { return -1.0; }

Referenced by mpWindow::UpdateBBox(), and mpFXY::UpdateScales().

◆ GetMinY()

virtual double mpLayer::GetMinY ( )
inlinevirtualinherited

Get inclusive bottom border of bounding box.

Returns
Value

Reimplemented in mpBitmapLayer, mpMovableObject, and mpFXYVector.

Definition at line 186 of file mathplot.h.

186 { return -1.0; }

Referenced by mpWindow::UpdateBBox(), and mpFXY::UpdateScales().

◆ GetName()

const wxString& mpLayer::GetName ( void  ) const
inlineinherited

Get layer name.

Returns
Name

Definition at line 239 of file mathplot.h.

239 { return m_name; }
wxString m_name
Definition: mathplot.h:318

Referenced by SIM_PLOT_PANEL::GetLabelX(), SIM_PLOT_PANEL::GetLabelY1(), SIM_PLOT_PANEL::GetLabelY2(), mpInfoLegend::Plot(), and mpText::Plot().

◆ GetPen()

const wxPen& mpLayer::GetPen ( ) const
inlineinherited

Get pen set for this layer.

Returns
Pen

Definition at line 249 of file mathplot.h.

249 { return m_pen; }
wxPen m_pen
Definition: mathplot.h:316

Referenced by mpInfoLegend::Plot().

◆ GetPosition()

wxPoint mpInfoLayer::GetPosition ( )
inherited

Returns the position of the upper left corner of the box (in pixels)

Returns
The rectangle position

Definition at line 200 of file mathplot.cpp.

201 {
202  return m_dim.GetPosition();
203 }
wxRect m_dim
Definition: mathplot.h:393

References mpInfoLayer::m_dim.

◆ GetRectangle()

const wxRect& mpInfoLayer::GetRectangle ( )
inlineinherited

Returns the current rectangle coordinates.

Returns
The info layer rectangle

Definition at line 393 of file mathplot.h.

393 { return m_dim; };
wxRect m_dim
Definition: mathplot.h:393

Referenced by mpWindow::OnMouseMove().

◆ GetSize()

wxSize mpInfoLayer::GetSize ( )
inherited

Returns the size of the box (in pixels)

Returns
The rectangle size

Definition at line 206 of file mathplot.cpp.

207 {
208  return m_dim.GetSize();
209 }
wxRect m_dim
Definition: mathplot.h:393

References mpInfoLayer::m_dim.

◆ HasBBox()

virtual bool mpInfoLayer::HasBBox ( )
inlineoverridevirtualinherited

mpInfoLayer has not bounding box.

See also
mpLayer::HasBBox
Returns
always FALSE

Reimplemented from mpLayer.

Definition at line 358 of file mathplot.h.

358 { return false; }

◆ Inside()

bool CURSOR::Inside ( wxPoint point)
overridevirtual

Checks whether a point is inside the info box rectangle.

Parameters
pointThe point to be checked
Returns
true if the point is inside the bounding box

Reimplemented from mpInfoLayer.

Definition at line 346 of file sim_plot_panel.cpp.

347 {
348  if( !m_window )
349  return false;
350 
351  return ( std::abs( (double) aPoint.x - m_window->x2p( m_trace->x2s( m_coords.x ) ) ) <= DRAG_MARGIN )
352  || ( std::abs( (double) aPoint.y - m_window->y2p( m_trace->y2s( m_coords.y ) ) ) <= DRAG_MARGIN );
353 }
static constexpr int DRAG_MARGIN
const TRACE * m_trace
wxRealPoint m_coords
double y2s(double y) const
Definition: mathplot.cpp:4104
wxCoord y2p(double y)
Converts graph (floating point) coordinates into mpWindow (screen) pixel coordinates,...
Definition: mathplot.h:1204
mpWindow * m_window
double x2s(double x) const
Definition: mathplot.cpp:4098
wxCoord x2p(double x)
Converts graph (floating point) coordinates into mpWindow (screen) pixel coordinates,...
Definition: mathplot.h:1199

References DRAG_MARGIN, m_coords, m_trace, m_window, wxPoint::x, mpWindow::x2p(), mpFXY::x2s(), wxPoint::y, mpWindow::y2p(), and mpFXY::y2s().

◆ IsInfo()

virtual bool mpInfoLayer::IsInfo ( )
inlineoverridevirtualinherited

Specifies that this is an Info box layer.

Returns
always TRUE
See also
mpLayer::IsInfo

Reimplemented from mpLayer.

Definition at line 369 of file mathplot.h.

369 { return true; }

◆ IsVisible()

bool mpLayer::IsVisible ( )
inlineinherited

Checks whether the layer is visible or not.

Returns
true if visible

Definition at line 299 of file mathplot.h.

299 { return m_visible; };
bool m_visible
Definition: mathplot.h:323

Referenced by mpWindow::IsLayerVisible(), SIM_PLOT_PANEL::IsLegendShown(), and mpInfoLegend::Plot().

◆ Move()

void CURSOR::Move ( wxPoint  delta)
inlineoverridevirtual

Moves the layer rectangle of given pixel deltas.

Parameters
deltaThe wxPoint container for delta coordinates along x and y. Units are in pixels.

Reimplemented from mpInfoLayer.

Definition at line 68 of file sim_plot_panel.h.

69  {
70  Update();
71  mpInfoLayer::Move( aDelta );
72  }
virtual void Move(wxPoint delta)
Moves the layer rectangle of given pixel deltas.
Definition: mathplot.cpp:141
void Update()

References mpInfoLayer::Move(), and Update().

Referenced by SetX().

◆ Plot()

void CURSOR::Plot ( wxDC &  dc,
mpWindow w 
)
overridevirtual

Plot method.

Can be overidden by derived classes.

Parameters
dcthe device content where to plot
wthe window to plot
See also
mpLayer::Plot

Reimplemented from mpInfoLayer.

Definition at line 266 of file sim_plot_panel.cpp.

267 {
268  if( !m_window )
269  m_window = &aWindow;
270 
271  if( !m_visible )
272  return;
273 
274  const auto& dataX = m_trace->GetDataX();
275  const auto& dataY = m_trace->GetDataY();
276 
277  if( dataX.size() <= 1 )
278  return;
279 
280  if( m_updateRequired )
281  {
282  m_coords.x = m_trace->s2x( aWindow.p2x( m_dim.x ) );
283 
284  // Find the closest point coordinates
285  auto maxXIt = std::upper_bound( dataX.begin(), dataX.end(), m_coords.x );
286  int maxIdx = maxXIt - dataX.begin();
287  int minIdx = maxIdx - 1;
288 
289  // Out of bounds checks
290  if( minIdx < 0 )
291  {
292  minIdx = 0;
293  maxIdx = 1;
294  m_coords.x = dataX[0];
295  }
296  else if( maxIdx >= (int) dataX.size() )
297  {
298  maxIdx = dataX.size() - 1;
299  minIdx = maxIdx - 1;
300  m_coords.x = dataX[maxIdx];
301  }
302 
303  const double leftX = dataX[minIdx];
304  const double rightX = dataX[maxIdx];
305  const double leftY = dataY[minIdx];
306  const double rightY = dataY[maxIdx];
307 
308  // Linear interpolation
309  m_coords.y = leftY + ( rightY - leftY ) / ( rightX - leftX ) * ( m_coords.x - leftX );
310  m_updateRequired = false;
311 
312  // Notify the parent window about the changes
313  wxQueueEvent( aWindow.GetParent(), new wxCommandEvent( EVT_SIM_CURSOR_UPDATE ) );
314  }
315  else
316  {
317  m_updateRef = true;
318  }
319 
320  if( m_updateRef )
321  {
322  UpdateReference();
323  m_updateRef = false;
324  }
325 
326  // Line length in horizontal and vertical dimensions
327  const wxPoint cursorPos( aWindow.x2p( m_trace->x2s( m_coords.x ) ),
328  aWindow.y2p( m_trace->y2s( m_coords.y ) ) );
329 
330  wxCoord leftPx = m_drawOutsideMargins ? 0 : aWindow.GetMarginLeft();
331  wxCoord rightPx = m_drawOutsideMargins ? aWindow.GetScrX() : aWindow.GetScrX() - aWindow.GetMarginRight();
332  wxCoord topPx = m_drawOutsideMargins ? 0 : aWindow.GetMarginTop();
333  wxCoord bottomPx = m_drawOutsideMargins ? aWindow.GetScrY() : aWindow.GetScrY() - aWindow.GetMarginBottom();
334 
335  aDC.SetPen( wxPen( m_plotPanel->GetPlotColor( SIM_CURSOR_COLOR ), 1,
336  m_continuous ? wxPENSTYLE_SOLID : wxPENSTYLE_LONG_DASH ) );
337 
338  if( topPx < cursorPos.y && cursorPos.y < bottomPx )
339  aDC.DrawLine( leftPx, cursorPos.y, rightPx, cursorPos.y );
340 
341  if( leftPx < cursorPos.x && cursorPos.x < rightPx )
342  aDC.DrawLine( cursorPos.x, topPx, cursorPos.x, bottomPx );
343 }
double s2x(double plotCoordX) const
Definition: mathplot.cpp:4086
bool m_continuous
Definition: mathplot.h:319
const TRACE * m_trace
wxRealPoint m_coords
const std::vector< double > & GetDataX() const
double y2s(double y) const
Definition: mathplot.cpp:4104
SIM_PLOT_PANEL * m_plotPanel
void UpdateReference() override
Updates the rectangle reference point.
bool m_visible
Definition: mathplot.h:323
bool m_updateRequired
wxRect m_dim
Definition: mathplot.h:393
mpWindow * m_window
bool m_drawOutsideMargins
Definition: mathplot.h:321
double x2s(double x) const
Definition: mathplot.cpp:4098
const std::vector< double > & GetDataY() const
wxColour GetPlotColor(int aIndex)
A proxy to SIM_PLOT_FRAME::GetPlotColor()
bool m_updateRef

References TRACE::GetDataX(), TRACE::GetDataY(), mpWindow::GetMarginBottom(), mpWindow::GetMarginLeft(), mpWindow::GetMarginRight(), mpWindow::GetMarginTop(), SIM_PLOT_PANEL::GetPlotColor(), mpWindow::GetScrX(), mpWindow::GetScrY(), mpLayer::m_continuous, m_coords, mpInfoLayer::m_dim, mpLayer::m_drawOutsideMargins, m_plotPanel, m_trace, m_updateRef, m_updateRequired, mpLayer::m_visible, m_window, mpWindow::p2x(), mpFXY::s2x(), SIM_CURSOR_COLOR, UpdateReference(), wxPoint::x, mpWindow::x2p(), mpFXY::x2s(), wxPoint::y, mpWindow::y2p(), and mpFXY::y2s().

◆ SetBrush()

void mpLayer::SetBrush ( wxBrush  brush)
inlineinherited

Set layer brush.

Parameters
brushbrush, will be copied to internal class member

Definition at line 311 of file mathplot.h.

311 { m_brush = brush; };
wxBrush m_brush
Definition: mathplot.h:317

◆ SetContinuity()

void mpLayer::SetContinuity ( bool  continuity)
inlineinherited

Set the 'continuity' property of the layer (true:draws a continuous line, false:draws separate points).

See also
GetContinuity

Definition at line 254 of file mathplot.h.

254 { m_continuous = continuity; }
bool m_continuous
Definition: mathplot.h:319

Referenced by TRACE::TRACE().

◆ SetDrawOutsideMargins()

void mpLayer::SetDrawOutsideMargins ( bool  drawModeOutside)
inlineinherited

Set Draw mode: inside or outside margins.

Default is outside, which allows the layer to draw up to the mpWindow border.

Parameters
drawModeOutsideThe draw mode to be set

Definition at line 282 of file mathplot.h.

282 { m_drawOutsideMargins = drawModeOutside; };
bool m_drawOutsideMargins
Definition: mathplot.h:321

Referenced by CURSOR(), and TRACE::TRACE().

◆ SetFont()

void mpLayer::SetFont ( wxFont &  font)
inlineinherited

Set layer font.

Parameters
fontFont, will be copied to internal class member

Definition at line 273 of file mathplot.h.

273 { m_font = font; }
wxFont m_font
Definition: mathplot.h:311

◆ SetName()

void mpLayer::SetName ( wxString  name)
inlineinherited

Set layer name.

Parameters
nameName, will be copied to internal class member

Definition at line 268 of file mathplot.h.

268 { m_name = name; }
const char * name
Definition: DXF_plotter.cpp:60
wxString m_name
Definition: mathplot.h:318

References name.

◆ SetPen()

void mpLayer::SetPen ( wxPen  pen)
inlineinherited

Set layer pen.

Parameters
penPen, will be copied to internal class member

Definition at line 278 of file mathplot.h.

278 { m_pen = pen; }
wxPen m_pen
Definition: mathplot.h:316

Referenced by SIM_PLOT_PANEL::UpdateTraceStyle().

◆ SetVisible()

void mpLayer::SetVisible ( bool  show)
inlineinherited

Sets layer visibility.

Parameters
showvisibility bool.

Definition at line 303 of file mathplot.h.

303 { m_visible = show; };
bool m_visible
Definition: mathplot.h:323

Referenced by mpWindow::SetLayerVisible(), SIM_PLOT_PANEL::ShowLegend(), and SIM_PLOT_PANEL::SIM_PLOT_PANEL().

◆ SetX()

void CURSOR::SetX ( int  aX)
inline

Definition at line 54 of file sim_plot_panel.h.

55  {
56  m_reference.x = 0;
57  m_updateRef = true;
58  Move( wxPoint( aX, 0 ) );
59  }
void Move(wxPoint aDelta) override
Moves the layer rectangle of given pixel deltas.
wxPoint m_reference
Definition: mathplot.h:397
bool m_updateRef

References mpInfoLayer::m_reference, m_updateRef, Move(), and wxPoint::x.

Referenced by SIM_PLOT_PANEL::EnableCursor().

◆ ShowName()

void mpLayer::ShowName ( bool  show)
inlineinherited

Shows or hides the text label with the name of the layer (default is visible).

Definition at line 263 of file mathplot.h.

263 { m_showName = show; };
bool m_showName
Definition: mathplot.h:320

Referenced by TRACE::TRACE().

◆ Update()

void CURSOR::Update ( )
inline

Definition at line 61 of file sim_plot_panel.h.

62  {
63  m_updateRequired = true;
64  }
bool m_updateRequired

References m_updateRequired.

Referenced by Move(), and TRACE::SetData().

◆ UpdateInfo()

void mpInfoLayer::UpdateInfo ( mpWindow w,
wxEvent &  event 
)
virtualinherited

Updates the content of the info box.

Should be overidden by derived classes. Update may behave in different ways according to the type of event which called it.

Parameters
wparent mpWindow from which to obtain informations
eventThe event which called the update.

Reimplemented in mpInfoLegend, and mpInfoCoords.

Definition at line 130 of file mathplot.cpp.

131 {
132 }

Referenced by mpWindow::OnMouseMove().

◆ UpdateReference()

void CURSOR::UpdateReference ( )
overridevirtual

Updates the rectangle reference point.

Used by internal methods of mpWindow to correctly move mpInfoLayers.

Reimplemented from mpInfoLayer.

Definition at line 356 of file sim_plot_panel.cpp.

357 {
358  if( !m_window )
359  return;
360 
363 }
const TRACE * m_trace
wxRealPoint m_coords
double y2s(double y) const
Definition: mathplot.cpp:4104
wxCoord y2p(double y)
Converts graph (floating point) coordinates into mpWindow (screen) pixel coordinates,...
Definition: mathplot.h:1204
mpWindow * m_window
wxPoint m_reference
Definition: mathplot.h:397
double x2s(double x) const
Definition: mathplot.cpp:4098
wxCoord x2p(double x)
Converts graph (floating point) coordinates into mpWindow (screen) pixel coordinates,...
Definition: mathplot.h:1199

References m_coords, mpInfoLayer::m_reference, m_trace, m_window, wxPoint::x, mpWindow::x2p(), mpFXY::x2s(), wxPoint::y, mpWindow::y2p(), and mpFXY::y2s().

Referenced by Plot().

Member Data Documentation

◆ DRAG_MARGIN

constexpr int CURSOR::DRAG_MARGIN = 10
staticprivate

Definition at line 88 of file sim_plot_panel.h.

Referenced by Inside().

◆ m_brush

wxBrush mpInfoLayer::m_brush
protectedinherited

◆ m_continuous

bool mpLayer::m_continuous
protectedinherited

Definition at line 319 of file mathplot.h.

Referenced by Plot(), mpFXY::Plot(), and mpMovableObject::Plot().

◆ m_coords

wxRealPoint CURSOR::m_coords
private

Definition at line 84 of file sim_plot_panel.h.

Referenced by GetCoords(), Inside(), Plot(), and UpdateReference().

◆ m_dim

◆ m_drawOutsideMargins

bool mpLayer::m_drawOutsideMargins
protectedinherited

◆ m_font

◆ m_name

wxString mpLayer::m_name
protectedinherited

◆ m_pen

◆ m_plotPanel

SIM_PLOT_PANEL* CURSOR::m_plotPanel
private

Definition at line 86 of file sim_plot_panel.h.

Referenced by Plot().

◆ m_reference

wxPoint mpInfoLayer::m_reference
protectedinherited

◆ m_showName

bool mpLayer::m_showName
protectedinherited

◆ m_trace

const TRACE* CURSOR::m_trace
private

Definition at line 82 of file sim_plot_panel.h.

Referenced by Inside(), Plot(), and UpdateReference().

◆ m_type

mpLayerType mpLayer::m_type
protectedinherited

Definition at line 322 of file mathplot.h.

Referenced by mpInfoLayer::mpInfoLayer().

◆ m_updateRef

bool CURSOR::m_updateRef
private

Definition at line 83 of file sim_plot_panel.h.

Referenced by Plot(), and SetX().

◆ m_updateRequired

bool CURSOR::m_updateRequired
private

Definition at line 83 of file sim_plot_panel.h.

Referenced by Plot(), and Update().

◆ m_visible

◆ m_window

mpWindow* CURSOR::m_window
private

Definition at line 85 of file sim_plot_panel.h.

Referenced by Inside(), Plot(), and UpdateReference().

◆ m_winX

int mpInfoLayer::m_winX
protectedinherited

◆ m_winY

int mpInfoLayer::m_winY
protectedinherited

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