Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
VertexCoordRemapper.cpp File Reference
#include "VertexCoordRemapper.h"
#include <math.h>
#include <iostream>
#include "ViewState.h"
#include "panodata/SrcPanoImage.h"
Include dependency graph for VertexCoordRemapper.cpp:

Go to the source code of this file.

Functions

template<class T >
sqr (T val)
 

Variables

const unsigned short int split_flag_x = 1
 
const unsigned short int patch_flag_x = 2
 
const unsigned short int split_flag_y = 4
 
const unsigned short int patch_flag_y = 8
 
const unsigned short int vertex_side_flag_start = 16
 
const unsigned short int transform_fail_flag = 256
 
const unsigned int min_depth = 4
 
const unsigned int max_depth = 6
 
const double min_length = 14.0
 
const double min_angle = 0.06
 
const double min_length_difference = 3.0
 
const double offscreen_safety_margin = 10.0
 

Detailed Description

Author
James Legg

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this software. If not, see http://www.gnu.org/licenses/.

Definition in file VertexCoordRemapper.cpp.

Function Documentation

template<class T >
T sqr ( val)
inline

Definition at line 100 of file VertexCoordRemapper.cpp.

Referenced by VertexCoordRemapper::SetLengthAndAngle().

Variable Documentation

const unsigned int max_depth = 6
const double min_angle = 0.06

Definition at line 86 of file VertexCoordRemapper.cpp.

Referenced by VertexCoordRemapper::TestSubdivide().

const unsigned int min_depth = 4

Definition at line 72 of file VertexCoordRemapper.cpp.

Referenced by VertexCoordRemapper::TestSubdivide().

const double min_length = 14.0

Definition at line 83 of file VertexCoordRemapper.cpp.

Referenced by VertexCoordRemapper::TestSubdivide().

const double min_length_difference = 3.0

Definition at line 91 of file VertexCoordRemapper.cpp.

Referenced by VertexCoordRemapper::TestSubdivide().

const double offscreen_safety_margin = 10.0

Definition at line 97 of file VertexCoordRemapper.cpp.

Referenced by VertexCoordRemapper::TestSubdivide().

const unsigned short int patch_flag_x = 2
const unsigned short int patch_flag_y = 8
const unsigned short int split_flag_x = 1
const unsigned short int split_flag_y = 4
const unsigned short int transform_fail_flag = 256
const unsigned short int vertex_side_flag_start = 16