3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
PlotOverlays Class Reference

Thse are 1D-stem style overlays that can be used. More...

#include <plot.h>

Public Member Functions

 PlotOverlays ()
 
void add (const OVERLAY_DATA &overlay)
 
void draw (mglGraph *g, const mglPoint &boundMin, const mglPoint &boundMax, bool logMode) const
 
void setEnabled (size_t offset, bool isEnabled)
 
void setEnabled (bool doEnable)
 
bool enabled () const
 
void clear ()
 
void erase (size_t item)
 
const std::vector< OVERLAY_DATA > & getOverlays () const
 

Detailed Description

Thse are 1D-stem style overlays that can be used.

Constructor & Destructor Documentation

◆ PlotOverlays()

PlotOverlays::PlotOverlays ( )
inline

Member Function Documentation

◆ add()

void PlotOverlays::add ( const OVERLAY_DATA overlay)
inline

References PlotRegion::g.

Referenced by RangeEditorDialog::OnTextOverlayEnter().

Here is the caller graph for this function:

◆ clear()

void PlotOverlays::clear ( )
inline

◆ draw()

void PlotOverlays::draw ( mglGraph *  g,
const mglPoint &  boundMin,
const mglPoint &  boundMax,
bool  logMode 
) const

References ASSERT, and mglColourCode().

◆ enabled()

bool PlotOverlays::enabled ( ) const
inline

◆ erase()

void PlotOverlays::erase ( size_t  item)
inline

References ASSERT.

Referenced by RangeEditorDialog::OnListOverlayKeyDown().

Here is the caller graph for this function:

◆ getOverlays()

const std::vector<OVERLAY_DATA>& PlotOverlays::getOverlays ( ) const
inline

Referenced by RangeEditorDialog::OnListOverlayKeyDown(), and RangeEditorDialog::OnTextOverlayEnter().

Here is the caller graph for this function:

◆ setEnabled() [1/2]

void PlotOverlays::setEnabled ( size_t  offset,
bool  isEnabled 
)
inline

References ASSERT.

Referenced by RangeEditorDialog::OnCheckShowOverlay(), and RangeEditorDialog::OnListOverlayCheck().

Here is the caller graph for this function:

◆ setEnabled() [2/2]

void PlotOverlays::setEnabled ( bool  doEnable)
inline

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