QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
| Public 成员函数 | 所有成员列表
Qwt3D::Arrow类 参考

3D vector field 更多...

#include <qwt3d_enrichment_std.h>

类 Qwt3D::Arrow 继承关系图:
Qwt3D::VertexEnrichment Qwt3D::Enrichment

class  PrivateData
 

Public 成员函数

 Arrow (const Arrow &other)
 
Qwt3D::Enrichmentclone () const override
 
void configure (int segs, double relconelength, double relconerad, double relstemrad)
 Configures the arrow appearance
 
void setQuality (int val)
 
void draw (Qwt3D::Triple const &) override
 
void setTop (Qwt3D::Triple t)
 
void setColor (Qwt3D::RGBA rgba)
 
- Public 成员函数 继承自 Qwt3D::VertexEnrichment
TYPE type () const override
 
- Public 成员函数 继承自 Qwt3D::Enrichment
virtual void drawBegin ()
 
virtual void drawEnd ()
 
virtual void assign (Plot3D const &pl)
 

额外继承的成员函数

- Public 类型 继承自 Qwt3D::Enrichment
enum  TYPE { VERTEXENRICHMENT , EDGEENRICHMENT , FACEENRICHMENT , VOXELENRICHMENT }
 
- Protected 属性 继承自 Qwt3D::Enrichment
const Plot3Dplot
 

详细描述

3D vector field

The class encapsulates a vector field including its OpenGL representation as arrow field. The arrows can be configured in different aspects (color, shape, painting quality).

成员函数说明

◆ clone()

Qwt3D::Enrichment * Qwt3D::Arrow::clone ( ) const
overridevirtual

◆ configure()

void Arrow::configure ( int  segs,
double  relconelength,
double  relconerad,
double  relstemrad 
)

Configures the arrow appearance

参数
segsNumber of faces for the arrows (see the gallery for examples)
relconelengthRelative cone length (see arrowanatomy.png)
relconeradRelative cone radius (see arrowanatomy.png)
relstemradRelative stem radius (see arrowanatomy.png)

◆ draw()

void Arrow::draw ( Qwt3D::Triple const &  pos)
overridevirtual

该类的文档由以下文件生成: