Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros
TranslatePanorama.cpp File Reference
#include "TranslatePanorama.h"
Include dependency graph for TranslatePanorama.cpp:

Go to the source code of this file.

Namespaces

 HuginBase
 mainly consists of wrapper around the pano tools library, to assist in ressource management and to provide a nicer interface.
 

Macros

#define conditional_set(variable, value)
 

Detailed Description

Author
Pablo d'Angelo pablo.nosp@m..dan.nosp@m.gelo@.nosp@m.web..nosp@m.de Yuval Levy http://www.photopla.net/

This 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 Lesser 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 TranslatePanorama.cpp.

Macro Definition Documentation

#define conditional_set (   variable,
  value 
)
Value:
if (image.variable##isLinked())\
{\
unsigned int j = 0;\
while (j < i && !image.variable##isLinkedWith(panorama.getImage(j)))\
{\
j++;\
}\
if (j == i) copy.set##variable(value);\
} else {\
copy.set##variable(value);\
}

Referenced by HuginBase::TranslatePanorama::translatePano().