X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInstances%2FBaseObjects.i;h=704af337161b628322ccd3ae5517331e2a1b8d4b;hb=22c3c302e6fb4932c6598a8acbf043436c4c06c6;hp=384aad50b346213b815c21aaf922df70c1d884b2;hpb=6bd5a267c827df95f0c1c8f8c0af0f918bf2b31c;p=cpPlugins.git diff --git a/lib/Instances/BaseObjects.i b/lib/Instances/BaseObjects.i index 384aad5..704af33 100644 --- a/lib/Instances/BaseObjects.i +++ b/lib/Instances/BaseObjects.i @@ -1,5 +1,13 @@ header #define ITK_MANUAL_INSTANTIATION +header #include +header VCL_DEFINE_SPECIALIZATION struct vnl_complex_traits< bool > +header { +header enum { isreal = true }; +header static bool conjugate( bool x ) { return( x ); } +header static std::complex< bool > complexify( bool x ) { return( std::complex< bool >( x, false ) ); } +header }; +tinclude itkArray2D:h|hxx tinclude itkArray:h|hxx tinclude itkFixedArray:h|hxx tinclude itk#color_pixels#:h|hxx @@ -8,11 +16,15 @@ tinclude itk#matrices#:h|hxx tinclude itk#diff_tensors#:h|hxx tinclude itkSymmetricEigenAnalysis:h|hxx tinclude itkSimpleDataObjectDecorator:h|hxx +tinclude itkVariableLengthVector:h|hxx tinclude vnl/vnl_vector:h|hxx +tinclude vnl/vnl_matrix:h|hxx cinclude vnl/vnl_c_vector.hxx instances vnl_vector< bool > +instances vnl_matrix< bool > +instances itk::Array2D< #scalar_pixels# > instances itk::Array< #scalar_pixels# > instances itk::FixedArray< #scalar_pixels#, #process_dims# > instances itk::FixedArray< #scalar_pixels#, 8 > @@ -23,8 +35,9 @@ instances itk::#matrices#< #real_types#, #process_dims#, #process_dims# > instances itk::SymmetricEigenAnalysis< itk::Matrix< #real_types#, #process_dims#, #process_dims# >, itk::FixedArray< #real_types#, #process_dims# >, itk::Matrix< #real_types#, #process_dims#, #process_dims# > > instances itk::SimpleDataObjectDecorator< #scalar_pixels# > +instances itk::VariableLengthVector< #scalar_pixels# > -define my_vectors=Vector;Point +define my_vectors=FixedArray;Vector;Point minstances #_export_# std::ostream& itk::operator<< < #real_types#, #process_dims# >( std::ostream& a, itk::#my_vectors#< #real_types#, #process_dims# > const& b )