qwt_vectorfield_symbol.h
Go to the documentation of this file.
1 /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
2  * Qwt Widget Library
3  * Copyright (C) 1997 Josef Wilgen
4  * Copyright (C) 2002 Uwe Rathmann
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the Qwt License, Version 1.0
8  *****************************************************************************/
9 
10 #ifndef QWT_VECTOR_FIELD_SYMBOL_H
11 #define QWT_VECTOR_FIELD_SYMBOL_H
12 
13 #include "qwt_global.h"
14 
15 class QPainter;
16 class QPainterPath;
17 
33 {
34 public:
36  virtual ~QwtVectorFieldSymbol();
37 
38  virtual void setLength( qreal length ) = 0;
39  virtual qreal length() const = 0;
40 
41  virtual void paint( QPainter * ) const = 0;
42 
43 private:
44  Q_DISABLE_COPY(QwtVectorFieldSymbol)
45 };
46 
52 {
53 public:
54  QwtVectorFieldArrow( qreal headWidth = 6.0, qreal tailWidth = 1.0 );
56 
57  virtual void setLength( qreal length ) QWT_OVERRIDE;
58  virtual qreal length() const QWT_OVERRIDE;
59  virtual void paint( QPainter * ) const QWT_OVERRIDE;
60 
61 private:
62  class PrivateData;
64 };
65 
71 {
72 public:
73  QwtVectorFieldThinArrow( qreal headWidth = 6.0 );
75 
76  virtual void setLength( qreal length ) QWT_OVERRIDE;
77  virtual qreal length() const QWT_OVERRIDE;
78  virtual void paint( QPainter * ) const QWT_OVERRIDE;
79 
80 private:
81  class PrivateData;
83 };
84 
85 #endif
virtual qreal length() const =0
#define QWT_EXPORT
Definition: qwt_global.h:38
virtual void paint(QPainter *) const =0
#define QWT_OVERRIDE
Definition: qwt_global.h:53
virtual void setLength(qreal length)=0


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 03:48:10