TranslatePanorama.cpp File Reference

#include "TranslatePanorama.h"

Include dependency graph for TranslatePanorama.cpp:

Go to the source code of this file.

Namespaces

namespace  HuginBase

Defines

#define conditional_set(variable, value)


Detailed Description

Author:
Pablo d'Angelo <pablo.dangelo@web.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, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file TranslatePanorama.cpp.


Define 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);\
        }


Generated on 5 Dec 2014 for Hugintrunk by  doxygen 1.4.7