Hugintrunk
0.1
|
implementation of preview for lens calibration gui More...
#include "panoinc_WX.h"
#include "panoinc.h"
#include "ToolboxApp.h"
#include "base_wx/platform.h"
#include "PerspectiveImageCtrl.h"
#include "vigra/transformimage.hxx"
#include "nona/RemappedPanoImage.h"
#include "nona/ImageRemapper.h"
#include "base_wx/wxcms.h"
Go to the source code of this file.
Functions | |
double | GetDistance (const hugin_utils::FDiff2D &p, const hugin_utils::FDiff2D &a, const hugin_utils::FDiff2D &b) |
returns distance between point p and line between points a and p, the footpoint of p has to be between a and b More... | |
implementation of preview for lens calibration gui
Definition in file PerspectiveImageCtrl.cpp.
double GetDistance | ( | const hugin_utils::FDiff2D & | p, |
const hugin_utils::FDiff2D & | a, | ||
const hugin_utils::FDiff2D & | b | ||
) |
returns distance between point p and line between points a and p, the footpoint of p has to be between a and b
Definition at line 744 of file PerspectiveImageCtrl.cpp.
References hugin_utils::TDiff2D< T >::squareDistance().
Referenced by PerspectiveImageCtrl::GetNearestLine(), and PerspectiveImageCtrl::GetNearestRectangleLine().