Commit e3272cad authored by Cresson Remi's avatar Cresson Remi

REFAC: use otbImageFunctor

parent fc8778f5
......@@ -18,6 +18,7 @@
#include "itkProcessObject.h"
#include "otbStreamingManager.h"
#include "otbLabelImageToVectorDataFilter.h"
#include "itkCommand.h"
namespace otb
{
......
......@@ -124,19 +124,7 @@ protected:
virtual void GenerateData();
VectorDataToLabelImageCustomFilter();
virtual ~VectorDataToLabelImageCustomFilter()
{
// Destroy the geometries stored
for (unsigned int idx = 0; idx < m_SrcDataSetGeometries.size(); ++idx)
{
OGR_G_DestroyGeometry(m_SrcDataSetGeometries[idx]);
}
if (m_OGRDataSourcePointer != NULL)
{
OGRDataSource::DestroyDataSource(m_OGRDataSourcePointer);
}
}
virtual ~VectorDataToLabelImageCustomFilter() override {}
virtual void GenerateOutputInformation();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment