defines.hh File Reference
Include dependency graph for defines.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EXPORT   DO_EXPORT
 Macro to set visibility to default, resp. __declspec(dllexport) More...
 
#define EXPORT_CORE   DO_IMPORT
 Macro to manage Visual C++ style dllimport/dllexport. More...
 
#define MIA_MODULE_SUFFIX   "mia"
 suffix for plug-ins More...
 
#define NS_BEGIN(NS)   namespace NS {
 conveniance define to start a namespace More...
 
#define NS_END   }
 conveniance define to end a namespace More...
 
#define NS_MIA_BEGIN   namespace mia {
 conveniance define to start the mia namespace More...
 
#define NS_MIA_END   }
 conveniance define to end the mia namespace More...
 
#define NS_MIA_USE   using namespace mia;
 conveniance define to use the mia namespace More...
 
#define NS_USE(NS)   using namespace NS
 conveniance define to use s namespace More...
 

Enumerations

enum  EInterpolation {
  ip_nn, ip_linear, ip_bspline0, ip_bspline1,
  ip_bspline2, ip_bspline3, ip_bspline4, ip_bspline5,
  ip_omoms3, ip_unknown
}
 some constants for interpoation types More...
 
enum  EInterpolationFactory { ipf_spline, ipf_unknown }
 Enumerate for the types of possible interpolator factories. More...
 

Functions

EXPORT_CORE char const * get_revision ()
 

Detailed Description

This file provides some defines to make life easier

Definition in file defines.hh.

Macro Definition Documentation

◆ EXPORT

#define EXPORT   DO_EXPORT

Macro to set visibility to default, resp. __declspec(dllexport)

Definition at line 105 of file defines.hh.

◆ EXPORT_CORE

◆ MIA_MODULE_SUFFIX

#define MIA_MODULE_SUFFIX   "mia"

suffix for plug-ins

Definition at line 84 of file defines.hh.

◆ NS_BEGIN

#define NS_BEGIN (   NS)    namespace NS {

conveniance define to start a namespace

Definition at line 42 of file defines.hh.

◆ NS_END

#define NS_END   }

conveniance define to end a namespace

Definition at line 45 of file defines.hh.

◆ NS_MIA_BEGIN

#define NS_MIA_BEGIN   namespace mia {

conveniance define to start the mia namespace

Definition at line 33 of file defines.hh.

◆ NS_MIA_END

#define NS_MIA_END   }

conveniance define to end the mia namespace

Definition at line 36 of file defines.hh.

Referenced by TProductCache< ProductPtr >::add(), multiply< T2DImage< T > >::apply(), BOOST_TEST_create_from_plugin(), C1DInterpolatorFactory::create(), C2DInterpolatorFactory::create(), distance_transform_prepare(), TParameter< T >::do_descr(), TImageCombinerFilterPlugin< Image >::do_get_descr(), eat_char(), TFilterChain< Handler >::empty(), TCSTPlan< T >::execute(), CSplineParzenMI::fill(), TRegModel< Dim >::get_force_scale(), TDictMap< EBoxSegmentation >::get_help_end(), C2DSolveCG::get_iterations(), solve_sCG::get_iterations(), TDelayedParameter< T >::get_key(), THistogram< Feeder >::get_reduced_range(), TSingleReferencedObject< T >::get_refcount(), Transformation< C3DImage, C3DInterpolatorFactory >::has_energy_penalty(), kmeans(), load_image(), load_image< P2DImage >(), load_image< P3DImage >(), make_opt(), make_repeatable_opt(), mean_var(), normalize(), TRefHolder< T >::operator const_reference(), operator!=(), CSparseHistogram::operator()(), FDeformer3D::operator()(), FIntensityStatsAccumulator::operator()(), FMedianMAD::operator()(), FDeformer2D::operator()(), less_then< T3DVector< T > >::operator()(), operator*(), operator+(), C3DCriticalPoint::operator<(), operator<<(), operator>>(), vector_dimsize::operator[](), range2d_iterator< I >::operator[](), preduce(), fifof_Fixture::prepare(), produce_2d_shape(), produce_2dfullcost(), produce_2dtransform_factory(), produce_3dimage_filter(), produce_3dtransform_factory(), produce_minimizer(), produce_spacial_kernel(), TFiltertestFixture< Image >::run(), run_filter(), save_transform(), CThreadMsgStream::set_master_stream(), SFuzzySegParams::SFuzzySegParams(), simpson(), clist< T >::size(), CSplineKernel::size(), CSplineBoundaryCondition::template_filter_line(), TDataFilter< Image >::test_pixeltype_conversion(), to_string< double >(), TPolyTriangulator< VertexVector, Polygon >::triangulate(), TWatershedFilterPlugin< dim >::TWatershedFilterPlugin(), and NDVectorIOcvd< T >::write().

◆ NS_MIA_USE

#define NS_MIA_USE   using namespace mia;

conveniance define to use the mia namespace

Definition at line 39 of file defines.hh.

◆ NS_USE

#define NS_USE (   NS)    using namespace NS

conveniance define to use s namespace

Definition at line 48 of file defines.hh.

Enumeration Type Documentation

◆ EInterpolation

some constants for interpoation types

Enumerator
ip_nn 

nearest neighbor interpolation

ip_linear 

linear interpolation

ip_bspline0 

bsplines of degree 0 (nearest neighbor interpolation)

ip_bspline1 

bsplines of degree 1 (linear interpolation)

ip_bspline2 

bsplines of degree 2

ip_bspline3 

bsplines of degree 3

ip_bspline4 

bsplines of degree 4

ip_bspline5 

bsplines of degree 5

ip_omoms3 

omoms splines of degree 3

ip_unknown 

unknown type

Definition at line 62 of file defines.hh.

◆ EInterpolationFactory

Enumerate for the types of possible interpolator factories.

Enumerator
ipf_spline 

bspline based interpolation

ipf_unknown 

unkown type

Definition at line 76 of file defines.hh.

Function Documentation

◆ get_revision()

EXPORT_CORE char const* get_revision ( )