|
Krita Source Code Documentation
|
#include <PerspectiveBasedAssistantHelper.h>
Classes | |
| class | CacheData |
Static Public Member Functions | |
| static qreal | distanceInGrid (const CacheData &cache, const QPointF &point) |
| static qreal | distanceInGrid (const QList< KisPaintingAssistantHandleSP > &handles, bool isAssistantComplete, const QPointF &point) |
| static QPolygonF | getAllConnectedTetragon (const QList< KisPaintingAssistantHandleSP > &handles) |
| static bool | getTetragon (const QList< KisPaintingAssistantHandleSP > &handles, bool isAssistantComplete, QPolygonF &outPolygon) |
| static bool | getVanishingPointsOptional (const QPolygonF &poly, boost::optional< QPointF > &vp1, boost::optional< QPointF > &vp2) |
| static qreal | inverseMaxLocalScale (const QTransform &transform) |
| static qreal | localScale (const QTransform &transform, QPointF pt) |
| static qreal | pdot (const QPointF &a, const QPointF &b) |
| static void | updateCacheData (CacheData &cache, const QPolygonF &poly) |
Private Member Functions | |
| PerspectiveBasedAssistantHelper () | |
| ~PerspectiveBasedAssistantHelper () | |
Definition at line 18 of file PerspectiveBasedAssistantHelper.h.
|
private |
|
private |
|
static |
Definition at line 186 of file PerspectiveBasedAssistantHelper.cpp.
References PerspectiveBasedAssistantHelper::CacheData::horizon, kisDistanceToLine(), PerspectiveBasedAssistantHelper::CacheData::maxDistanceFromPoint, PerspectiveBasedAssistantHelper::CacheData::vanishingPoint1, and PerspectiveBasedAssistantHelper::CacheData::vanishingPoint2.
|
static |
Definition at line 122 of file PerspectiveBasedAssistantHelper.cpp.
References getTetragon(), getVanishingPointsOptional(), and kisDistanceToLine().
|
static |
Definition at line 79 of file PerspectiveBasedAssistantHelper.cpp.
|
static |
Definition at line 27 of file PerspectiveBasedAssistantHelper.cpp.
References pdot(), and KisAlgebra2D::signZZ().
|
static |
Definition at line 252 of file PerspectiveBasedAssistantHelper.cpp.
|
static |
Definition at line 109 of file PerspectiveBasedAssistantHelper.cpp.
|
static |
Definition at line 89 of file PerspectiveBasedAssistantHelper.cpp.
|
static |
Definition at line 282 of file PerspectiveBasedAssistantHelper.cpp.
|
static |
Definition at line 211 of file PerspectiveBasedAssistantHelper.cpp.
References PerspectiveBasedAssistantHelper::CacheData::distancesFromPoints, getVanishingPointsOptional(), PerspectiveBasedAssistantHelper::CacheData::horizon, kisDistanceToLine(), PerspectiveBasedAssistantHelper::CacheData::maxDistanceFromPoint, PerspectiveBasedAssistantHelper::CacheData::None, PerspectiveBasedAssistantHelper::CacheData::OneVp, PerspectiveBasedAssistantHelper::CacheData::polygon, PerspectiveBasedAssistantHelper::CacheData::TwoVps, PerspectiveBasedAssistantHelper::CacheData::type, PerspectiveBasedAssistantHelper::CacheData::vanishingPoint1, and PerspectiveBasedAssistantHelper::CacheData::vanishingPoint2.