]> Creatis software - cpPlugins.git/blobdiff - lib/Instances/BaseObjects.i
...
[cpPlugins.git] / lib / Instances / BaseObjects.i
index e84f8de477152396fc089f64d7fb6eb531cf686c..8575d6662c1111e8ed0775fd692a391360568fa4 100644 (file)
@@ -1,46 +1,32 @@
-* ======================
-* == Some definitions ==
-* ======================
-
-d #ints=char;short;int;long
-d #uints=unsigned #ints
-d #floats=float;double
-d #dims=1;2;3;4
-d #vectors=CovariantVector;Point;Vector;SymmetricSecondRankTensor
-d #color_pixels=RGBPixel;RGBAPixel
-
-* ==============
-* == Includes ==
-* ==============
-
-t itkArray.h
-t itkArray2D.h
-t itkFixedArray.h
-t itk{#vectors}.h
-t itkMatrix.h
-t itkDiffusionTensor3D.h
-t itkSymmetricEigenAnalysis.h
-t itk{#color_pixels}.h
-t itkSimpleDataObjectDecorator.h
-t itkVariableLengthVector.h
-
-* ===============
-* == Instances ==
-* ===============
-
-c itk::@{Array;Array2D;VariableLengthVector}< @{#ints;#uints;#floats} >
-c itk::FixedArray< @{#ints;#uints}, #dims >
-c itk::FixedArray< #floats, @{#dims;6;10} >
-c itk::#vectors< #floats, #dims >
-c itk::Matrix< #floats, @{#dims;5}, @{#dims;5} >
-c itk::DiffusionTensor3D< #floats >
-c itk::#color_pixels< @{#ints;#uints;#floats} >
-c itk::SimpleDataObjectDecorator< @{#ints;#uints;#floats} >
-
-* ==================
-* == Dependencies ==
-* ==================
-
-c itk::SymmetricEigenAnalysis< itk::Matrix< #floats, #dims, #dims >, itk::FixedArray< #floats, #dims >, itk::Matrix< #floats, #dims, #dims > >
-
-* eof - $RCSfile$
+header #define ITK_MANUAL_INSTANTIATION
+
+define arrays=Array2D;Array;#color_pixels#
+define fixed_dims=#process_dims#;8
+
+tinclude itk#arrays#:h|hxx
+tinclude itkFixedArray:h|hxx
+tinclude itk#diff_tensors#:h|hxx
+tinclude itk#vectors#:h|hxx
+tinclude itk#matrices#:h|hxx
+tinclude itkSymmetricEigenAnalysis:h|hxx
+tinclude itkSimpleDataObjectDecorator:h|hxx
+tinclude itkVariableLengthVector:h|hxx
+
+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 )
+
+** eof - $RCSfile$