defines.hh File Reference
#include <gsl++/gsldefines.hh>
#include <tbb/mutex.h>
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...
 

Typedefs

typedef tbb::mutex CMutex
 The mutex renamed to MIA style. More...
 
typedef tbb::mutex::scoped_lock CScopedLock
 The scoped lock renamed to MIA style. 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...
 

Detailed Description

This file provides some defines to make life easier

Definition in file defines.hh.

Macro Definition Documentation

#define EXPORT   DO_EXPORT

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

Definition at line 114 of file defines.hh.

#define EXPORT_CORE   DO_IMPORT

Macro to manage Visual C++ style dllimport/dllexport.

Definition at line 110 of file defines.hh.

Referenced by NCCGradHelper::get_gradient_scale(), vstream::operator std::ostream &(), operator<<(), produce_spline_boundary_condition(), and CSplineKernel::size().

#define MIA_MODULE_SUFFIX   "mia"

suffix for plug-ins

Definition at line 93 of file defines.hh.

#define NS_BEGIN (   NS)    namespace NS {

conveniance define to start a namespace

Definition at line 52 of file defines.hh.

#define NS_END   }

conveniance define to end a namespace

Definition at line 55 of file defines.hh.

#define NS_MIA_BEGIN   namespace mia {

conveniance define to start the mia namespace

Definition at line 43 of file defines.hh.

#define NS_MIA_END   }

conveniance define to end the mia namespace

Definition at line 46 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(), TDataFilter< D >::filter(), TRegModel< Dim >::get_force_scale(), TDictMap< T >::get_help_end(), C2DSolveCG::get_iterations(), solve_sCG::get_iterations(), TDelayedParameter< T >::get_key(), THistogram< Feeder >::get_reduced_range(), TSingleReferencedObject< T >::get_refcount(), Transformation< D, I >::has_energy_penalty(), kmeans(), load_image(), load_image< P2DImage >(), load_image< P3DImage >(), make_opt(), mean_var(), normalize(), TRefHolder< T >::operator const_reference(), operator!=(), FDeformer3D::operator()(), FIntensityStatsAccumulator::operator()(), FMedianMAD::operator()(), FDeformer2D::operator()(), less_then< T3DVector< T > >::operator()(), operator*(), operator+(), C3DCriticalPoint::operator<(), operator<<(), operator>>(), vector_dimsize::operator[](), 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(), to_string< double >(), TPolyTriangulator< VertexVector, Polygon >::triangulate(), TWatershedFilterPlugin< dim >::TWatershedFilterPlugin(), and NDVectorIOcvd< T >::write().

#define NS_MIA_USE   using namespace mia;

conveniance define to use the mia namespace

Definition at line 49 of file defines.hh.

#define NS_USE (   NS)    using namespace NS

conveniance define to use s namespace

Definition at line 58 of file defines.hh.

Typedef Documentation

typedef tbb::mutex CMutex

The mutex renamed to MIA style.

Definition at line 35 of file defines.hh.

typedef tbb::mutex::scoped_lock CScopedLock

The scoped lock renamed to MIA style.

Definition at line 39 of file defines.hh.

Enumeration Type Documentation

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 71 of file defines.hh.

Enumerate for the types of possible interpolator factories.

Enumerator
ipf_spline 

bspline based interpolation

ipf_unknown 

unkown type

Definition at line 85 of file defines.hh.