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 () const override
 mpInfoLayer has not bounding box. More...
 
virtual bool IsInfo () const override
 Specifies that this is an Info box layer. More...
 
wxPoint GetPosition () const
 Returns the position of the upper left corner of the box (in pixels) More...
 
wxSize GetSize () const
 Returns the size of the box (in pixels) More...
 
const wxRect & GetRectangle () const
 Returns the current rectangle coordinates. More...
 
virtual double GetMinX () const
 Get inclusive left border of bounding box. More...
 
virtual double GetMaxX () const
 Get inclusive right border of bounding box. More...
 
virtual double GetMinY () const
 Get inclusive bottom border of bounding box. More...
 
virtual double GetMaxY () const
 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) const
 Get a small square bitmap filled with the colour of the pen used in the layer. More...
 
mpLayerType GetLayerType () const
 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 () const
 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
 

Static Private Attributes

static constexpr int DRAG_MARGIN = 10
 

Detailed Description

Cursor attached to a trace to follow its values:

Definition at line 44 of file sim_plot_panel.h.

Constructor & Destructor Documentation

◆ CURSOR()

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

Definition at line 47 of file sim_plot_panel.h.

47  :
48  mpInfoLayer( wxRect( 0, 0, DRAG_MARGIN, DRAG_MARGIN ), wxTRANSPARENT_BRUSH ),
49  m_trace( aTrace ), m_updateRequired( true ), m_updateRef( false ), m_coords( 0.0, 0.0 ),
50  m_window( nullptr )
51  {
52  SetDrawOutsideMargins( false );
53  }
static constexpr int DRAG_MARGIN
const TRACE * m_trace
wxRealPoint m_coords
mpInfoLayer()
Default constructor.
Definition: mathplot.cpp:94
bool m_updateRequired
void SetDrawOutsideMargins(bool drawModeOutside)
Set Draw mode: inside or outside margins.
Definition: mathplot.h:281
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 306 of file mathplot.h.

306 { return m_brush; };
wxBrush m_brush
Definition: mathplot.h:316

◆ GetColourSquare()

wxBitmap mpLayer::GetColourSquare ( int  side = 16) const
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 74 of file mathplot.cpp.

75 {
76  wxBitmap square( side, side, -1 );
77  wxColour filler = m_pen.GetColour();
78  wxBrush brush( filler, wxBRUSHSTYLE_SOLID );
79  wxMemoryDC dc;
80 
81  dc.SelectObject( square );
82  dc.SetBackground( brush );
83  dc.Clear();
84  dc.SelectObject( wxNullBitmap );
85  return square;
86 }
wxPen m_pen
Definition: mathplot.h:315
double square(double x)

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 258 of file mathplot.h.

258 { return m_continuous; }
bool m_continuous
Definition: mathplot.h:318

◆ GetCoords()

const wxRealPoint& CURSOR::GetCoords ( ) const
inline

Definition at line 79 of file sim_plot_panel.h.

80  {
81  return m_coords;
82  }
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 285 of file mathplot.h.

285 { return m_drawOutsideMargins; };
bool m_drawOutsideMargins
Definition: mathplot.h:320

◆ GetFont()

const wxFont& mpLayer::GetFont ( ) const
inlineinherited

Get font set for this layer.

Returns
Font

Definition at line 243 of file mathplot.h.

243 { return m_font; }
wxFont m_font
Definition: mathplot.h:310

◆ GetLayerType()

mpLayerType mpLayer::GetLayerType ( ) const
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 294 of file mathplot.h.

294 { return m_type; };
mpLayerType m_type
Definition: mathplot.h:321

Referenced by mpInfoLegend::Plot().

◆ GetMaxX()

virtual double mpLayer::GetMaxX ( ) const
inlinevirtualinherited

Get inclusive right border of bounding box.

Returns
Value

Reimplemented in mpBitmapLayer, mpMovableObject, and mpFXYVector.

Definition at line 180 of file mathplot.h.

180 { return 1.0; }

Referenced by mpFXY::UpdateScales().

◆ GetMaxY()

virtual double mpLayer::GetMaxY ( ) const
inlinevirtualinherited

Get inclusive top border of bounding box.

Returns
Value

Reimplemented in mpBitmapLayer, mpMovableObject, and mpFXYVector.

Definition at line 190 of file mathplot.h.

190 { return 1.0; }

Referenced by mpFXY::UpdateScales().

◆ GetMinX()

virtual double mpLayer::GetMinX ( ) const
inlinevirtualinherited

