bazar  1.3.1
Classes | Functions
camera.cpp File Reference
#include <fstream>
#include <iostream>
#include <string.h>
#include "camera.h"
#include "matvec.h"
Include dependency graph for camera.cpp:

Go to the source code of this file.

Classes

struct  GuessMode

Functions

static void get3x3MulWithTransposed (const double m[3][4], double mmt[3][3])
static double diag (double x, double y)
static double diagDiff (const GuessMode &m, double dx, double dy)
ostream & operator<< (ostream &os, const PerspectiveProjection &cam)
ostream & operator<< (ostream &os, const PerspectiveCamera &cam)

Function Documentation

static double diag ( double  x,
double  y 
)
static

Definition at line 431 of file camera.cpp.

Referenced by diagDiff().

static double diagDiff ( const GuessMode m,
double  dx,
double  dy 
)
static

Definition at line 436 of file camera.cpp.

References diag(), GuessMode::h, and GuessMode::w.

Referenced by PerspectiveCamera::loadTdir().

static void get3x3MulWithTransposed ( const double  m[3][4],
double  mmt[3][3] 
)
static

Definition at line 265 of file camera.cpp.

Referenced by PerspectiveCamera::loadTdir().

ostream& operator<< ( ostream &  os,
const PerspectiveProjection cam 
)
ostream& operator<< ( ostream &  os,
const PerspectiveCamera cam 
)

Definition at line 556 of file camera.cpp.

References PerspectiveCamera::getWorldToEyeMat().