]> Creatis software - cpPlugins.git/blobdiff - lib/Instances/BaseObjects.i
...
[cpPlugins.git] / lib / Instances / BaseObjects.i
index 45758d7298343500b30df02f1d7325af1fdf6e6a..1d3d5b77e37704f0cb9bc359c460886c2e896959 100644 (file)
@@ -1,47 +1,34 @@
 header #define ITK_MANUAL_INSTANTIATION
-header #include <vnl/vnl_complex_traits.h>
-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 };
-
-define other_dims=6;8;10
-
-tinclude itkArray2D:h|hxx
-tinclude itkArray:h|hxx
+
+define arrays=Array2D;Array;#color_pixels#
+define fixed_dims=#visual_dims#;1;4;6;8
+
+tinclude itk#arrays#:h|hxx
 tinclude itkFixedArray:h|hxx
-tinclude itk#color_pixels#:h|hxx
+tinclude itk#diff_tensors#:h|hxx
 tinclude itk#vectors#:h|hxx
 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#, #other_dims# >
-instances itk::#color_pixels#< #scalar_pixels# >
-instances itk::#vectors#< #real_types#, #process_dims# >
-instances itk::#diff_tensors#< #real_types# >
-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# >
 
+instances itk::#arrays#< #scalar_pixels# >
+instances itk::FixedArray< #scalar_pixels#, #fixed_dims# >
+instances itk::#diff_tensors#< #real_types# >
+instances itk::#vectors#< #real_types#, #process_dims# >
+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# > >
+
 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 )
+
 minstances void #_export_# itk::VariableLengthVector<  #real_types# >::SetSize< itk::VariableLengthVector< #real_types# >::AlwaysReallocate, itk::VariableLengthVector< #real_types# >::KeepOldValues >( unsigned int, itk::VariableLengthVector< #real_types# >::AlwaysReallocate, itk::VariableLengthVector< #real_types# >::KeepOldValues )
 
+minstances void #_export_# itk::VariableLengthVector< #real_types# >::SetSize<itk::VariableLengthVector< #real_types# >::ShrinkToFit, itk::VariableLengthVector< #real_types# >::KeepOldValues>(unsigned int, itk::VariableLengthVector< #real_types# >::ShrinkToFit, itk::VariableLengthVector< #real_types# >::KeepOldValues)
+
 ** eof - $RCSfile$