Get inclusive left border of bounding box.

Returns
Value

Reimplemented in mpBitmapLayer, mpMovableObject, and mpFXYVector.

Definition at line 175 of file mathplot.h.

175 { return -1.0; }

Referenced by mpFXY::UpdateScales().

◆ GetMinY()

virtual double mpLayer::GetMinY ( ) const
inlinevirtualinherited

Get inclusive bottom border of bounding box.

Returns
Value

Reimplemented in mpBitmapLayer, mpMovableObject, and mpFXYVector.

Definition at line 185 of file mathplot.h.

185 { return -1.0; }

Referenced by mpFXY::UpdateScales().

◆ GetName()

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

Get layer name.

Returns
Name

Definition at line 238 of file mathplot.h.

238 { return m_name; }
wxString m_name
Definition: mathplot.h:317

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 248 of file mathplot.h.

248 { return m_pen; }
wxPen m_pen
Definition: mathplot.h:315

Referenced by Plot(), and mpInfoLegend::Plot().

◆ GetPosition()

wxPoint mpInfoLayer::GetPosition ( ) const
inherited

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

Returns
The rectangle position

Definition at line 187 of file mathplot.cpp.

188 {
189  return m_dim.GetPosition();
190 }
wxRect m_dim
Definition: mathplot.h:392

References mpInfoLayer::m_dim.

◆ GetRectangle()

const wxRect& mpInfoLayer::GetRectangle ( ) const
inlineinherited

Returns the current rectangle coordinates.

Returns
The info layer rectangle

Definition at line 392 of file mathplot.h.

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

Referenced by mpWindow::OnMouseMove().

◆ GetSize()

wxSize mpInfoLayer::GetSize ( ) const
inherited

Returns the size of the box (in pixels)

Returns
The rectangle size

Definition at line 193 of file mathplot.cpp.

194 {
195  return m_dim.GetSize();
196 }
wxRect m_dim
Definition: mathplot.h:392

References mpInfoLayer::m_dim.

◆ HasBBox()

virtual bool mpInfoLayer::HasBBox ( ) const
inlineoverridevirtualinherited

mpInfoLayer has not bounding box.

See also
mpLayer::HasBBox
Returns
always false

Reimplemented from mpLayer.

Definition at line 357 of file mathplot.h.

