logplus/logPlus/DrawNrad.h
2026-01-12 17:31:21 +08:00

47 lines
1.5 KiB
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef DrawNrad_H
#define DrawNrad_H
#include <QObject>
#include "qmycustomplot.h"
class CDrawNrad:public QObject
{
Q_OBJECT
public:
CDrawNrad(QMyCustomPlot *myCustomPlot, QString strSlfName, QString csCurve);
virtual ~CDrawNrad(void);
public:
void ReadData(QString strSlfName, QString csCurve);
void DrawNrad(QString strSlfName, QString csCurve);
public:
// 以下变量需保存在模板里
float m_flVFactor; // 椭圆纵向半径占横向半径比例
float m_flWjMaxFactor; //外径最大位置占道的比例
float m_flWjMinFactor; //外径最小位置占道的比例
float m_nVertGrid; // 深度方向每隔多少个采样点绘制一个网格
int m_nHorzStep; // 旋转时增量,最小0最大:20
int m_nHorzGrid; // 井径曲线间网格数
QColor m_crHorzLine, m_crVertLine; // 网格纵、横线颜色
int m_nHorzLineWidth, m_nVertLineWidth;// 网格纵、横线宽度
int m_nArm, m_nColorNum;//
int m_iStartArmPos, m_iEndArmPos; // 开始位置、结束位置
int m_nFrac;
float m_D3Angle;
int m_nAmp; //幅度
int m_iDoor; // 门槛值
QMyCustomPlot *m_myCustomPlot;
float m_flRlev2; //二维曲线采样间隔
int m_nSamples;
int m_PointNum;
float m_LeftVal; //左刻度
float m_RightVal; //右刻度
Slf_WAVE WaveInfo; //波列基本信息
float m_SDep,m_EDep,m_Rlev;
};
#endif // DrawNrad_H