Classes | Public Member Functions | Private Attributes | List of all members
QwtVectorFieldThinArrow Class Reference

#include <qwt_vectorfield_symbol.h>

Inheritance diagram for QwtVectorFieldThinArrow:
Inheritance graph
[legend]

Classes

class  PrivateData
 

Public Member Functions

virtual qreal length () const QWT_OVERRIDE
 
virtual void paint (QPainter *) const QWT_OVERRIDE
 Draw the symbol/arrow. More...
 
 QwtVectorFieldThinArrow (qreal headWidth=6.0)
 Constructor. More...
 
virtual void setLength (qreal length) QWT_OVERRIDE
 
virtual ~QwtVectorFieldThinArrow () QWT_OVERRIDE
 Destructor. More...
 
- Public Member Functions inherited from QwtVectorFieldSymbol
 QwtVectorFieldSymbol ()
 Constructor. More...
 
virtual ~QwtVectorFieldSymbol ()
 Destructor. More...
 

Private Attributes

PrivateDatam_data
 

Detailed Description

Arrow implementation that only used lines, with optionally a filled arrow or only lines.

Definition at line 81 of file qwt_vectorfield_symbol.h.

Constructor & Destructor Documentation

◆ QwtVectorFieldThinArrow()

QwtVectorFieldThinArrow::QwtVectorFieldThinArrow ( qreal  headWidth = 6.0)

Constructor.

The length is initialized by headWidth + 4

Parameters
headWidthWidth of the triangular head
See also
setLength()

Definition at line 128 of file qwt_vectorfield_symbol.cpp.

◆ ~QwtVectorFieldThinArrow()

QwtVectorFieldThinArrow::~QwtVectorFieldThinArrow ( )
virtual

Destructor.

Definition at line 134 of file qwt_vectorfield_symbol.cpp.

Member Function Documentation

◆ length()

qreal QwtVectorFieldThinArrow::length ( ) const
virtual
Returns
length of the symbol/arrow
See also
setLength()

Implements QwtVectorFieldSymbol.

Definition at line 152 of file qwt_vectorfield_symbol.cpp.

◆ paint()

void QwtVectorFieldThinArrow::paint ( QPainter *  ) const
virtual

Draw the symbol/arrow.

Implements QwtVectorFieldSymbol.

Definition at line 157 of file qwt_vectorfield_symbol.cpp.

◆ setLength()

void QwtVectorFieldThinArrow::setLength ( qreal  length)
virtual

Set the length of the symbol/arrow

See also
length()

Implements QwtVectorFieldSymbol.

Definition at line 139 of file qwt_vectorfield_symbol.cpp.

Member Data Documentation

◆ m_data

PrivateData* QwtVectorFieldThinArrow::m_data
private

Definition at line 93 of file qwt_vectorfield_symbol.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:51