357 { 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 279 of file sim_plot_panel.cpp.

280 {
281  if( !m_window )
282  return false;
283 
284  return ( std::abs( (double) aPoint.x -
285  m_window->x2p( m_trace->x2s( m_coords.x ) ) ) <= DRAG_MARGIN )
286  || ( std::abs( (double) aPoint.y -
287  m_window->y2p( m_trace->y2s( m_coords.y ) ) ) <= DRAG_MARGIN );
288 }
static constexpr int DRAG_MARGIN
const TRACE * m_trace
wxRealPoint m_coords
double y2s(double y) const
Definition: mathplot.cpp:3560
wxCoord y2p(double y)
Converts graph (floating point) coordinates into mpWindow (screen) pixel coordinates,...
Definition: mathplot.h:1207
mpWindow * m_window
double x2s(double x) const
Definition: mathplot.cpp:3554
wxCoord x2p(double x)
Converts graph (floating point) coordinates into mpWindow (screen) pixel coordinates,...
Definition: mathplot.h:1202

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

◆ IsInfo()

virtual bool mpInfoLayer::IsInfo ( ) const
inlineoverridevirtualinherited

Specifies that this is an Info box layer.

Returns
always true
See also
mpLayer::IsInfo

Reimplemented from mpLayer.

Definition at line 368 of file mathplot.h.

368 { return true; }

◆ IsVisible()

bool mpLayer::IsVisible ( ) const
inlineinherited

Checks whether the layer is visible or not.

Returns
true if visible

Definition at line 298 of file mathplot.h.

298 { return m_visible; };
bool m_visible
Definition: mathplot.h:322

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 71 of file sim_plot_panel.h.

72  {
73  Update();
74  mpInfoLayer::Move( aDelta );
75  }
virtual void Move(wxPoint delta)
Moves the layer rectangle of given pixel deltas.
Definition: mathplot.cpp:132
void Update()

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

Referenced by SetX().

◆ Plot()

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

Plot method.

Can be overridden by derived classes.

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

Reimplemented from mpInfoLayer.

Definition at line 196 of file sim_plot_panel.cpp.

197 {
198  if( !m_window )
199  m_window = &aWindow;
200 
201  if( !m_visible )
202  return;
203 
204  const auto& dataX = m_trace->GetDataX();
205  const auto& dataY = m_trace->GetDataY();
206 
207  if( dataX.size() <= 1 )
208  return;
209 
210  if( m_updateRequired )
211  {
212  m_coords.x = m_trace->s2x( aWindow.p2x( m_dim.x ) );
213 
214  // Find the closest point coordinates
215  auto maxXIt = std::upper_bound( dataX.begin(), dataX.end(), m_coords.x );
216  int maxIdx = maxXIt - dataX.begin();
217  int minIdx = maxIdx - 1;
218 
219  // Out of bounds checks
220  if( minIdx < 0 )
221  {
222  minIdx = 0;
223  maxIdx = 1;
224  m_coords.x = dataX[0];
225  }
226  else if( maxIdx >= (int) dataX.size() )
227  {
228  maxIdx = dataX.size() - 1;
229  minIdx = maxIdx - 1;
230  m_coords.x = dataX[maxIdx];
231  }
232 
233  const double leftX = dataX[minIdx];
234  const double rightX = dataX[maxIdx];
235  const double leftY = dataY[minIdx];
236  const double rightY = dataY[maxIdx];
237 
238  // Linear interpolation
239  m_coords.y = leftY + ( rightY - leftY ) / ( rightX - leftX ) * ( m_coords.x - leftX );
240  m_updateRequired = false;
241 
242  // Notify the parent window about the changes
243  wxQueueEvent( aWindow.GetParent(), new wxCommandEvent( EVT_SIM_CURSOR_UPDATE ) );
244  }
245  else
246  {
247  m_updateRef = true;
248  }
249 
250  if( m_updateRef )
251  {
252  UpdateReference();
253  m_updateRef = false;
254  }
255 
256  // Line length in horizontal and vertical dimensions
257  const wxPoint cursorPos( aWindow.x2p( m_trace->x2s( m_coords.x ) ),
258  aWindow.y2p( m_trace->y2s( m_coords.y ) ) );
259 
260  wxCoord leftPx = m_drawOutsideMargins ? 0 : aWindow.GetMarginLeft();
261  wxCoord rightPx = m_drawOutsideMargins ? aWindow.GetScrX() :
262  aWindow.GetScrX() - aWindow.GetMarginRight();
263  wxCoord topPx = m_drawOutsideMargins ? 0 : aWindow.GetMarginTop();
264  wxCoord bottomPx = m_drawOutsideMargins ? aWindow.GetScrY() :
265  aWindow.GetScrY() - aWindow.GetMarginBottom();
266 
267  wxPen pen = GetPen();
268  pen.SetStyle( m_continuous ? wxPENSTYLE_SOLID : wxPENSTYLE_LONG_DASH );
269  aDC.SetPen( pen );
270 
271  if( topPx < cursorPos.y && cursorPos.y < bottomPx )
272  aDC.DrawLine( leftPx, cursorPos.y, rightPx, cursorPos.y );
273 
274  if( leftPx < cursorPos.x && cursorPos.x < rightPx )
275  aDC.DrawLine( cursorPos.x, topPx, cursorPos.x, bottomPx );
276 }
double s2x(double plotCoordX) const
Definition: mathplot.cpp:3542
bool m_continuous
Definition: mathplot.h:318
const TRACE * m_trace
wxRealPoint m_coords
const std::vector< double > & GetDataX() const
double y2s(double y) const
Definition: mathplot.cpp:3560
void UpdateReference() override
Updates the rectangle reference point.
bool m_visible
Definition: mathplot.h:322
bool m_updateRequired
wxRect m_dim
Definition: mathplot.h:392
mpWindow * m_window
bool m_drawOutsideMargins
Definition: mathplot.h:320
double x2s(double x) const
Definition: mathplot.cpp:3554
const std::vector< double > & GetDataY() const
bool m_updateRef
const wxPen & GetPen() const
Get pen set for this layer.
Definition: mathplot.h:248

References TRACE::GetDataX(), TRACE::GetDataY(), mpWindow::GetMarginBottom(), mpWindow::GetMarginLeft(), mpWindow::GetMarginRight(), mpWindow::GetMarginTop(), mpLayer::GetPen(), mpWindow::GetScrX(), mpWindow::GetScrY(), mpLayer::m_continuous, m_coords, mpInfoLayer::m_dim, mpLayer::m_drawOutsideMargins, m_trace, m_updateRef, m_updateRequired, mpLayer::m_visible, m_window, mpWindow::p2x(), mpFXY::s2x(), UpdateReference(), mpWindow::x2p(), mpFXY::x2s(), 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 310 of file mathplot.h.

310 { m_brush = brush; };
wxBrush m_brush
Definition: mathplot.h:316

◆ 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 253 of file mathplot.h.

253 { m_continuous = continuity; }
bool m_continuous
Definition: mathplot.h:318

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 281 of file mathplot.h.

281 { m_drawOutsideMargins = drawModeOutside; };
bool m_drawOutsideMargins
Definition: mathplot.h:320

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 272 of file mathplot.h.

272 { m_font = font; }
wxFont m_font
Definition: mathplot.h:310

◆ SetName()

void mpLayer::SetName ( wxString  name)
inlineinherited

Set layer name.

Parameters
nameName, will be copied to internal class member

Definition at line 267 of file mathplot.h.

267 { m_name = name; }
const char * name
Definition: DXF_plotter.cpp:56
wxString m_name
Definition: mathplot.h:317

References name.

◆ SetPen()

void mpLayer::SetPen ( wxPen  pen)
inlineinherited

Set layer pen.

Parameters
penPen, will be copied to internal class member

Definition at line 277 of file mathplot.h.

277 { m_pen = pen; }
wxPen m_pen
Definition: mathplot.h:315

Referenced by SIM_PLOT_PANEL::EnableCursor(), and SIM_PLOT_PANEL::UpdateTraceStyle().

◆ SetVisible()

void mpLayer::SetVisible ( bool  show)
inlineinherited

Sets layer visibility.

Parameters
showvisibility bool.

Definition at line 302 of file mathplot.h.

302 { m_visible = show; };
bool m_visible
Definition: mathplot.h:322

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 57 of file sim_plot_panel.h.

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

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

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 262 of file mathplot.h.

262 { m_showName = show; };
bool m_showName
Definition: mathplot.h:319

Referenced by TRACE::TRACE().

◆ Update()

void CURSOR::Update ( )
inline

Definition at line 64 of file sim_plot_panel.h.

65  {
66  m_updateRequired = true;
67  }
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 overridden 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 information
eventThe event which called the update.

Reimplemented in mpInfoLegend, and mpInfoCoords.

Definition at line 121 of file mathplot.cpp.

122 {
123 }

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 291 of file sim_plot_panel.cpp.

292 {
293  if( !m_window )
294  return;
295 
296  m_reference.x = m_window->x2p( m_trace->x2s( m_coords.x ) );
297  m_reference.y = m_window->y2p( m_trace->y2s( m_coords.y ) );
298 }
const TRACE * m_trace
wxRealPoint m_coords
double y2s(double y) const
Definition: mathplot.cpp:3560
wxCoord y2p(double y)
Converts graph (floating point) coordinates into mpWindow (screen) pixel coordinates,...
Definition: mathplot.h:1207
mpWindow * m_window
wxPoint m_reference
Definition: mathplot.h:396
double x2s(double x) const
Definition: mathplot.cpp:3554
wxCoord x2p(double x)
Converts graph (floating point) coordinates into mpWindow (screen) pixel coordinates,...
Definition: mathplot.h:1202

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

Referenced by Plot().

Member Data Documentation

◆ DRAG_MARGIN

constexpr int CURSOR::DRAG_MARGIN = 10
staticprivate

Definition at line 90 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 318 of file mathplot.h.

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

◆ m_coords

wxRealPoint CURSOR::m_coords
private

Definition at line 87 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_reference

wxPoint mpInfoLayer::m_reference
protectedinherited

◆ m_showName

bool mpLayer::m_showName
protectedinherited

◆ m_trace

const TRACE* CURSOR::m_trace
private

Definition at line 85 of file sim_plot_panel.h.

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

◆ m_type

mpLayerType mpLayer::m_type
protectedinherited

Definition at line 321 of file mathplot.h.

Referenced by mpInfoLayer::mpInfoLayer().

◆ m_updateRef

bool CURSOR::m_updateRef
private

Definition at line 86 of file sim_plot_panel.h.

Referenced by Plot(), and SetX().

◆ m_updateRequired

bool CURSOR::m_updateRequired
private

Definition at line 86 of file sim_plot_panel.h.

Referenced by Plot(), and Update().

◆ m_visible

◆ m_window

mpWindow* CURSOR::m_window
private

Definition at line 88 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: