![]() |
PeriDyno 1.2.1
|
#include <QRampWidget.h>


Public Slots | |
| void | changeValue (int s) |
| void | changeInterpValue (int s) |
Public Slots inherited from dyno::mDrawLabel | |
| void | setCurveClose () |
| void | setLinearResample (int s) |
| void | setSpacingToDrawLabel (double value, int id) |
Public Member Functions | |
| QDrawLabel (QWidget *parent=nullptr) | |
| ~QDrawLabel () | |
| void | updateDataToField () override |
| void | setField (FVar< Ramp > *f) |
| void | copySettingFromField () |
Public Member Functions inherited from dyno::mDrawLabel | |
| mDrawLabel () | |
| ~mDrawLabel () | |
| void | updateLabelShape (bool squard) |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *event) |
| void | mouseMoveEvent (QMouseEvent *event) override |
| void | mousePressEvent (QMouseEvent *event) override |
| int | addPointtoEnd () override |
| void | CoordtoField (Ramp &s) |
Protected Member Functions inherited from dyno::mDrawLabel | |
| void | copyFromField (std::vector< Canvas::Coord2D > coord01, std::vector< MyCoord > &thisArray) |
| void | copyFromField (std::vector< Canvas::OriginalCoord > coord01, std::vector< MyCoord > &thisArray) |
| void | initializeLine (Dir mode) |
| void | setLabelSize (int minX, int minY, int maxX, int maxY) |
| void | reSort (std::vector< MyCoord > &vector1) |
| MyCoord | ZeroOneToCoord (Coord0_1 &value, int x0, int x1, int y0, int y1) |
| void | deletePoint () |
| void | insertHandlePoint (int fp, MyCoord pCoord) |
| void | buildBezierPoint () |
| int | insertCurvePoint (MyCoord pCoord) |
| void | buildCoordToResortMap () |
| void | keyReleaseEvent (QKeyEvent *event) |
| void | insertElementToHandlePointSet (int i) |
| void | buildHandlePointSet () |
| Coord0_1 | CoordTo0_1Value (MyCoord &coord) |
| void | leaveEvent (QEvent *event) |
| void | remapArrayToHeight (std::vector< MyCoord > &Array, int h) |
| void | updateFloatCoordArray (std::vector< MyCoord > CoordArray, std::vector< Coord0_1 > &myfloatCoord) |
| void | keyPressEvent (QKeyEvent *event) |
| void | mouseReleaseEvent (QMouseEvent *event) |
Private Attributes | |
| FVar< Ramp > * | mField |
Additional Inherited Members | |
Public Types inherited from dyno::mDrawLabel | |
| enum | Dir { x = 0 , y = 1 } |
| enum | Interpolation { Linear = 0 , Bezier = 1 } |
| enum | BorderMode { Open = 0 , Close = 1 } |
Public Attributes inherited from dyno::mDrawLabel | |
| bool | useBezier = false |
| bool | useSort = true |
| bool | lockSize = false |
| bool | curveClose = false |
| bool | LineResample = false |
| double | spacing = 10 |
Static Protected Member Functions inherited from dyno::mDrawLabel | |
| static bool | sortx (MyCoord a, MyCoord b) |
| static bool | sorty (MyCoord a, MyCoord b) |
Protected Attributes inherited from dyno::mDrawLabel | |
| int | w = 380 |
| int | h = 100 |
| int | selectDistance = 10 |
| int | HandleAngleThreshold = 20 |
| int | radius = 4 |
| float | mIniHandleLength = 15 |
| Dir | mMode = x |
| Interpolation | InterpMode = Linear |
| int | maxX = 0 |
| int | maxY = 0 |
| int | minX = 0 |
| int | minY = 0 |
| bool | mGeneratorXmin = 1 |
| bool | mGeneratorXmax = 1 |
| bool | mGeneratorYmin = 1 |
| bool | mGeneratorYmax = 1 |
| int | mMinIndex = 0 |
| int | mMaxIndex = 0 |
| bool | mAltKey = false |
| bool | mCtrlKey = false |
| bool | mShiftKey = false |
| int | mHoverPoint = -1 |
| int | mSelectHandlePoint = -1 |
| int | mSelectPointID = -1 |
| bool | mIsSelect = false |
| bool | mIsHandleSelect = false |
| int | mHandleParent = -1 |
| int | mSelectPointInResort = -1 |
| bool | mIsHover = false |
| int | mConnectHandlePoint = -1 |
| float | mConnectLength |
| bool | mForceUpdate = false |
| bool | mInsertBezierOpenPoint = false |
| bool | mHandleConnection = true |
| bool | mInsertAtBegin = false |
| MyCoord | mInitPosition |
| MyCoord | mDtPosition |
| MyCoord | mInitHandlePos |
| MyCoord | mPressCoord |
| std::vector< MyCoord > | mCoordArray |
| std::vector< MyCoord > | mReSortCoordArray |
| std::vector< MyCoord > | mHandlePoints |
| std::vector< Coord0_1 > | mFloatCoord |
| std::vector< Coord0_1 > | mHandleFloatCoord |
| std::vector< MyCoord > | mCurvePoint |
| std::vector< int > | mMultiSelectID |
| std::map< int, float > | mCurvePointMapLength |
| std::map< float, EndPoint > | mLengthMapEndPoint |
| std::map< int, int > | mMapOriginalIDtoResortID |
| std::map< int, int > | mMapResortIDtoOriginalID |
| QPainterPath | mPath |
Definition at line 54 of file QRampWidget.h.
| dyno::QDrawLabel::QDrawLabel | ( | QWidget * | parent = nullptr | ) |
| dyno::QDrawLabel::~QDrawLabel | ( | ) |
Definition at line 409 of file QRampWidget.cpp.
|
overrideprotectedvirtual |
Reimplemented from dyno::mDrawLabel.
Definition at line 626 of file QRampWidget.cpp.


|
slot |
Definition at line 842 of file QRampWidget.cpp.
|
slot |
|
protected |
Definition at line 855 of file QRampWidget.cpp.


| void dyno::QDrawLabel::copySettingFromField | ( | ) |
|
overrideprotected |
|
overrideprotected |
|
protected |
Definition at line 66 of file QRampWidget.h.


|
overridevirtual |
Reimplemented from dyno::mDrawLabel.
Definition at line 803 of file QRampWidget.cpp.


Definition at line 77 of file QRampWidget.h.