]> Creatis software - cpPlugins.git/commitdiff
...
authorLeonardo Florez <leonardo@iMac-de-Andrea.local>
Fri, 4 Nov 2016 01:33:33 +0000 (20:33 -0500)
committerLeonardo Florez <leonardo@iMac-de-Andrea.local>
Fri, 4 Nov 2016 01:33:33 +0000 (20:33 -0500)
lib/Instances/BaseObjects.i
lib/cpPlugins/Interface/Dirent.h

index 704af337161b628322ccd3ae5517331e2a1b8d4b..45758d7298343500b30df02f1d7325af1fdf6e6a 100644 (file)
@@ -7,6 +7,8 @@ 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
 tinclude itkFixedArray:h|hxx
@@ -27,7 +29,7 @@ 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 >
+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# >
@@ -40,5 +42,6 @@ instances itk::VariableLengthVector< #scalar_pixels# >
 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$
index 5e2c02571af31ee0bd8c644ae6fe6e73fc67a63c..513779f81e91b6ff839008cbc3fdacba4e86dafa 100644 (file)
@@ -30,7 +30,6 @@
 
 // florez-l: use this file in windows environments
 #if defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )
-
 /*
  * Define architecture flags so we don't need to include windows.h.
  * Avoiding windows.h makes it simpler to use windows sockets in conjunction
@@ -841,7 +840,7 @@ dirent_set_errno(
 
 // florez-l: use the standard linux header
 #else // defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )
-#include <dirent.h>
+#  include <dirent.h>
 #endif // defined( WIN32 ) || defined( _WIN32 ) || defined( __WIN32__ )
 
 #endif /*__cpPlugins__dirent__h__*/