#include <vlinelength.h>
Public Member Functions | |
| VLengthLine () | |
| VLengthLine (const VPointF *p1, const quint32 &p1Id, const VPointF *p2, const quint32 &p2Id, Unit patternUnit) | |
| VLengthLine (const VLengthLine &var) | |
| virtual | ~VLengthLine () Q_DECL_OVERRIDE |
| VLengthLine & | operator= (const VLengthLine &var) |
| void | Swap (VLengthLine &var) Q_DECL_NOTHROW |
| virtual bool | Filter (quint32 id) Q_DECL_OVERRIDE |
| void | SetValue (const VPointF *p1, const VPointF *p2) |
| quint32 | GetP1Id () const |
| quint32 | GetP2Id () const |
Public Member Functions inherited from VInternalVariable | |
| VInternalVariable () | |
| VInternalVariable (const VInternalVariable &var) | |
| virtual | ~VInternalVariable () |
| VInternalVariable & | operator= (const VInternalVariable &var) |
| void | Swap (VInternalVariable &var) Q_DECL_NOTHROW |
| virtual qreal | GetValue () const |
| virtual qreal * | GetValue () |
| QString | GetName () const |
| void | SetName (const QString &name) |
| VarType | GetType () const |
| void | SetType (const VarType &type) |
| virtual bool | isNotUsed () const |
Private Attributes | |
| QSharedDataPointer< VLengthLineData > | d |
Additional Inherited Members | |
Protected Member Functions inherited from VInternalVariable | |
| void | SetValue (const qreal &value) |
Definition at line 67 of file vlinelength.h.
| VLengthLine::VLengthLine | ( | ) |
Definition at line 73 of file vlinelength.cpp.
References LineLength, and VInternalVariable::SetType().
| VLengthLine::VLengthLine | ( | const VPointF * | p1, |
| const quint32 & | p1Id, | ||
| const VPointF * | p2, | ||
| const quint32 & | p2Id, | ||
| Unit | patternUnit | ||
| ) |
Definition at line 80 of file vlinelength.cpp.
References line_, LineLength, VGObject::name(), SCASSERT, VInternalVariable::SetName(), VInternalVariable::SetType(), and SetValue().
| VLengthLine::VLengthLine | ( | const VLengthLine & | var | ) |
Definition at line 93 of file vlinelength.cpp.
|
virtual |
Definition at line 110 of file vlinelength.cpp.
|
virtual |
| quint32 VLengthLine::GetP1Id | ( | ) | const |
Definition at line 130 of file vlinelength.cpp.
References d.
| quint32 VLengthLine::GetP2Id | ( | ) | const |
Definition at line 136 of file vlinelength.cpp.
References d.
| VLengthLine & VLengthLine::operator= | ( | const VLengthLine & | var | ) |
Definition at line 98 of file vlinelength.cpp.
References d, and VInternalVariable::operator=().
Definition at line 120 of file vlinelength.cpp.
References d, FromPixel(), SCASSERT, and VInternalVariable::SetValue().
Referenced by VLengthLine().
| void VLengthLine::Swap | ( | VLengthLine & | var | ) |
Definition at line 69 of file vlinelength.cpp.
References VInternalVariable::Swap().
|
private |
Definition at line 88 of file vlinelength.h.
Referenced by Filter(), GetP1Id(), GetP2Id(), operator=(), and SetValue().