3d/model.hh
Go to the documentation of this file.
/* -*- mia-c++ -*-
*
* This file is part of MIA - a toolbox for medical image analysis
* Copyright (c) Leipzig, Madrid 1999-2017 Gert Wollny
*
* MIA 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 3 of the License, or
* (at your option) any later version.
*
* This program 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 MIA; if not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef mia_3d_model_hh
#define mia_3d_model_hh
#include <mia/core/factory.hh>
#include <mia/core/regmodel.hh>
#include <mia/3d/image.hh>
NS_MIA_BEGIN
template <>
struct RegistrationTraits<3> {
typedef C3DImage Data;
typedef C3DFVectorfield Force;
typedef C3DFVectorfield Transformation;
};
typedef TRegModel<3> C3DRegModel;
typedef std::shared_ptr<C3DRegModel > P3DRegModel;
typedef TFactory<C3DRegModel> C3DRegModelPlugin;
template <> const char *const TPluginHandler<C3DRegModelPlugin>::m_help;
extern template class EXPORT_3D TRegModel<3>;
extern template class EXPORT_3D TFactory<C3DRegModel>;
extern template class EXPORT_3D THandlerSingleton< TFactoryPluginHandler<C3DRegModelPlugin>>;
typedef THandlerSingleton< TFactoryPluginHandler<C3DRegModelPlugin>> C3DRegModelPluginHandler;
NS_MIA_END
#endif
image.hh
P3DRegModel
std::shared_ptr< C3DRegModel > P3DRegModel
Definition 3d/register.hh:89
TFactory
This is tha base of all plugins that create "things", like filters, cost functions time step operator...
Definition factory.hh:51
THandlerSingleton
the singleton that a plug-in handler really is
Definition handler.hh:159
TRegModel
Base class for PDE model based registrations.
Definition regmodel.hh:56
EXPORT_3D
#define EXPORT_3D
Definition defines3d.hh:45
NS_MIA_BEGIN
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
Definition defines.hh:33
NS_MIA_END
#define NS_MIA_END
conveniance define to end the mia namespace
Definition defines.hh:36
factory.hh
regmodel.hh