QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
Qwt3D::Arrow Class Reference

3D vector field More...

#include <qwt3d_enrichment_std.h>

Inheritance diagram for Qwt3D::Arrow:
Qwt3D::VertexEnrichment Qwt3D::Enrichment

Classes

class  PrivateData
 

Public Member Functions

 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 Member Functions inherited from Qwt3D::VertexEnrichment
TYPE type () const override
 
- Public Member Functions inherited from Qwt3D::Enrichment
virtual void drawBegin ()
 
virtual void drawEnd ()
 
virtual void assign (Plot3D const &pl)
 

Additional Inherited Members

- Public Types inherited from Qwt3D::Enrichment
enum  TYPE { VERTEXENRICHMENT , EDGEENRICHMENT , FACEENRICHMENT , VOXELENRICHMENT }
 
- Protected Attributes inherited from Qwt3D::Enrichment
const Plot3Dplot
 

Detailed Description

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).

Member Function Documentation

◆ clone()

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

◆ configure()

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

Configures the arrow appearance.

Parameters
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

The documentation for this class was generated from the following files: