|
|
| mpInfoCoords () |
| | Default constructor.
|
| |
|
| mpInfoCoords (mpLocation location) |
| | Limited constructor.
|
| |
| | mpInfoCoords (wxRect rect, const wxBrush &brush= *wxTRANSPARENT_BRUSH, mpLocation location=mpMarginNone) |
| | Complete constructor, setting initial rectangle and background brush. More...
|
| |
|
| ~mpInfoCoords () |
| | Default destructor.
|
| |
| virtual void | UpdateInfo (mpWindow &w, wxEvent &event) |
| | Updates the content of the info box. More...
|
| |
|
virtual void | ErasePlot (wxDC &dc, mpWindow &w) |
| | Just delete the bitmap of the info.
|
| |
| void | SetLabelMode (unsigned int mode, unsigned int time_conv=0x20) |
| | Set X axis label view mode. More...
|
| |
|
void | SetSeriesCoord (bool show) |
| | Set the series coordinates of the mouse position (if tractable set)
|
| |
| bool | IsSeriesCoord () const |
| | Return if we show the series coordinates. More...
|
| |
| virtual wxString | GetInfoCoordsText (mpWindow &w, double xVal, std::vector< double > yValList) |
| | Get string describing mouse position. More...
|
| |
|
void | SetPenSeries (const wxPen &pen) |
| | Pen series for tractable.
|
| |
|
| mpInfoCoords () |
| | Default constructor.
|
| |
|
| mpInfoCoords (mpLocation location) |
| | Limited constructor.
|
| |
| | mpInfoCoords (wxRect rect, const wxBrush &brush= *wxTRANSPARENT_BRUSH, mpLocation location=mpMarginNone) |
| | Complete constructor, setting initial rectangle and background brush. More...
|
| |
|
| ~mpInfoCoords () |
| | Default destructor.
|
| |
| virtual void | UpdateInfo (mpWindow &w, wxEvent &event) |
| | Updates the content of the info box. More...
|
| |
|
virtual void | ErasePlot (wxDC &dc, mpWindow &w) |
| | Just delete the bitmap of the info.
|
| |
| void | SetLabelMode (unsigned int mode, unsigned int time_conv=0x20) |
| | Set X axis label view mode. More...
|
| |
|
void | SetSeriesCoord (bool show) |
| | Set the series coordinates of the mouse position (if tractable set)
|
| |
| bool | IsSeriesCoord () const |
| | Return if we show the series coordinates. More...
|
| |
| virtual wxString | GetInfoCoordsText (mpWindow &w, double xVal, std::vector< double > yValList) |
| | Get string describing mouse position. More...
|
| |
|
void | SetPenSeries (const wxPen &pen) |
| | Pen series for tractable.
|
| |
| | mpInfoLayer () |
| | Default constructor. More...
|
| |
| | mpInfoLayer (wxRect rect, const wxBrush &brush= *wxTRANSPARENT_BRUSH, mpLocation location=mpMarginNone) |
| | Complete constructor. More...
|
| |
|
virtual | ~mpInfoLayer () |
| | Destructor.
|
| |
| virtual void | SetVisible (bool show) |
| | Sets layer visibility. More...
|
| |
| virtual bool | HasBBox () |
| | mpInfoLayer has not bounding box. More...
|
| |
| virtual bool | Inside (const wxPoint &point) |
| | Checks whether a point is inside the info box rectangle. More...
|
| |
| virtual void | Move (wxPoint delta) |
| | Moves the layer rectangle of given pixel deltas. More...
|
| |
| virtual void | UpdateReference () |
| | Updates the rectangle reference point. 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...
|
| |
|
void | SetLocation (mpLocation location) |
| | Set the location of the mpInfoLayer box.
|
| |
| mpLocation | GetLocation () const |
| | Return the location of the mpInfoLayer box. More...
|
| |
| | mpInfoLayer () |
| | Default constructor. More...
|
| |
| | mpInfoLayer (wxRect rect, const wxBrush &brush= *wxTRANSPARENT_BRUSH, mpLocation location=mpMarginNone) |
| | Complete constructor. More...
|
| |
|
virtual | ~mpInfoLayer () |
| | Destructor.
|
| |
| virtual void | SetVisible (bool show) |
| | Sets layer visibility. More...
|
| |
| virtual bool | HasBBox () |
| | mpInfoLayer has not bounding box. More...
|
| |
| virtual bool | Inside (const wxPoint &point) |
| | Checks whether a point is inside the info box rectangle. More...
|
| |
| virtual void | Move (wxPoint delta) |
| | Moves the layer rectangle of given pixel deltas. More...
|
| |
| virtual void | UpdateReference () |
| | Updates the rectangle reference point. 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...
|
| |
|
void | SetLocation (mpLocation location) |
| | Set the location of the mpInfoLayer box.
|
| |
| mpLocation | GetLocation () const |
| | Return the location of the mpInfoLayer box. More...
|
| |
|
| mpLayer (mpLayerType layerType) |
| |
|
void | SetWindow (mpWindow &w) |
| | Set the wxWindow handle.
|
| |
| 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...
|
| |
| int | GetLayerSubType () const |
| | Get layer subtype: each layer type can have several flavors. More...
|
| |
| virtual bool | IsLayerType (mpLayerType typeOfInterest, int *subtype) |
| | Set the layer's subtype in caller variable, and return true if the layer is of type "typeOfInterest". 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...
|
| |
| void | Plot (wxDC &dc, mpWindow &w) |
| | Plot given view of layer to the given device context. More...
|
| |
| void | SetName (const wxString &name) |
| | Set layer name. More...
|
| |
| const wxString & | GetName () const |
| | Get layer name. More...
|
| |
| void | SetFont (const wxFont &font) |
| | Set layer font. More...
|
| |
| const wxFont & | GetFont () const |
| | Get font set for this layer. More...
|
| |
| void | SetFontColour (const wxColour &colour) |
| | Set layer font foreground colour. More...
|
| |
| const wxColour & | GetFontColour () const |
| | Get font foreground colour set for this layer. More...
|
| |
| void | SetPen (const wxPen &pen) |
| | Set layer pen. More...
|
| |
| const wxPen & | GetPen () const |
| | Get pen set for this layer. More...
|
| |
| void | SetBrush (const wxBrush &brush) |
| | Set layer brush. More...
|
| |
| const wxBrush & | GetBrush () const |
| | Get brush set for this layer. More...
|
| |
| void | SetShowName (bool show) |
| | Set Name visibility. More...
|
| |
| bool | GetShowName () const |
| | Get Name visibility. More...
|
| |
| void | SetDrawOutsideMargins (bool drawModeOutside) |
| | Set Draw mode: inside or outside margins. More...
|
| |
| bool | GetDrawOutsideMargins () const |
| | 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...
|
| |
| bool | IsVisible () const |
| | Checks whether the layer is visible or not. More...
|
| |
| bool | IsTractable () const |
| | Checks whether the layer is tractable or not. More...
|
| |
| virtual void | SetTractable (bool track) |
| | Sets layer tractability. More...
|
| |
| void | SetAlign (int align) |
| | Set X/Y alignment. More...
|
| |
| int | GetAlign () const |
| | Get X/Y alignment. More...
|
| |
| void | SetCanDelete (bool canDelete) |
| | Set CanDelete for plot. More...
|
| |
| bool | GetCanDelete (void) const |
| | Get CanDelete for plot. More...
|
| |
| mpLayerZOrder | GetZIndex (void) const |
| | Get the ZIndex of the plot. More...
|
| |
|
| mpLayer (mpLayerType layerType) |
| |
|
void | SetWindow (mpWindow &w) |
| | Set the wxWindow handle.
|
| |
| 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...
|
| |
| int | GetLayerSubType () const |
| | Get layer subtype: each layer type can have several flavors. More...
|
| |
| virtual bool | IsLayerType (mpLayerType typeOfInterest, int *subtype) |
| | Set the layer's subtype in caller variable, and return true if the layer is of type "typeOfInterest". 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...
|
| |
| void | Plot (wxDC &dc, mpWindow &w) |
| | Plot given view of layer to the given device context. More...
|
| |
| void | SetName (const wxString &name) |
| | Set layer name. More...
|
| |
| const wxString & | GetName () const |
| | Get layer name. More...
|
| |
| void | SetFont (const wxFont &font) |
| | Set layer font. More...
|
| |
| const wxFont & | GetFont () const |
| | Get font set for this layer. More...
|
| |
| void | SetFontColour (const wxColour &colour) |
| | Set layer font foreground colour. More...
|
| |
| const wxColour & | GetFontColour () const |
| | Get font foreground colour set for this layer. More...
|
| |
| void | SetPen (const wxPen &pen) |
| | Set layer pen. More...
|
| |
| const wxPen & | GetPen () const |
| | Get pen set for this layer. More...
|
| |
| void | SetBrush (const wxBrush &brush) |
| | Set layer brush. More...
|
| |
| const wxBrush & | GetBrush () const |
| | Get brush set for this layer. More...
|
| |
| void | SetShowName (bool show) |
| | Set Name visibility. More...
|
| |
| bool | GetShowName () const |
| | Get Name visibility. More...
|
| |
| void | SetDrawOutsideMargins (bool drawModeOutside) |
| | Set Draw mode: inside or outside margins. More...
|
| |
| bool | GetDrawOutsideMargins () const |
| | 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...
|
| |
| bool | IsVisible () const |
| | Checks whether the layer is visible or not. More...
|
| |
| bool | IsTractable () const |
| | Checks whether the layer is tractable or not. More...
|
| |
| virtual void | SetTractable (bool track) |
| | Sets layer tractability. More...
|
| |
| void | SetAlign (int align) |
| | Set X/Y alignment. More...
|
| |
| int | GetAlign () const |
| | Get X/Y alignment. More...
|
| |
| void | SetCanDelete (bool canDelete) |
| | Set CanDelete for plot. More...
|
| |
| bool | GetCanDelete (void) const |
| | Get CanDelete for plot. More...
|
| |
| mpLayerZOrder | GetZIndex (void) const |
| | Get the ZIndex of the plot. More...
|
| |
Implements an overlay box which shows the mouse coordinates in plot units.
When mouse is moved over the mpWindow with an active mpInfoCoords layer, the mouse coordinates (in mpWindow units, not pixels) are continuously reported inside the layer box.