From f1eb54c8db4f52e29b53a330238c3dafea976b15 Mon Sep 17 00:00:00 2001 From: Leonardo Florez-Valencia Date: Fri, 8 Apr 2016 17:43:03 -0500 Subject: [PATCH] ... --- appli/bash/cpPlugins_CreateInstances.cxx | 2 +- .../Visualization/PolyLineParametricPathToPolyData.hxx | 1 + lib/cpPlugins_Instances/Base.i | 2 ++ lib/cpPlugins_Instances/Mesh.i | 7 ++++++- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/appli/bash/cpPlugins_CreateInstances.cxx b/appli/bash/cpPlugins_CreateInstances.cxx index edb8e61..6dccd2b 100644 --- a/appli/bash/cpPlugins_CreateInstances.cxx +++ b/appli/bash/cpPlugins_CreateInstances.cxx @@ -177,7 +177,7 @@ TLines Tokenize( const std::string& str, const std::string& delims ) it = cpPlugins_STRTOK( NULL, delims.c_str( ), &next ); } // elihw - delete buffer; + delete [] buffer; } // fi return( tokens ); diff --git a/lib/cpExtensions/Visualization/PolyLineParametricPathToPolyData.hxx b/lib/cpExtensions/Visualization/PolyLineParametricPathToPolyData.hxx index 1c17463..e3d23c7 100644 --- a/lib/cpExtensions/Visualization/PolyLineParametricPathToPolyData.hxx +++ b/lib/cpExtensions/Visualization/PolyLineParametricPathToPolyData.hxx @@ -1,6 +1,7 @@ #ifndef __CPEXTENSIONS__VISUALIZATION__POLYLINEPARAMETRICPATHTOPOLYDATA__HXX__ #define __CPEXTENSIONS__VISUALIZATION__POLYLINEPARAMETRICPATHTOPOLYDATA__HXX__ +#include #include #include #include diff --git a/lib/cpPlugins_Instances/Base.i b/lib/cpPlugins_Instances/Base.i index 544c58c..bbd88c4 100644 --- a/lib/cpPlugins_Instances/Base.i +++ b/lib/cpPlugins_Instances/Base.i @@ -10,6 +10,7 @@ t itkMatrix.h t itkPoint.h t itkRGBPixel.h t itkRGBAPixel.h +t itkSimpleDataObjectDecorator.h t itkSymmetricEigenAnalysis.h t itkSymmetricSecondRankTensor.h t itkVariableLengthVector.h @@ -34,3 +35,4 @@ c itk::SymmetricSecondRankTensor< #float, #dims > c itk::DiffusionTensor3D< #float > c itk::VectorContainer< unsigned long, itk::Point< #float, #dims > > c itk::BoundingBox< unsigned long, #dims, #float, itk::VectorContainer< unsigned long, itk::Point< #float, #dims > > > +c itk::SimpleDataObjectDecorator< #lin_alg_vectors< #float, #dims > > diff --git a/lib/cpPlugins_Instances/Mesh.i b/lib/cpPlugins_Instances/Mesh.i index 86da8ea..cfd6e44 100644 --- a/lib/cpPlugins_Instances/Mesh.i +++ b/lib/cpPlugins_Instances/Mesh.i @@ -6,12 +6,17 @@ d #float=float;double i set t itkCellInterface.h t itkMesh.h +t itkMeshSource.h t itkPointSet.h t itkBoundingBox.h t itkMapContainer.h t itkVectorContainer.h +t itkLineCell.h +t itkTriangleCell.h +t itkVertexCell.h c itk::CellInterface< #float, itk::CellTraitsInfo< #dims, float, float, unsigned long, unsigned long, unsigned long, itk::Point< float, #dims >, itk::VectorContainer< unsigned long, itk::Point< float, #dims > >, std::set< unsigned long > > > c itk::VectorContainer< unsigned long, itk::CellInterface< #float, itk::CellTraitsInfo< #dims, float, float, unsigned long, unsigned long, unsigned long, itk::Point< float, #dims >, itk::VectorContainer< unsigned long, itk::Point< float, #dims > >, std::set< unsigned long > > >* > +c @{itk::VertexCell;itk::LineCell;itk::TriangleCell}< itk::CellInterface< #float, itk::CellTraitsInfo< #dims, float, float, unsigned long, unsigned long, unsigned long, itk::Point< float, #dims >, itk::VectorContainer< unsigned long, itk::Point< float, #dims > >, std::set< unsigned long > > > > c @{itk::PointSet;itk::Mesh}< #float, #dims > - +c itk::MeshSource< itk::Mesh< #float, #dims > > -- 2.47.1