diff --git a/Modules/Wrappers/ApplicationEngine/src/CMakeLists.txt b/Modules/Wrappers/ApplicationEngine/src/CMakeLists.txt index 45d0427a4910b17dba0d51cbbce91ebc67492940..db3f434b5fe07edbf82b715fc60b89d6134b9753 100644 --- a/Modules/Wrappers/ApplicationEngine/src/CMakeLists.txt +++ b/Modules/Wrappers/ApplicationEngine/src/CMakeLists.txt @@ -31,6 +31,17 @@ set( OTBApplicationEngine_SRC otbWrapperInputFilenameListParameter.cxx otbWrapperOutputImageParameter.cxx otbWrapperInputImageParameter.cxx + otbWrapperInputImageParameterUInt8.cxx + otbWrapperInputImageParameterUInt16.cxx + otbWrapperInputImageParameterUInt32.cxx + otbWrapperInputImageParameterInt16.cxx + otbWrapperInputImageParameterInt32.cxx + otbWrapperInputImageParameterCInt16.cxx + otbWrapperInputImageParameterCInt32.cxx + otbWrapperInputImageParameterCFloat.cxx + otbWrapperInputImageParameterCDouble.cxx + otbWrapperInputImageParameterFloat.cxx + otbWrapperInputImageParameterDouble.cxx otbWrapperParameterKey.cxx otbWrapperDocExampleStructure.cxx otbWrapperInputVectorDataParameter.cxx diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameter.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameter.cxx index fe226ef2ffbd7ccb6f588e3926642181c31819ea..96b315b050c76e22a9dd89060777e1d4dede5363 100644 --- a/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameter.cxx +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameter.cxx @@ -70,18 +70,6 @@ InputImageParameter::GetImage() otbGetImageMacro(UInt8RGBImage); otbGetImageMacro(UInt8RGBAImage); -otbGetImageAndVectorImageMacro(UInt8); -otbGetImageAndVectorImageMacro(UInt16); -otbGetImageAndVectorImageMacro(UInt32); -otbGetImageAndVectorImageMacro(Int16); -otbGetImageAndVectorImageMacro(Int32); -otbGetImageAndVectorImageMacro(Float); -otbGetImageAndVectorImageMacro(Double); -otbGetImageAndVectorImageMacro(ComplexInt16); -otbGetImageAndVectorImageMacro(ComplexInt32); -otbGetImageAndVectorImageMacro(ComplexFloat); -otbGetImageAndVectorImageMacro(ComplexDouble); - void InputImageParameter::SetImage(FloatVectorImageType* image) diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterCDouble.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterCDouble.cxx new file mode 100644 index 0000000000000000000000000000000000000000..0ab35a7de970a5fb938ef3e62ad7b64cf5fd8a58 --- /dev/null +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterCDouble.cxx @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) + * + * This file is part of Orfeo Toolbox + * + * https://www.orfeo-toolbox.org/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "otbWrapperInputImageParameter.h" +#include "otbWrapperInputImageParameterMacros.h" +#include "itksys/SystemTools.hxx" +#include "otbWrapperTypes.h" +#include "otb_boost_string_header.h" + +namespace otb +{ +namespace Wrapper +{ +otbGetImageAndVectorImageMacro(ComplexDouble); +} +} diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterCFloat.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterCFloat.cxx new file mode 100644 index 0000000000000000000000000000000000000000..454b8abb56bdb28df1a7c471be3d2634ec42ff20 --- /dev/null +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterCFloat.cxx @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) + * + * This file is part of Orfeo Toolbox + * + * https://www.orfeo-toolbox.org/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "otbWrapperInputImageParameter.h" +#include "otbWrapperInputImageParameterMacros.h" +#include "itksys/SystemTools.hxx" +#include "otbWrapperTypes.h" +#include "otb_boost_string_header.h" + +namespace otb +{ +namespace Wrapper +{ +otbGetImageAndVectorImageMacro(ComplexFloat); +} +} diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterCInt16.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterCInt16.cxx new file mode 100644 index 0000000000000000000000000000000000000000..c6de185a12e3084492c45bc343a2732eab164835 --- /dev/null +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterCInt16.cxx @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) + * + * This file is part of Orfeo Toolbox + * + * https://www.orfeo-toolbox.org/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "otbWrapperInputImageParameter.h" +#include "otbWrapperInputImageParameterMacros.h" +#include "itksys/SystemTools.hxx" +#include "otbWrapperTypes.h" +#include "otb_boost_string_header.h" + +namespace otb +{ +namespace Wrapper +{ +otbGetImageAndVectorImageMacro(ComplexInt16); +} +} \ No newline at end of file diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterCInt32.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterCInt32.cxx new file mode 100644 index 0000000000000000000000000000000000000000..d6cbab06f193a587d0a7e2a70115aaaa6b77a781 --- /dev/null +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterCInt32.cxx @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) + * + * This file is part of Orfeo Toolbox + * + * https://www.orfeo-toolbox.org/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "otbWrapperInputImageParameter.h" +#include "otbWrapperInputImageParameterMacros.h" +#include "itksys/SystemTools.hxx" +#include "otbWrapperTypes.h" +#include "otb_boost_string_header.h" + +namespace otb +{ +namespace Wrapper +{ +otbGetImageAndVectorImageMacro(ComplexInt32); +} +} diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterDouble.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterDouble.cxx new file mode 100644 index 0000000000000000000000000000000000000000..b3b6ec7d51b69c9efc5130fb7782921ba4164356 --- /dev/null +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterDouble.cxx @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) + * + * This file is part of Orfeo Toolbox + * + * https://www.orfeo-toolbox.org/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "otbWrapperInputImageParameter.h" +#include "otbWrapperInputImageParameterMacros.h" +#include "itksys/SystemTools.hxx" +#include "otbWrapperTypes.h" +#include "otb_boost_string_header.h" + +namespace otb +{ +namespace Wrapper +{ +otbGetImageAndVectorImageMacro(Double); +} +} diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterFloat.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterFloat.cxx new file mode 100644 index 0000000000000000000000000000000000000000..77dab9138751f2446107b7a4d7c28a18218d7c1b --- /dev/null +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterFloat.cxx @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) + * + * This file is part of Orfeo Toolbox + * + * https://www.orfeo-toolbox.org/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "otbWrapperInputImageParameter.h" +#include "otbWrapperInputImageParameterMacros.h" +#include "itksys/SystemTools.hxx" +#include "otbWrapperTypes.h" +#include "otb_boost_string_header.h" + +namespace otb +{ +namespace Wrapper +{ +otbGetImageAndVectorImageMacro(Float); +} +} diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterInt16.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterInt16.cxx new file mode 100644 index 0000000000000000000000000000000000000000..4b645f1560c2f936cd90129bae87509e3696a682 --- /dev/null +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterInt16.cxx @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) + * + * This file is part of Orfeo Toolbox + * + * https://www.orfeo-toolbox.org/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "otbWrapperInputImageParameter.h" +#include "otbWrapperInputImageParameterMacros.h" +#include "itksys/SystemTools.hxx" +#include "otbWrapperTypes.h" +#include "otb_boost_string_header.h" + +namespace otb +{ +namespace Wrapper +{ +otbGetImageAndVectorImageMacro(Int16); +} +} diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterInt32.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterInt32.cxx new file mode 100644 index 0000000000000000000000000000000000000000..66b6e3fa898d627ac20846d29e86e90b7b53ee3c --- /dev/null +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterInt32.cxx @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) + * + * This file is part of Orfeo Toolbox + * + * https://www.orfeo-toolbox.org/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "otbWrapperInputImageParameter.h" +#include "otbWrapperInputImageParameterMacros.h" +#include "itksys/SystemTools.hxx" +#include "otbWrapperTypes.h" +#include "otb_boost_string_header.h" + +namespace otb +{ +namespace Wrapper +{ +otbGetImageAndVectorImageMacro(Int32); +} +} diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterUInt16.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterUInt16.cxx new file mode 100644 index 0000000000000000000000000000000000000000..89dcd5b648098212dca71353eefcbbbe23300503 --- /dev/null +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterUInt16.cxx @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) + * + * This file is part of Orfeo Toolbox + * + * https://www.orfeo-toolbox.org/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "otbWrapperInputImageParameter.h" +#include "otbWrapperInputImageParameterMacros.h" +#include "itksys/SystemTools.hxx" +#include "otbWrapperTypes.h" +#include "otb_boost_string_header.h" + +namespace otb +{ +namespace Wrapper +{ +otbGetImageAndVectorImageMacro(UInt16); +} +} diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterUInt32.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterUInt32.cxx new file mode 100644 index 0000000000000000000000000000000000000000..2df611b114fe57aff2afc0f9c7015c75e01352e1 --- /dev/null +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterUInt32.cxx @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) + * + * This file is part of Orfeo Toolbox + * + * https://www.orfeo-toolbox.org/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "otbWrapperInputImageParameter.h" +#include "otbWrapperInputImageParameterMacros.h" +#include "itksys/SystemTools.hxx" +#include "otbWrapperTypes.h" +#include "otb_boost_string_header.h" + +namespace otb +{ +namespace Wrapper +{ +otbGetImageAndVectorImageMacro(UInt32); +} +} diff --git a/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterUInt8.cxx b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterUInt8.cxx new file mode 100644 index 0000000000000000000000000000000000000000..9f1c38e815867b4e0eba78937e49696875bcbc95 --- /dev/null +++ b/Modules/Wrappers/ApplicationEngine/src/otbWrapperInputImageParameterUInt8.cxx @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) + * + * This file is part of Orfeo Toolbox + * + * https://www.orfeo-toolbox.org/ + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "otbWrapperInputImageParameter.h" +#include "otbWrapperInputImageParameterMacros.h" +#include "itksys/SystemTools.hxx" +#include "otbWrapperTypes.h" +#include "otb_boost_string_header.h" + +namespace otb +{ +namespace Wrapper +{ +otbGetImageAndVectorImageMacro(UInt8); +} +}