Handles transfer function control points. More...
#include <TFControlPoint.h>
Public Member Functions | |
| TFControlPoint (float x, float y, const Lab_Colour &colour) | |
| bool | operator== (const TFControlPoint &other) |
| bool | operator< (const TFControlPoint &other) |
| void | setPosition (float x, float y) |
| void | setColour (float l, float a, float b) |
| bool | isBeingDragged () |
| void | setBeingDragged (bool beingDragged) |
| bool | isSelected () |
| void | setSelected (bool selected) |
| bool | isMarkedForDeletion () |
| void | setMarkedForDeletion (bool deletePoint) |
| Lab_Colour & | getColourLab () |
| void | drawControlPoint () |
| void | drawControlPointDragged (float square, RGBA_Colour colourRGBA, float radius) |
| void | drawControlPointNormal (float square, RGBA_Colour colourRGBA, float radius) |
| void | drawControlPointBackGround (float square, bool drawVersionDragged=false) |
| void | drawControlPointFrame (float squares, bool drawVersionDragged=false, bool drawVersionDeleting=false) |
| void | drawControlPointCenterPoint (RGBA_Colour &colourRGBA, float radius, bool drawVersionDragged=false) |
| void | dragMovement (int mouseX, int mouseY) |
| void | updateBeingDraggedIntoDeletion (int mouseX, int mouseY) |
| void | updateDragDifference (int mouseX, int mouseY) |
| void | draggingEnded () |
Public Attributes | |
| Position | m_pos |
| float | dragDifferenceX |
| float | dragDifferenceY |
| Lab_Colour | m_colour |
Static Public Attributes | |
| static const int | DrawSize = 10 |
| static bool | g_bMouseInsideBottomWindow = false |
| static int | MAXIMUM_CONTROLPOINT_OUTSIDE_DRAG_DIST_SQUARED = 289 |
Handles transfer function control points.
Definition at line 14 of file TFControlPoint.h.
1.7.2