Points&Forces (survey)
Software tools facilitating the task of surveying architecture
Classes | Enumerations | Functions | Variables
p_compute.cxx File Reference
#include <iostream>
#include <fstream>
#include <vector>
#include <vgl/vgl_homg_point_2d.h>
#include <vgl/vgl_homg_point_3d.h>
#include <vgl/vgl_distance.h>
#include <mvl/PMatrix.h>
#include <mvl/PMatrixComputeLinear.h>
#include <mvl/HomgNorm2D.h>
#include <mvl/PMatrixDecompCR.h>
#include <vnl/vnl_least_squares_function.h>
#include <vnl/algo/vnl_levenberg_marquardt.h>
#include "a_point.h"
#include "SimpleOpt.h"
#include "p_compute.help"
+ Include dependency graph for p_compute.cxx:

Go to the source code of this file.

Classes

class  a_camera_function
 camera solver More...
 
class  a_camera_function_internal
 camera solver with internal calibration More...
 
class  a_camera2_function
 camera solver with radial distorsions More...
 

Enumerations

enum  {
  OPT_HELP , OPT_NONLIN , OPT_VERB , OPT_QUIET ,
  OPT_HOMOGENEOUS , OPT_RADIAL , OPT_OUT , OPT_SQUARE ,
  OPT_SKEW , OPT_INTERNAL
}
 

Functions

int error (int val)
 
int main (int argc, char **argv)
 

Variables

CSimpleOpt::SOption g_rgOptions []
 
bool verbose = false
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OPT_HELP 
OPT_NONLIN 
OPT_VERB 
OPT_QUIET 
OPT_HOMOGENEOUS 
OPT_RADIAL 
OPT_OUT 
OPT_SQUARE 
OPT_SKEW 
OPT_INTERNAL 

Definition at line 32 of file p_compute.cxx.

Function Documentation

◆ error()

int error ( int  val)

Definition at line 60 of file p_compute.cxx.

+ Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 279 of file p_compute.cxx.

+ Here is the call graph for this function:

Variable Documentation

◆ g_rgOptions

CSimpleOpt::SOption g_rgOptions[]
Initial value:
= {
{ OPT_NONLIN, _T("-nl"), SO_NONE },
{ OPT_NONLIN, _T("--non-linear"), SO_NONE },
{ OPT_INTERNAL, _T("-i"), SO_REQ_SEP },
{ OPT_INTERNAL, _T("--internal"), SO_REQ_SEP },
{ OPT_HOMOGENEOUS, _T("-hg"), SO_NONE },
{ OPT_HOMOGENEOUS, _T("--homogeneous"), SO_NONE },
{ OPT_SKEW, _T("-ns"), SO_NONE },
{ OPT_SKEW, _T("--no-skew"), SO_NONE },
{ OPT_SQUARE, _T("-sp"), SO_NONE },
{ OPT_SQUARE, _T("--square-pixels"), SO_NONE },
{ OPT_RADIAL, _T("-r"), SO_NONE },
{ OPT_RADIAL, _T("--radial"), SO_NONE },
{ OPT_VERB, _T("-v"), SO_NONE },
{ OPT_VERB, _T("--verbose"), SO_NONE },
{ OPT_QUIET, _T("-q"), SO_NONE },
{ OPT_QUIET, _T("--quiet"), SO_NONE },
{ OPT_OUT, _T("-o"), SO_REQ_SEP },
{ OPT_HELP, _T("-?"), SO_NONE },
{ OPT_HELP, _T("-h"), SO_NONE },
{ OPT_HELP, _T("--help"), SO_NONE },
SO_END_OF_OPTIONS
}
@ OPT_HOMOGENEOUS
Definition: p_compute.cxx:32
@ OPT_SQUARE
Definition: p_compute.cxx:32
@ OPT_INTERNAL
Definition: p_compute.cxx:32
@ OPT_RADIAL
Definition: p_compute.cxx:32
@ OPT_SKEW
Definition: p_compute.cxx:32
@ OPT_QUIET
Definition: p_compute.cxx:32
@ OPT_OUT
Definition: p_compute.cxx:32
@ OPT_HELP
Definition: p_compute.cxx:32
@ OPT_VERB
Definition: p_compute.cxx:32
@ OPT_NONLIN
Definition: p_compute.cxx:32

Definition at line 34 of file p_compute.cxx.

◆ verbose

bool verbose = false

Definition at line 58 of file p_compute.cxx.