|
| void | setResolution (int) |
| | 设置数据分辨率并更新控件
|
| |
| void | setRotation (double xVal, double yVal, double zVal) |
| |
| void | setShift (double xVal, double yVal, double zVal) |
| |
| void | setViewportShift (double xVal, double yVal) |
| |
| void | setScale (double xVal, double yVal, double zVal) |
| |
| void | setZoom (double) |
| |
| void | setOrtho (bool) |
| | 设置正交或透视模式并更新控件
|
| |
| void | enableMouse (bool val=true) |
| |
| void | disableMouse (bool val=true) |
| |
| void | enableKeyboard (bool val=true) |
| |
| void | disableKeyboard (bool val=true) |
| |
|
void | enableLighting (bool val=true) |
| |
|
void | disableLighting (bool val=true) |
| |
| void | setLightRotation (double xVal, double yVal, double zVal, unsigned int idx=0) |
| |
| void | setLightShift (double xVal, double yVal, double zVal, unsigned int idx=0) |
| |
| virtual bool | savePixmap (QString const &fileName, QString const &format) |
| | 将帧缓冲区保存为图像文件
|
| |
| virtual bool | saveVector (QString const &fileName, QString const &format, VectorWriter::TEXTMODE text, VectorWriter::SORTMODE sortmode) |
| | 写入 gl2ps 支持的矢量数据
|
| |
| virtual bool | save (QString const &fileName, QString const &format) |
| | 以已注册的输出格式之一保存内容
|
| |
|
| | SurfacePlot (QWidget *parent=0) |
| | 构造 SurfacePlot 控件
|
| |
| | ~SurfacePlot () |
| | 析构函数
|
| |
|
void | updateNormals () |
| |
|
int | resolution () const |
| |
| std::pair< int, int > | facets () const |
| | 返回数据中的面片数
|
| |
| bool | loadFromData (Qwt3D::Triple **data, unsigned int columns, unsigned int rows, bool uperiodic=false, bool vperiodic=false) |
| | Convert user grid data to internal vertex structure.
|
| |
| bool | loadFromData (double **data, unsigned int columns, unsigned int rows, double minx, double maxx, double miny, double maxy) |
| | Convert user grid data to internal vertex structure.
|
| |
| bool | loadFromData (Qwt3D::TripleField const &data, Qwt3D::CellField const &poly) |
| | Convert user (non-rectangular) mesh based data to internal structure.
|
| |
|
bool | createDataRepresentation (Qwt3D::Triple **data, unsigned int columns, unsigned int rows, bool uperiodic=false, bool vperiodic=false) |
| |
|
bool | createDataRepresentation (double **data, unsigned int columns, unsigned int rows, double minx, double maxx, double miny, double maxy) |
| |
|
bool | createDataRepresentation (Qwt3D::TripleField const &data, Qwt3D::CellField const &poly) |
| |
|
Qwt3D::FLOORSTYLE | floorStyle () const |
| |
|
void | setFloorStyle (Qwt3D::FLOORSTYLE val) |
| |
| void | showNormals (bool) |
| | 显示或隐藏数据法线
|
| |
|
bool | normals () const |
| |
| void | setNormalLength (double val) |
| | 设置法线向量长度
|
| |
|
double | normalLength () const |
| |
| void | setNormalQuality (int val) |
| | 设置法线向量质量(箭头段数)
|
| |
|
int | normalQuality () const |
| |
| | Plot3D (QWidget *parent=0) |
| | 构造 Plot3D 控件
|
| |
| virtual | ~Plot3D () |
| | 析构函数 - 释放已分配的资源
|
| |
|
QPixmap | renderPixmap (int w=0, int h=0, bool useContext=false) |
| |
| void | updateData () |
| | 更新 OpenGL 数据表示
|
| |
| void | createCoordinateSystem (Qwt3D::Triple beg, Qwt3D::Triple end) |
| | 创建具有生成角点 beg 和 end 的坐标系
|
| |
|
Qwt3D::CoordinateSystem * | coordinates () |
| |
|
Qwt3D::ColorLegend * | legend () |
| |
|
double | xRotation () const |
| |
|
double | yRotation () const |
| |
|
double | zRotation () const |
| |
|
double | xShift () const |
| |
|
double | yShift () const |
| |
|
double | zShift () const |
| |
|
double | xViewportShift () const |
| |
|
double | yViewportShift () const |
| |
|
double | xScale () const |
| |
|
double | yScale () const |
| |
|
double | zScale () const |
| |
|
double | zoom () const |
| |
|
bool | ortho () const |
| |
| void | setPlotStyle (Qwt3D::PLOTSTYLE val) |
| | 设置标准绘图类型的绘图样式
|
| |
| Qwt3D::Enrichment * | setPlotStyle (Qwt3D::Enrichment const &val) |
| | 将绘图样式设置为 Qwt3D::USER 并关联一个装饰对象
|
| |
|
Qwt3D::PLOTSTYLE | plotStyle () const |
| |
|
Qwt3D::Enrichment * | userStyle () const |
| |
| void | setShading (Qwt3D::SHADINGSTYLE val) |
| | 设置着色样式
|
| |
|
Qwt3D::SHADINGSTYLE | shading () const |
| |
| void | setIsolines (int isolines) |
| | 设置等值线数量
|
| |
|
int | isolines () const |
| |
|
void | setSmoothMesh (bool val) |
| |
|
bool | smoothDataMesh () const |
| |
| void | setBackgroundColor (Qwt3D::RGBA rgba) |
| | 设置背景颜色
|
| |
|
Qwt3D::RGBA | backgroundRGBAColor () const |
| |
| void | setMeshColor (Qwt3D::RGBA rgba) |
| | 设置网格颜色
|
| |
|
Qwt3D::RGBA | meshColor () const |
| |
| void | setMeshLineWidth (double lw) |
| | 设置网格线宽
|
| |
|
double | meshLineWidth () const |
| |
| void | setDataColor (Color *col) |
| | 为数据分配新的颜色对象
|
| |
|
const Color * | dataColor () const |
| |
| virtual Qwt3D::Enrichment * | addEnrichment (Qwt3D::Enrichment const &) |
| | 向绘图添加装饰对象
|
| |
| virtual bool | degrade (Qwt3D::Enrichment *) |
| | 从绘图中移除装饰对象
|
| |
|
Qwt3D::ParallelEpiped | hull () const |
| |
| void | showColorLegend (bool) |
| | 显示或隐藏颜色图例
|
| |
| void | setCoordinateStyle (Qwt3D::COORDSTYLE st) |
| | 设置坐标系样式
|
| |
| void | setPolygonOffset (double d) |
| | 设置多边形偏移
|
| |
|
double | polygonOffset () const |
| |
| void | setTitlePosition (double rely, double relx=0.5, Qwt3D::ANCHOR=Qwt3D::TopCenter) |
| | 设置标题的相对位置
|
| |
| void | setTitleFont (const QString &family, int pointSize, int weight=QFont::Normal, bool italic=false) |
| | 设置标题字体
|
| |
|
void | setTitleColor (Qwt3D::RGBA col) |
| |
|
void | setTitle (const QString &title) |
| |
| void | assignMouse (MouseState xrot, MouseState yrot, MouseState zrot, MouseState xscale, MouseState yscale, MouseState zscale, MouseState zoom, MouseState xshift, MouseState yshift) |
| |
|
bool | mouseEnabled () const |
| |
| void | assignKeyboard (KeyboardState xrot_n, KeyboardState xrot_p, KeyboardState yrot_n, KeyboardState yrot_p, KeyboardState zrot_n, KeyboardState zrot_p, KeyboardState xscale_n, KeyboardState xscale_p, KeyboardState yscale_n, KeyboardState yscale_p, KeyboardState zscale_n, KeyboardState zscale_p, KeyboardState zoom_n, KeyboardState zoom_p, KeyboardState xshift_n, KeyboardState xshift_p, KeyboardState yshift_n, KeyboardState yshift_p) |
| |
|
bool | keyboardEnabled () const |
| |
| void | setKeySpeed (double rot, double scale, double shift) |
| |
|
void | keySpeed (double &rot, double &scale, double &shift) const |
| |
|
bool | lightingEnabled () const |
| |
| void | illuminate (unsigned light=0) |
| |
| void | blowout (unsigned light=0) |
| |
| void | setMaterialComponent (GLenum property, double r, double g, double b, double a=1.0) |
| |
| void | setMaterialComponent (GLenum property, double intensity) |
| |
| void | setShininess (double exponent) |
| |
| void | setLightComponent (GLenum property, double r, double g, double b, double a=1.0, unsigned light=0) |
| |
| void | setLightComponent (GLenum property, double intensity, unsigned light=0) |
| |
|
double | xLightRotation (unsigned idx=0) const |
| |
|
double | yLightRotation (unsigned idx=0) const |
| |
|
double | zLightRotation (unsigned idx=0) const |
| |
|
double | xLightShift (unsigned idx=0) const |
| |
|
double | yLightShift (unsigned idx=0) const |
| |
|
double | zLightShift (unsigned idx=0) const |
| |
|
bool | hasData () const |
| |