|
3Depict
|
#include <wx/wx.h>#include <wx/dcbuffer.h>#include "wx/wxcomponents.h"#include "mathglPane.h"#include "wx/wxcommon.h"#include "common/translation.h"#include "backend/plot.h"#include <mgl2/canvas_wnd.h>
Macros | |
| #define | pow10(x) pow(10,x) |
Enumerations | |
| enum | { MOUSE_MODE_DRAG, MOUSE_MODE_DRAG_PAN, MOUSE_MODE_DRAG_REGION, MOUSE_MODE_ENUM_END } |
| enum | { PLOT_TEXTURE_ZOOM_X, PLOT_TEXTURE_ZOOM_Y, PLOT_TEXTURE_ZOOM_RESET, PLOT_TEXTURE_SLIDE_X, PLOT_TEXTURE_ENUM_END } |
| enum | { AXIS_POSITION_INTERIOR =1, AXIS_POSITION_LOW_X =2, AXIS_POSITION_LOW_Y =4 } |
Functions | |
| END_EVENT_TABLE () | |
| void | zoomBounds (float minV, float maxV, float centre, float zoomFactor, float &newMin, float &newMax) |
Variables | |
| const float | MGL_PAN_SPEED =2.0f |
| const float | MGL_ZOOM_LIMIT =10.0f*sqrt(std::numeric_limits<float>::epsilon()) |
| const float | HORIZ_MARGIN_FACTOR = 0.25 |
| const bool | MOUSE_ACTION_NEEDS_REDRAW [] = { false,true,true,false} |
| const char * | mglTextureFile [] |
| #define pow10 | ( | x | ) | pow(10,x) |
Referenced by MathGLPane::getErrString().
| anonymous enum |
| anonymous enum |
| END_EVENT_TABLE | ( | ) |
| void zoomBounds | ( | float | minV, |
| float | maxV, | ||
| float | centre, | ||
| float | zoomFactor, | ||
| float & | newMin, | ||
| float & | newMax | ||
| ) |
References ASSERT.
Referenced by MathGLPane::mouseWheelMoved().

| const float HORIZ_MARGIN_FACTOR = 0.25 |
| const float MGL_PAN_SPEED =2.0f |
Referenced by MathGLPane::~MathGLPane().
| const float MGL_ZOOM_LIMIT =10.0f*sqrt(std::numeric_limits<float>::epsilon()) |
Referenced by MathGLPane::middleMouseReleased(), and MathGLPane::mouseWheelMoved().
| const char* mglTextureFile[] |
| const bool MOUSE_ACTION_NEEDS_REDRAW[] = { false,true,true,false} |
1.8.13