31 HMPlane(
const double& width,
const double& height,
const double limits[2]);
35 virtual void DrawDC(wxGraphicsContext* gc)
const;
36 virtual void DrawDC(wxDC& dc)
const;
38 virtual void DrawLabelDC(wxGraphicsContext* gc)
const;
39 virtual void DrawLabelDC(wxDC& dc)
const;
41 virtual void SetLabelLimits(
const double& min,
const double& max);
42 virtual double GetMaxLimit() {
return m_limits[0]; }
43 virtual double GetMinLimit() {
return m_limits[1]; }
45 virtual void SetRectSlope(
const wxRect2DDouble& rect,
const double& angle,
const double& depth);
47 virtual void Resize(
const double& width,
const double& height);
48 virtual void ResizeDC(
const double& width,
const double& height);
50 virtual void SmoothPlane(
const unsigned int& iterations);
55 void FillCoordsBuffer();
60 wxColour VoltToColour(
double volt,
int alpha = 160)
const;
63 const double m_meshSize = 15.0f;
64 size_t m_meshTickX = 0;
65 size_t m_meshTickY = 0;
67 double m_height = 0.0;
69 std::vector< std::vector<BufferMeshCoords*> > m_coords;
70 std::vector< std::vector<BufferMeshCoords*> > m_coordsT;
71 std::vector<double> m_bufferCoords;
72 std::vector<size_t> m_indexBuffer;
94 double m_limits[2] = {1.1, 0.9};
96 bool m_isClear =
true;