Commit 433134a1 authored by Julien Michel's avatar Julien Michel
Browse files

Ajout de la structure de base pour le wrapping de l'otb. Les filtres itk sont...

Ajout de la structure de base pour le wrapping de l'otb. Les filtres itk sont disponibles avec les image otb, les IO otbs ainsi que la visu est disponible. Testé avec python.
Modification du otbTestMain.h pour support d'un nouveau type de pointeur.
Corrections dans le code d'erreurs repérées grace aux wrapping.
parent fb2c033e
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkPDEDeformableRegistrationFilter.cxx,v $
Language: C++
Date: $Date: 2005/04/01 16:30:14 $
Version: $Revision: 1.3 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkPDEDeformableRegistrationFilter.h"
#include "itkVector.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkPDEDeformableRegistrationFilter);
namespace wrappers
{
ITK_WRAP_OBJECT3(PDEDeformableRegistrationFilter, image::F2, image::F2, image::VF2,
itkPDEDeformableRegistrationFilterF2F2);
ITK_WRAP_OBJECT3(PDEDeformableRegistrationFilter, image::F3, image::F3, image::VF3,
itkPDEDeformableRegistrationFilterF3F3);
ITK_WRAP_OBJECT3(PDEDeformableRegistrationFilter, image::US2, image::US2, image::VF2,
itkPDEDeformableRegistrationFilterUS2US2);
ITK_WRAP_OBJECT3(PDEDeformableRegistrationFilter, image::US3, image::US3, image::VF3,
itkPDEDeformableRegistrationFilterUS3US3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkRecursiveMultiResolutionPyramidImageFilter.cxx,v $
Language: C++
Date: $Date: 2003/11/06 22:24:13 $
Version: $Revision: 1.2 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkRecursiveMultiResolutionPyramidImageFilter.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkRecursiveMultiResolutionPyramidImageFilter);
namespace wrappers
{
ITK_WRAP_OBJECT2_WITH_SUPERCLASS(RecursiveMultiResolutionPyramidImageFilter, image::F2, image::F2,
itkRecursiveMultiResolutionPyramidImageFilterF2F2);
ITK_WRAP_OBJECT2_WITH_SUPERCLASS(RecursiveMultiResolutionPyramidImageFilter, image::F3, image::F3,
itkRecursiveMultiResolutionPyramidImageFilterF3F3);
ITK_WRAP_OBJECT2_WITH_SUPERCLASS(RecursiveMultiResolutionPyramidImageFilter, image::US2, image::US2,
itkRecursiveMultiResolutionPyramidImageFilterUS2US2);
ITK_WRAP_OBJECT2_WITH_SUPERCLASS(RecursiveMultiResolutionPyramidImageFilter, image::US3, image::US3,
itkRecursiveMultiResolutionPyramidImageFilterUS3US3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkSegmentationLevelSetImageFilter.cxx,v $
Language: C++
Date: $Date: 2005/01/20 15:19:57 $
Version: $Revision: 1.1 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkShapeDetectionLevelSetImageFilter.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkSegmentationLevelSetImageFilter);
namespace wrappers
{
ITK_WRAP_OBJECT2(SegmentationLevelSetImageFilter, image::F2, image::F2,
itkSegmentationLevelSetImageFilterF2F2);
ITK_WRAP_OBJECT2(SegmentationLevelSetImageFilter, image::F3, image::F3,
itkSegmentationLevelSetImageFilterF3F3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkShapeDetectionLevelSetImageFilter.cxx,v $
Language: C++
Date: $Date: 2005/01/19 16:45:43 $
Version: $Revision: 1.4 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkShapeDetectionLevelSetImageFilter.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkShapeDetectionLevelSetImageFilter);
namespace wrappers
{
ITK_WRAP_OBJECT2(ShapeDetectionLevelSetImageFilter, image::F2, image::F2,
itkShapeDetectionLevelSetImageFilterF2F2);
ITK_WRAP_OBJECT2(ShapeDetectionLevelSetImageFilter, image::F3, image::F3,
itkShapeDetectionLevelSetImageFilterF3F3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkSparseFieldLevelSetImageFilter.cxx,v $
Language: C++
Date: $Date: 2005/01/25 16:40:03 $
Version: $Revision: 1.2 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkSparseFieldLevelSetImageFilter.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkSparseFieldLevelSetImageFilter);
namespace wrappers
{
ITK_WRAP_OBJECT2(SparseFieldLevelSetImageFilter,image::F2,image::F2,
itkSparseFieldLevelSetImageFilterF2F2);
ITK_WRAP_OBJECT2(SparseFieldLevelSetImageFilter,image::F3,image::F3,
itkSparseFieldLevelSetImageFilterF3F3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkSymmetricForcesDemonsRegistrationFilter.cxx,v $
Language: C++
Date: $Date: 2005/06/03 08:37:35 $
Version: $Revision: 1.1 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkSymmetricForcesDemonsRegistrationFilter.h"
#include "itkVector.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkSymmetricForcesDemonsRegistrationFilter);
namespace wrappers
{
ITK_WRAP_OBJECT3(SymmetricForcesDemonsRegistrationFilter, image::F2, image::F2, image::VF2,
itkSymmetricForcesDemonsRegistrationFilterF2F2);
ITK_WRAP_OBJECT3(SymmetricForcesDemonsRegistrationFilter, image::F3, image::F3, image::VF3,
itkSymmetricForcesDemonsRegistrationFilterF3F3);
ITK_WRAP_OBJECT3(SymmetricForcesDemonsRegistrationFilter, image::US2, image::US2, image::VF2,
itkSymmetricForcesDemonsRegistrationFilterUS2US2);
ITK_WRAP_OBJECT3(SymmetricForcesDemonsRegistrationFilter, image::US3, image::US3, image::VF3,
itkSymmetricForcesDemonsRegistrationFilterUS3US3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkThresholdSegmentationLevelSetImageFilter.cxx,v $
Language: C++
Date: $Date: 2005/01/26 17:15:22 $
Version: $Revision: 1.5 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkThresholdSegmentationLevelSetImageFilter.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkThresholdSegmentationLevelSetImageFilter);
namespace wrappers
{
ITK_WRAP_OBJECT2(ThresholdSegmentationLevelSetImageFilter, image::F3, image::F3,
itkThresholdSegmentationLevelSetImageFilterF3F3);
ITK_WRAP_OBJECT2(ThresholdSegmentationLevelSetImageFilter, image::F2, image::F2,
itkThresholdSegmentationLevelSetImageFilterF2F2);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkTreeNode.cxx,v $
Language: C++
Date: $Date: 2005/01/20 15:19:57 $
Version: $Revision: 1.1 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkHistogramMatchingImageFilter.h"
#include "itkSpatialObject.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace itkso
{
typedef itk::SpatialObject<2> SO2;
typedef itk::SpatialObject<3> SO3;
}
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkTreeNode);
namespace wrappers
{
ITK_WRAP_OBJECT1(TreeNode,itkso::SO2 *,itkSOTreeNodeSO2);
ITK_WRAP_OBJECT1(TreeNode,itkso::SO3 *,itkSOTreeNodeSO3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkTreeNodeSO.cxx,v $
Language: C++
Date: $Date: 2005/01/14 15:27:23 $
Version: $Revision: 1.1 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkTreeNode.h"
#include "itkSpatialObject.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkTreeNodeSO);
namespace wrappers
{
ITK_WRAP_OBJECT1(TreeNode, itk::SpatialObject<2>*,itkTreeNodeSO2);
ITK_WRAP_OBJECT1(TreeNode, itk::SpatialObject<3>*,itkTreeNodeSO3);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkVoronoiSegmentationImageFilter.cxx,v $
Language: C++
Date: $Date: 2005/01/13 18:37:50 $
Version: $Revision: 1.2 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkVoronoiSegmentationImageFilter.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace itktraits
{
typedef itk::DefaultDynamicMeshTraits<double,2,2,double,float,double>
dynamicMeshTraitDouble;
}
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkVoronoiSegmentationImageFilter);
namespace wrappers
{
ITK_WRAP_OBJECT3(PointSet,double,2,itktraits::dynamicMeshTraitDouble,itkPointSetDouble);
ITK_WRAP_OBJECT3(Mesh,double,2,itktraits::dynamicMeshTraitDouble,itkMeshDouble);
ITK_WRAP_OBJECT3(VoronoiSegmentationImageFilterBase,
image::UC2, image::UC2, image::UC2,
itkVoronoiSegmentationImageFilterBaseUC2UC2UC2);
ITK_WRAP_OBJECT3(VoronoiSegmentationImageFilter, image::UC2, image::UC2, image::UC2,
itkVoronoiSegmentationImageFilterUC2UC2UC2);
}
}
#endif
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile: wrap_itkWatershedImageFilter.cxx,v $
Language: C++
Date: $Date: 2004/03/26 12:57:10 $
Version: $Revision: 1.1 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "otbImage.h"
#include "itkWatershedImageFilter.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"
#include "itkCSwigImages.h"
namespace _cable_
{
const char* const group = ITK_WRAP_GROUP(itkWatershedImageFilter);
namespace wrappers
{
ITK_WRAP_OBJECT1(WatershedImageFilter, image::F2, itkWatershedImageFilterF2);
ITK_WRAP_OBJECT1(WatershedImageFilter, image::F3, itkWatershedImageFilterF3);
ITK_WRAP_OBJECT1(WatershedImageFilter, image::D2, itkWatershedImageFilterD2);
ITK_WRAP_OBJECT1(WatershedImageFilter, image::D3, itkWatershedImageFilterD3);
}
}
#endif
# create the ITKBasicFiltersTcl libraries
SET(WRAP_SOURCES
wrap_itkAnisotropicDiffusionImageFilter_2D
wrap_itkAnisotropicDiffusionImageFilter_3D
wrap_itkBinaryThresholdImageFilter
wrap_itkBinaryDilateImageFilter
wrap_itkBinaryErodeImageFilter
wrap_itkCannyEdgeDetectionImageFilter
wrap_itkCastImageFilter_2D
wrap_itkCastImageFilter_3D
wrap_itkConfidenceConnectedImageFilter
wrap_itkChangeInformationImageFilter
wrap_itkConnectedThresholdImageFilter
wrap_itkCurvatureAnisotropicDiffusionImageFilter
wrap_itkExtractImageFilter
wrap_itkFastMarchingImageFilter
wrap_itkFlipImageFilter
wrap_itkGradientAnisotropicDiffusionImageFilter
wrap_itkGradientMagnitudeImageFilter
wrap_itkGrayscaleDilateImageFilter
wrap_itkGrayscaleErodeImageFilter
wrap_itkDanielssonDistanceMapImageFilter
wrap_itkIsolatedConnectedImageFilter
wrap_itkImportImageFilter
wrap_itkLaplacianImageFilter
wrap_itkMinimumMaximumImageCalculator
wrap_itkMorphologyImageFilter
wrap_itkNeighborhoodConnectedImageFilter
wrap_itkSobelEdgeDetectionImageFilter
wrap_itkTernaryMagnitudeImageFilter
)
SET(MASTER_INDEX_FILES "${WrapOTB_BINARY_DIR}/VXLNumerics/VXLNumerics.mdx"
"${WrapOTB_BINARY_DIR}/Numerics/ITKNumerics.mdx"
"${WrapOTB_BINARY_DIR}/CommonA/ITKCommonA.mdx"
"${WrapOTB_BINARY_DIR}/CommonB/ITKCommonB.mdx"
"${WrapOTB_BINARY_DIR}/BasicFiltersA/ITKBasicFiltersA.mdx"
)
ITK_WRAP_LIBRARY("${WRAP_SOURCES}" ITKBasicFiltersA BasicFiltersA "ITKNumerics;ITKCommonB;ITKCommonA" "" "ITKBasicFilters")
/.NoDartCoverage/1.1/Sat Sep 25 17:38:20 2004//TITK-3-0-1
/CMakeLists.txt/1.6/Mon Nov 21 19:18:44 2005//TITK-3-0-1
/MakeConsistentWrappedClasses.sh/1.2/Wed Nov 2 21:45:13 2005//TITK-3-0-1
/wrap_ITKBasicFiltersA.cxx/1.4/Mon Nov 21 19:18:44 2005//TITK-3-0-1
/wrap_ITKBasicFiltersAJava.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_ITKBasicFiltersAPython.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_ITKBasicFiltersATcl.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkAnisotropicDiffusionImageFilter_2D.cxx/1.2/Thu Nov 3 13:45:42 2005//TITK-3-0-1
/wrap_itkAnisotropicDiffusionImageFilter_3D.cxx/1.2/Thu Nov 3 13:45:42 2005//TITK-3-0-1
/wrap_itkBinaryDilateImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkBinaryErodeImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkBinaryThresholdImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkCannyEdgeDetectionImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkCastImageFilter_2D.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkCastImageFilter_3D.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkChangeInformationImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkConfidenceConnectedImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkConnectedThresholdImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkCurvatureAnisotropicDiffusionImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkDanielssonDistanceMapImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkExtractImageFilter.cxx/1.2/Thu Apr 29 20:39:13 2004//TITK-3-0-1
/wrap_itkFastMarchingImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkFlipImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkGradientAnisotropicDiffusionImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkGradientMagnitudeImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkGrayscaleDilateImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkGrayscaleErodeImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkImportImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkIsolatedConnectedImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkLaplacianImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkMinimumMaximumImageCalculator.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkMorphologyImageFilter.cxx/1.1/Mon Nov 21 19:18:12 2005//TITK-3-0-1
/wrap_itkNeighborhoodConnectedImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkSobelEdgeDetectionImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
/wrap_itkTernaryMagnitudeImageFilter.cxx/1.1/Mon Apr 19 18:50:54 2004//TITK-3-0-1
D
Insight/Wrapping/CSwig/BasicFiltersA
:pserver:anonymous@www.itk.org:/cvsroot/Insight
CVS: ----------------------------------------------------------------------
CVS: CVS Commits to CMake/ITK/ParaView/VTK require commit type in the
CVS: comment. Valid commit types are:
CVS:
CVS: BUG: - a change made to fix a runtime issue
CVS: (crash, segmentation fault, exception, or incorrect result,
CVS: COMP: - a fix for a compilation issue, error or warning,
CVS: ENH: - new functionality added to the project,
CVS: PERF: - a performance improvement,
CVS: STYLE: - a change that does not impact the logic or execution of the
CVS: code. (improve coding style, comments, documentation).
CVS:
CVS: The cvs command to commit the change is:
CVS:
CVS: cvs commit -m "BUG: fixed core dump when passed float data" filename
CVS:
CVS: you can also use the syntax below which omits the -m flag. In this
CVS: case cvs will start up an editor for you to enter a comment on why you
CVS: made the change.
CVS:
CVS: cvs commit filename
CVS: ----------------------------------------------------------------------
#!/bin/bash
#This is a utilty script that is useful for generating a consistent set
#of wrapping definitions. In an attempt to make the interpreted environment
#match the compiled environment as much as possible, it will be important
#to keep all the wrapped functionallity consistent across filters.
#
Prefix=wrap_itk
Postfix=.cxx
MAKE_ALL_FILTER_TYPES="MedianImageFilter NeighborhoodConnectedImageFilter IsolatedConnectedImageFilter GradientMagnitudeImageFilter FastMarchingImageFilter RegionOfInterestImageFilter"
MAKE_ONLY_FLOAT_TYPES=""
for WRAP_OBJECT2_TARGET in ${MAKE_ALL_FILTER_TYPES}; do
CURRFILE=${Prefix}${WRAP_OBJECT2_TARGET}${Postfix}
DATESTAMP=`date '+%F-%R'`
mv ${CURRFILE} ${CURRFILE}.${DATESTAMP}
echo "Building ${CURRFILE}"
cat > ${CURRFILE} << FILE_EOF
/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: \$RCSfile: MakeConsistentWrappedClasses.sh,v ${WRAP_OBJECT2_TARGET}.cxx,v \$
Language: C++
Date: \$Date: 2005/11/02 21:45:13 $
Version: \$Revision: 1.2 $
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#include "itkImage.h"
#include "itk${WRAP_OBJECT2_TARGET}.h"
#ifdef CABLE_CONFIGURATION
#include "itkCSwigMacros.h"