Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
PerspectiveImageCtrl.cpp File Reference

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"
Include dependency graph for PerspectiveImageCtrl.cpp:

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...
 

Detailed Description

implementation of preview for lens calibration gui

Author
T. Modes

Definition in file PerspectiveImageCtrl.cpp.

Function Documentation

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().