Debian Codegraph @

apps/gdalalg_raster_pansharpen.h

raw symbols SCIP
1 /******************************************************************************
2 *
3 * Project: GDAL
4 * Purpose: "pansharpen" step of "raster pipeline"
5 * Author: Even Rouault <even dot rouault at spatialys.com>
6 *
7 ******************************************************************************
8 * Copyright (c) 2025, Even Rouault <even dot rouault at spatialys.com>
9 *
10 * SPDX-License-Identifier: MIT
11 ****************************************************************************/
12
13 #ifndef GDALALG_RASTER_PANSHARPEN_INCLUDED
14 #define GDALALG_RASTER_PANSHARPEN_INCLUDEDcxx . . $ `apps/gdalalg_raster_pansharpen.h:14:9`!
15
16 #include "gdalalg_raster_pipeline.h"cxx . . $ `<file>/apps/gdalalg_raster_pipeline.h`/
17
18 //! @cond Doxygen_Suppress
19
20 /************************************************************************/
21 /* GDALRasterPansharpenAlgorithm */
22 /************************************************************************/
23
24 class GDALRasterPansharpenAlgorithmcxx . . $ GDALRasterPansharpenAlgorithm# /* non final */
25 : public GDALRasterPipelineStepAlgorithmcxx . . $ GDALRasterPipelineStepAlgorithm#
26 {
27 public:
28 static constexpr const char *NAMEcxx . . $ GDALRasterPansharpenAlgorithm#NAME. = "pansharpen";
29 static constexpr const char *DESCRIPTIONcxx . . $ GDALRasterPansharpenAlgorithm#DESCRIPTION. =
30 "Perform a pansharpen operation.";
31 static constexpr const char *HELP_URLcxx . . $ GDALRasterPansharpenAlgorithm#HELP_URL. =
32 "/programs/gdal_raster_pansharpen.html";
33
34 explicit GDALRasterPansharpenAlgorithmcxx . . $ GDALRasterPansharpenAlgorithm#GDALRasterPansharpenAlgorithm(b45ddcbc8423892c).(bool standaloneStep = false);
35
36 private:
37 static ConstructorOptionscxx . . $ GDALPipelineStepAlgorithm#ConstructorOptions# GetConstructorOptionscxx . . $ GDALRasterPansharpenAlgorithm#GetConstructorOptions(e060065ba62a8acb).(bool standaloneStep);
38 bool RunStepcxx . . $ GDALRasterPansharpenAlgorithm#RunStep(f551efd8892e175).(GDALPipelineStepRunContextcxx . . $ GDALPipelineStepRunContext# &ctxt) override;
39
40 stdcxx . . $ std/::vector<GDALArgDatasetValuecxx . . $ GDALArgDatasetValue#> m_spectralDatasetscxx . . $ GDALRasterPansharpenAlgorithm#m_spectralDatasets.{};
41 stdcxx . . $ std/::string m_resamplingcxx . . $ GDALRasterPansharpenAlgorithm#m_resampling. = "cubic";
42 stdcxx . . $ std/::vector<double> m_weightscxx . . $ GDALRasterPansharpenAlgorithm#m_weights.{};
43 double m_nodatacxx . . $ GDALRasterPansharpenAlgorithm#m_nodata. = 0;
44 stdcxx . . $ std/::string m_spatialExtentAdjustmentcxx . . $ GDALRasterPansharpenAlgorithm#m_spatialExtentAdjustment. = "union";
45 int m_bitDepthcxx . . $ GDALRasterPansharpenAlgorithm#m_bitDepth. = 0;
46 int m_numThreadscxx . . $ GDALRasterPansharpenAlgorithm#m_numThreads. = 0;
47
48 // Work variables
49 stdcxx . . $ std/::string m_numThreadsStrcxx . . $ GDALRasterPansharpenAlgorithm#m_numThreadsStr.{"ALL_CPUS"};
50 };
51
52 /************************************************************************/
53 /* GDALRasterPansharpenAlgorithmStandalone */
54 /************************************************************************/
55
56 class GDALRasterPansharpenAlgorithmStandalonecxx . . $ GDALRasterPansharpenAlgorithmStandalone# final
57 : public GDALRasterPansharpenAlgorithmcxx . . $ GDALRasterPansharpenAlgorithm#
58 {
59 public:
60 GDALRasterPansharpenAlgorithmStandalonecxx . . $ GDALRasterPansharpenAlgorithmStandalone#GDALRasterPansharpenAlgorithmStandalone(49f6e7a06ebc5aa8).()
61 : GDALRasterPansharpenAlgorithmcxx . . $ GDALRasterPansharpenAlgorithm#(/* standaloneStep = */ true)
62 {
63 }
64
65 ~cxx . . $ GDALRasterPansharpenAlgorithmStandalone#`~GDALRasterPansharpenAlgorithmStandalone`(ced63f7c635d850d).GDALRasterPansharpenAlgorithmStandalonecxx . . $ GDALRasterPansharpenAlgorithmStandalone#() override;
66 };
67
68 //! @endcond
69
70 #endif /* GDALALG_RASTER_PANSHARPEN_INCLUDED */