#include <vector>
#include <wx/defs.h>
#include <wx/menu.h>
#include <wx/scrolwin.h>
#include <wx/event.h>
#include <wx/dynarray.h>
#include <wx/pen.h>
#include <wx/dcmemory.h>
#include <wx/string.h>
#include <wx/print.h>
#include <wx/image.h>
#include <deque>
Go to the source code of this file.
Classes | |
class | mpLayer |
class | mpInfoLayer |
Base class to create small rectangular info boxes mpInfoLayer is the base class to create a small rectangular info box in transparent overlay over plot layers. It is used to implement objects like legends. More... | |
class | mpInfoCoords |
Implements an overlay box which shows the mouse coordinates in plot units. When an mpInfoCoords layer is activated, when mouse is moved over the mpWindow, its coordinates (in mpWindow units, not pixels) are continuously reported inside the layer box. More... | |
class | mpInfoLegend |
Implements the legend to be added to the plot This layer allows you to add a legend to describe the plots in the window. The legend uses the layer name as a label, and displays only layers of type mpLAYER_PLOT. More... | |
class | mpFX |
class | mpFY |
class | mpFXY |
class | mpProfile |
class | mpScaleX |
class | mpScaleY |
class | mpWindow |
class | mpFXYVector |
class | mpText |
class | mpPrintout |
class | mpMovableObject |
class | mpCovarianceEllipse |
class | mpPolygon |
class | mpBitmapLayer |
Defines | |
#define | WXDLLIMPEXP_MATHPLOT |
#define | WXDLLIMPEXP_DATA_MATHPLOT(type) type |
#define | X_BORDER_SEPARATION 40 |
#define | Y_BORDER_SEPARATION 60 |
Label alignment constants | |
#define | mpALIGNMASK 0x03 |
#define | mpALIGN_RIGHT 0x00 |
#define | mpALIGN_CENTER 0x01 |
#define | mpALIGN_LEFT 0x02 |
#define | mpALIGN_TOP mpALIGN_RIGHT |
#define | mpALIGN_BOTTOM mpALIGN_LEFT |
#define | mpALIGN_BORDER_BOTTOM 0x04 |
#define | mpALIGN_BORDER_TOP 0x05 |
#define | mpX_NORMAL 0x00 |
#define | mpX_TIME 0x01 |
#define | mpX_HOURS 0x02 |
#define | mpX_DATE 0x03 |
#define | mpX_DATETIME 0x04 |
#define | mpALIGN_BORDER_LEFT mpALIGN_BORDER_BOTTOM |
#define | mpALIGN_BORDER_RIGHT mpALIGN_BORDER_TOP |
#define | mpALIGN_NE 0x00 |
#define | mpALIGN_NW 0x01 |
#define | mpALIGN_SW 0x02 |
#define | mpALIGN_SE 0x03 |
Constants defining mouse modes for mpWindow | |
#define | mpMOUSEMODE_DRAG 0 |
#define | mpMOUSEMODE_ZOOMBOX 1 |
Typedefs | |
typedef enum __mp_Layer_Type | mpLayerType |
typedef std::deque< mpLayer * > | wxLayerList |
Enumerations | |
enum | { mpID_FIT = 2000, mpID_ZOOM_IN, mpID_ZOOM_OUT, mpID_CENTER, mpID_LOCKASPECT, mpID_HELP_MOUSE } |
enum | __mp_Layer_Type { mpLAYER_UNDEF, mpLAYER_AXIS, mpLAYER_PLOT, mpLAYER_INFO, mpLAYER_BITMAP } |
Variables | |
class WXDLLIMPEXP_MATHPLOT | mpLayer |
class WXDLLIMPEXP_MATHPLOT | mpFX |
class WXDLLIMPEXP_MATHPLOT | mpFY |
class WXDLLIMPEXP_MATHPLOT | mpFXY |
class WXDLLIMPEXP_MATHPLOT | mpFXYVector |
class WXDLLIMPEXP_MATHPLOT | mpScaleX |
class WXDLLIMPEXP_MATHPLOT | mpScaleY |
class WXDLLIMPEXP_MATHPLOT | mpWindow |
class WXDLLIMPEXP_MATHPLOT | mpText |
class WXDLLIMPEXP_MATHPLOT | mpPrintout |
#define mpALIGN_BORDER_BOTTOM 0x04 |
Aligns X axis to bottom border. For mpScaleX
Referenced by mpScaleX::Plot().
#define mpALIGN_BORDER_LEFT mpALIGN_BORDER_BOTTOM |
Aligns Y axis to left border. For mpScaleY
Referenced by mpScaleY::Plot().
#define mpALIGN_BORDER_RIGHT mpALIGN_BORDER_TOP |
Aligns Y axis to right border. For mpScaleY
Referenced by mpScaleY::Plot().
#define mpALIGN_BORDER_TOP 0x05 |
Aligns X axis to top border. For mpScaleX
Referenced by mpScaleX::Plot().
#define mpALIGN_BOTTOM mpALIGN_LEFT |
Aligns label to the bottom. For use with mpFY.
Referenced by mpScaleX::Plot().
#define mpALIGN_CENTER 0x01 |
Aligns label to the center. For use with mpFX and mpFY.
Referenced by mpScaleY::Plot(), mpScaleX::Plot(), mpProfile::Plot(), mpFY::Plot(), and mpFX::Plot().
#define mpALIGN_LEFT 0x02 |
Aligns label to the left. For use with mpFX.
Referenced by mpScaleY::Plot().
#define mpALIGN_NE 0x00 |
Aligns label to north-east. For use with mpFXY.
Referenced by mpBitmapLayer::Plot(), mpMovableObject::Plot(), mpFXY::Plot(), and mpMovableObject::SetCoordinateBase().
#define mpALIGN_NW 0x01 |
Aligns label to north-west. For use with mpFXY.
Referenced by mpBitmapLayer::Plot(), mpMovableObject::Plot(), and mpFXY::Plot().
#define mpALIGN_RIGHT 0x00 |
Aligns label to the right. For use with mpFX.
Referenced by mpScaleY::Plot(), mpProfile::Plot(), and mpFX::Plot().
#define mpALIGN_SE 0x03 |
Aligns label to south-east. For use with mpFXY.
Referenced by mpFXY::Plot().
#define mpALIGN_SW 0x02 |
Aligns label to south-west. For use with mpFXY.
Referenced by mpBitmapLayer::Plot(), and mpMovableObject::Plot().
#define mpALIGN_TOP mpALIGN_RIGHT |
Aligns label to the top. For use with mpFY.
Referenced by mpScaleX::Plot(), and mpFY::Plot().
#define mpALIGNMASK 0x03 |
Referenced by mpBitmapLayer::Plot(), mpMovableObject::Plot(), mpProfile::Plot(), mpFXY::Plot(), mpFY::Plot(), and mpFX::Plot().
#define mpMOUSEMODE_DRAG 0 |
Mouse panning drags the view. Mouse mode for mpWindow.
#define mpMOUSEMODE_ZOOMBOX 1 |
Mouse panning creates a zoom box. Mouse mode for mpWindow.
#define mpX_DATE 0x03 |
Set label for X axis in date mode: the value is always represented as yyyy-mm-dd.
Referenced by mpScaleX::Plot().
#define mpX_DATETIME 0x04 |
Set label for X axis in datetime mode: the value is always represented as yyyy-mm-ddThh:mm:ss.
Referenced by mpScaleX::Plot().
#define mpX_HOURS 0x02 |
Set label for X axis in hours mode: the value is always represented as hours:minutes:seconds.
Referenced by mpScaleX::Plot().
#define mpX_NORMAL 0x00 |
Set label for X axis in normal mode
Referenced by mpScaleX::Plot().
#define mpX_TIME 0x01 |
Set label for X axis in time mode: the value is represented as minutes:seconds.milliseconds if time is less than 2 minutes, hours:minutes:seconds otherwise.
Referenced by mpScaleX::Plot().
#define WXDLLIMPEXP_DATA_MATHPLOT | ( | type | ) | type |
#define WXDLLIMPEXP_MATHPLOT |
#define X_BORDER_SEPARATION 40 |
Referenced by mpScaleX::Plot().
#define Y_BORDER_SEPARATION 60 |
Referenced by mpScaleY::Plot().
typedef enum __mp_Layer_Type mpLayerType |
typedef std::deque<mpLayer*> wxLayerList |
Define the type for the list of layers inside mpWindow
anonymous enum |
Command IDs used by mpWindow
enum __mp_Layer_Type |
class WXDLLIMPEXP_MATHPLOT mpFX |
class WXDLLIMPEXP_MATHPLOT mpFXY |
class WXDLLIMPEXP_MATHPLOT mpFXYVector |
class WXDLLIMPEXP_MATHPLOT mpFY |
class WXDLLIMPEXP_MATHPLOT mpLayer |
class WXDLLIMPEXP_MATHPLOT mpPrintout |
class WXDLLIMPEXP_MATHPLOT mpScaleX |
class WXDLLIMPEXP_MATHPLOT mpScaleY |
class WXDLLIMPEXP_MATHPLOT mpText |
class WXDLLIMPEXP_MATHPLOT mpWindow |