Skip to content
Snippets Groups Projects
Commit f9fd6994 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

TEST: test printself in instanciation tests

parent 130981cc
Branches
Tags
No related merge requests found
Showing
with 52 additions and 12 deletions
......@@ -36,7 +36,9 @@ int otbAddCarvingPathFilterNew(int argc, char* argv[])
typedef otb::AddCarvingPathFilter<InputImageType, PathType,
OutputImageType> AddCarvingPathFilterType;
AddCarvingPathFilterType::Pointer addCarvingPathFilter = AddCarvingPathFilterType::New();
AddCarvingPathFilterType::Pointer filter = AddCarvingPathFilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -40,5 +40,7 @@ int otbAssociativeSymmetricalSumNew(int argc, char* argv[])
FilterType::Pointer filter = FilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -47,7 +47,9 @@ int otbAssymmetricFusionOfLineDetectorNew(int argc, char * argv[])
typedef otb::AssymmetricFusionOfLineDetectorImageFilter<InputImageType, OutputImageType, OutputImageDirectionType,
InterpolatorType> FilterType;
FilterType::Pointer FilterAssSymSum = FilterType::New();
FilterType::Pointer filter = FilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -27,7 +27,9 @@ int otbBreakAngularPathListFilterNew(int argc, char * argv[])
typedef otb::BreakAngularPathListFilter<PathType> BreakAngularPathListFilterType;
// Instantiating object
BreakAngularPathListFilterType::Pointer object = BreakAngularPathListFilterType::New();
BreakAngularPathListFilterType::Pointer filter = BreakAngularPathListFilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -28,7 +28,9 @@ int otbCloudDetectionFilterNew(int argc, char * argv[])
typedef otb::CloudDetectionFilter<VectorImageType, ImageType> CloudDetectionFilterType;
// Instantiating object
CloudDetectionFilterType::Pointer cloudDetection = CloudDetectionFilterType::New();
CloudDetectionFilterType::Pointer filter = CloudDetectionFilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -28,7 +28,9 @@ int otbCloudEstimatorFilterNew(int argc, char * argv[])
typedef otb::CloudEstimatorFilter<VectorImageType, ImageType> CloudEstimatorFilterType;
// Instantiating object
CloudEstimatorFilterType::Pointer cloudEstimator = CloudEstimatorFilterType::New();
CloudEstimatorFilterType::Pointer filter = CloudEstimatorFilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -34,5 +34,7 @@ int otbCompacityPathNew(int argc, char * argv[])
FunctionType::Pointer function = FunctionType::New();
std::cout << function << std::endl;
return EXIT_SUCCESS;
}
......@@ -33,5 +33,7 @@ int otbComplexMomentPathNew(int argc, char * argv[])
CMType::Pointer function = CMType::New();
std::cout << function << std::endl;
return EXIT_SUCCESS;
}
......@@ -42,5 +42,7 @@ int otbExtractSegmentsNew(int argc, char * argv[])
FilterType::Pointer filter = FilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -26,7 +26,9 @@
int otbFillGapsFilterNew(int argc, char * argv[])
{
typedef otb::FillGapsFilter FillGapsFilterType;
FillGapsFilterType::Pointer fillgaps = FillGapsFilterType::New();
FillGapsFilterType::Pointer filter = FillGapsFilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -32,5 +32,7 @@ int otbFlusserPathNew(int argc, char * argv[])
FunctionType::Pointer function = FunctionType::New();
std::cout << function << std::endl;
return EXIT_SUCCESS;
}
......@@ -37,7 +37,9 @@ int otbFourierMellinImageFilterNew(int argc, char* argv[])
typedef otb::ForwardFourierMellinTransformImageFilter<PixelType,
InterpolatorType, Dimension> FourierMellinTransformType;
FourierMellinTransformType::Pointer fourierMellinTransform = FourierMellinTransformType::New();
FourierMellinTransformType::Pointer filter = FourierMellinTransformType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -29,5 +29,7 @@ int otbGreyLevelCooccurrenceMatrixAdvancedTextureCoefficientsCalculatorNew(int a
FilterType::Pointer filter = FilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -33,5 +33,7 @@ int otbHuPathNew(int argc, char * argv[])
FunctionType::Pointer function = FunctionType::New();
std::cout << function << std::endl;
return EXIT_SUCCESS;
}
......@@ -31,7 +31,9 @@ int otbImageFittingPolygonListFilterNew(int argc, char * argv[])
typedef otb::ImageFittingPolygonListFilter<PolygonType, ImageType> FittingPolygonType;
// Instantiating object
FittingPolygonType::Pointer fittingPolygon = FittingPolygonType::New();
FittingPolygonType::Pointer filter = FittingPolygonType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -35,7 +35,9 @@ int otbImageToCarvingPathFilterNew(int argc, char* argv[])
typedef otb::ImageToCarvingPathFilter<InputImageType, PathType> ImageToCarvingPathFilterType;
ImageToCarvingPathFilterType::Pointer addCarvingPathFilter = ImageToCarvingPathFilterType::New();
ImageToCarvingPathFilterType::Pointer filter = ImageToCarvingPathFilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -29,7 +29,9 @@ int otbImageToEdgePathFilterNew(int argc, char * argv[])
typedef otb::ImageToEdgePathFilter<ImageType, PathType> ImageToEdgePathFilterType;
ImageToEdgePathFilterType::Pointer pathFilter = ImageToEdgePathFilterType::New();
ImageToEdgePathFilterType::Pointer filter = ImageToEdgePathFilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -31,7 +31,9 @@ int otbImageToFastSIFTKeyPointSetFilterNew(int argc, char * argv[])
typedef otb::SiftFastImageFilter<ImageType, PointSetType> ImageToFastSIFTKeyPointSetFilterType;
// Instantiating object
ImageToFastSIFTKeyPointSetFilterType::Pointer object = ImageToFastSIFTKeyPointSetFilterType::New();
ImageToFastSIFTKeyPointSetFilterType::Pointer filter = ImageToFastSIFTKeyPointSetFilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -28,7 +28,9 @@ int otbImageToHessianDeterminantImageFilterNew(int argc, char * argv[])
typedef otb::ImageToHessianDeterminantImageFilter<ImageType, ImageType> FilterType;
// Instantiating object
FilterType::Pointer object = FilterType::New();
FilterType::Pointer filter = FilterType::New();
std::cout << filter << std::endl;
return EXIT_SUCCESS;
}
......@@ -31,5 +31,7 @@ int otbImageToLineSegmentVectorDataNew(int argc, char * argv[])
PersistentLSDFilterType::Pointer lsdFilter = PersistentLSDFilterType::New();
std::cout << lsdFilter << std::endl;
return EXIT_SUCCESS;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment