3d/trait.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_trait_hh
#define mia_3d_trait_hh
#include <mia/template/dimtrait.hh>
#include <mia/3d/transformfactory.hh>
#include <mia/3d/multicost.hh>
#include <mia/3d/filter.hh>
#include <mia/3d/interpolator.hh>
NS_MIA_BEGIN
template <>
struct dimension_traits<3> {
typedef C3DTransformation Transformation;
typedef C3DTransformation::Pointer PTransformation;
typedef C3DBounds Size;
typedef C3DImage Image;
typedef C3DImage::Pointer PImage;
typedef std::vector<PImage> ImageSeries;
typedef P3DTransformationFactory PTransformationFactory;
typedef C3DFullCostList FullCostList;
typedef C3DFullCost::Pointer PFullCost;
typedef C3DFilter Filter;
typedef P3DFilter PFilter;
typedef C3DFilterPluginHandler FilterPluginHandler;
typedef C3DInterpolatorFactory InterpolatorFactory;
};
NS_MIA_END
#endif
filter.hh
interpolator.hh
multicost.hh
transformfactory.hh
C3DBounds
T3DVector< unsigned int > C3DBounds
A unsinged int 3D Vector (used for 3D field sizes).
Definition 3d/vector.hh:415
C3DImage::Pointer
std::shared_ptr< C3DImage > Pointer
Pointer type of the image.
Definition 3d/image.hh:74
TFullCost< C3DTransformation >::Pointer
std::shared_ptr< TFullCost< C3DTransformation > > Pointer
Definition template/fullcost.hh:63
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
dimtrait.hh
C3DFilterPluginHandler
THandlerSingleton< TFactoryPluginHandler< C3DFilterPlugin > > C3DFilterPluginHandler
The 3D filter plugin handler.
Definition 3d/filter.hh:55
C3DFilter
TDataFilter< C3DImage > C3DFilter
Base class for 3D image filters. Filters are implemented as plug-ins.
Definition 3d/filter.hh:43
P3DFilter
std::shared_ptr< C3DFilter > P3DFilter
The 3D filter shared pointer.
Definition 3d/filter.hh:61
P3DTransformationFactory
std::shared_ptr< C3DTransformCreator > P3DTransformationFactory
pointer type of the class for the creators of 3D transformations
Definition 3d/transformfactory.hh:41
C3DFullCostList
NS_MIA_BEGIN typedef TFullCostList< C3DTransformation > C3DFullCostList
An accumulation of cost functions that are weigted against each other.
Definition 3d/multicost.hh:30