#include <CDirectionalOptimalPathSolver.h>
◆ ProcessingQueue
◆ CDirectionalOptimalPathSolver()
iipr::CDirectionalOptimalPathSolver::CDirectionalOptimalPathSolver |
( |
| ) |
|
◆ CalculateCostData()
bool iipr::CDirectionalOptimalPathSolver::CalculateCostData |
( |
const QVector< i2d::CVector2d > & | destPoints, |
|
|
double | maxCost, |
|
|
int | minDestPoints ) |
Calculates bitmap containing cost from begin point to each pixel (it stops when cost to all destination points is calculated.
The output bitmap will be created as using elements of type float.
◆ GetOptimalPath()
double iipr::CDirectionalOptimalPathSolver::GetOptimalPath |
( |
const i2d::CVector2d & | destPoint, |
|
|
i2d::CPolypoint * | optimalPathPtr = nullptr ) const |
Get cost of optimal path.
Optional this function returns set of points to the destination points.
◆ Initialize()
◆ IsInitialized()
bool iipr::CDirectionalOptimalPathSolver::IsInitialized |
( |
| ) |
const |
|
inline |
◆ PopNextElement()
bool iipr::CDirectionalOptimalPathSolver::PopNextElement |
( |
istd::CIndex2d & | elementIndex, |
|
|
float & | elementCostSum ) |
|
inlineprotected |
◆ TryChangeNeighbour()
Definition at line 111 of file CDirectionalOptimalPathSolver.h.
References iipr::CDirectionalOptimalPathSolver::CostElement::costOffset, iipr::CDirectionalOptimalPathSolver::CostElement::costSum, iipr::CDirectionalOptimalPathSolver::CostElement::costX, iipr::CDirectionalOptimalPathSolver::CostElement::costY, iipr::CDirectionalOptimalPathSolver::Neighbourhood::dirX, iipr::CDirectionalOptimalPathSolver::Neighbourhood::dirY, iipr::CDirectionalOptimalPathSolver::Neighbourhood::distance, iipr::CDirectionalOptimalPathSolver::CostElement::invMask, iipr::CDirectionalOptimalPathSolver::Neighbourhood::invMask, iipr::CDirectionalOptimalPathSolver::CostElement::revDirCode, and iipr::CDirectionalOptimalPathSolver::Neighbourhood::revDirCode.
The documentation for this class was generated from the following file: