Debian Codegraph @

frmts/pcidsk/sdk/pcidsk_rpc.h

raw symbols SCIP
1 /******************************************************************************
2 *
3 * Purpose: Interface representing access to a PCIDSK RPC Segment
4 *
5 ******************************************************************************
6 * Copyright (c) 2009
7 * PCI Geomatics, 90 Allstate Parkway, Markham, Ontario, Canada.
8 *
9 * SPDX-License-Identifier: MIT
10 ****************************************************************************/
11 #ifndef INCLUDE_PCIDSK_PCIDSK_RPC_H
12 #define INCLUDE_PCIDSK_PCIDSK_RPC_Hcxx . . $ `frmts/pcidsk/sdk/pcidsk_rpc.h:12:9`!
13
14 #include <vector>
15 #include <string>
16
17 namespace PCIDSKcxx . . $ PCIDSK/ {
18 //! Interface to PCIDSK RPC segment.
19 class PCIDSKRPCSegmentcxx . . $ PCIDSK/PCIDSKRPCSegment#
20 {
21 public:
22
23 // Get the X and Y RPC coefficients
24 virtual stdcxx . . $ std/::vectorcxx . . $ std/vector#<double> GetXNumeratorcxx . . $ PCIDSK/PCIDSKRPCSegment#GetXNumerator(933de244a6110113).(void) const = 0;
25 virtual stdcxx . . $ std/::vectorcxx . . $ std/vector#<double> GetXDenominatorcxx . . $ PCIDSK/PCIDSKRPCSegment#GetXDenominator(933de244a6110113).(void) const = 0;
26 virtual stdcxx . . $ std/::vectorcxx . . $ std/vector#<double> GetYNumeratorcxx . . $ PCIDSK/PCIDSKRPCSegment#GetYNumerator(933de244a6110113).(void) const = 0;
27 virtual stdcxx . . $ std/::vectorcxx . . $ std/vector#<double> GetYDenominatorcxx . . $ PCIDSK/PCIDSKRPCSegment#GetYDenominator(933de244a6110113).(void) const = 0;
28
29 // Set the X and Y RPC Coefficients
30 virtual void SetCoefficientscxx . . $ PCIDSK/PCIDSKRPCSegment#SetCoefficients(61d696e71ddcbdc4).(const stdcxx . . $ std/::vectorcxx . . $ std/vector#<double>& xnum,
31 const stdcxx . . $ std/::vectorcxx . . $ std/vector#<double>& xdenom, const stdcxx . . $ std/::vectorcxx . . $ std/vector#<double>& ynum,
32 const stdcxx . . $ std/::vectorcxx . . $ std/vector#<double>& ydenom) = 0;
33
34 // Get the RPC offset/scale Coefficients
35 virtual void GetRPCTranslationCoeffscxx . . $ PCIDSK/PCIDSKRPCSegment#GetRPCTranslationCoeffs(802113dfa87e91a9).(double& xoffset, double& xscale,
36 double& yoffset, double& yscale, double& zoffset, double& zscale,
37 double& pixoffset, double& pixscale, double& lineoffset, double& linescale) const = 0;
38
39 // Set the RPC offset/scale Coefficients
40 virtual void SetRPCTranslationCoeffscxx . . $ PCIDSK/PCIDSKRPCSegment#SetRPCTranslationCoeffs(12412eb6568f97c3).(const double xoffset, const double xscale,
41 const double yoffset, const double yscale,
42 const double zoffset, const double zscale,
43 const double pixoffset, const double pixscale,
44 const double lineoffset, const double linescale) = 0;
45
46 // Get the adjusted X values
47 virtual stdcxx . . $ std/::vectorcxx . . $ std/vector#<double> GetAdjXValuescxx . . $ PCIDSK/PCIDSKRPCSegment#GetAdjXValues(933de244a6110113).(void) const = 0;
48 // Get the adjusted Y values
49 virtual stdcxx . . $ std/::vectorcxx . . $ std/vector#<double> GetAdjYValuescxx . . $ PCIDSK/PCIDSKRPCSegment#GetAdjYValues(933de244a6110113).(void) const = 0;
50
51 // Set the adjusted X/Y values
52 virtual void SetAdjCoordValuescxx . . $ PCIDSK/PCIDSKRPCSegment#SetAdjCoordValues(bfa586b0b17a5eaa).(const stdcxx . . $ std/::vectorcxx . . $ std/vector#<double>& xcoord,
53 const stdcxx . . $ std/::vectorcxx . . $ std/vector#<double>& ycoord) = 0;
54
55 // Get whether or not this is a user-generated RPC model
56 virtual bool IsUserGeneratedcxx . . $ PCIDSK/PCIDSKRPCSegment#IsUserGenerated(50ce9a9e25b4a850).(void) const = 0;
57 // Set whether or not this is a user-generated RPC model
58 virtual void SetUserGeneratedcxx . . $ PCIDSK/PCIDSKRPCSegment#SetUserGenerated(b45ddcbc8423892c).(bool usergen) = 0;
59
60 // Get whether the model has been adjusted
61 virtual bool IsNominalModelcxx . . $ PCIDSK/PCIDSKRPCSegment#IsNominalModel(50ce9a9e25b4a850).(void) const = 0;
62 // Set whether the model has been adjusted
63 virtual void SetIsNominalModelcxx . . $ PCIDSK/PCIDSKRPCSegment#SetIsNominalModel(b45ddcbc8423892c).(bool nominal) = 0;
64
65 // Get sensor name
66 virtual stdcxx . . $ std/::stringcxx . . $ std/string# GetSensorNamecxx . . $ PCIDSK/PCIDSKRPCSegment#GetSensorName(219584694fe2b248).(void) const = 0;
67 // Set sensor name
68 virtual void SetSensorNamecxx . . $ PCIDSK/PCIDSKRPCSegment#SetSensorName(9c546c94e5fcce4e).(const stdcxx . . $ std/::stringcxx . . $ std/string#& name) = 0;
69
70 // Output projection information of RPC Model
71 // Get the Geosys String
72 virtual void GetMapUnitscxx . . $ PCIDSK/PCIDSKRPCSegment#GetMapUnits(4e4550eea8c963f2).(stdcxx . . $ std/::stringcxx . . $ std/string#& map_units, stdcxx . . $ std/::stringcxx . . $ std/string#& proj_parms) const = 0;
73 // Set the Geosys string
74 virtual void SetMapUnitscxx . . $ PCIDSK/PCIDSKRPCSegment#SetMapUnits(c3ca1c130ce09c52).(stdcxx . . $ std/::stringcxx . . $ std/string# const& map_units, stdcxx . . $ std/::stringcxx . . $ std/string# const& proj_parms) = 0;
75
76 // Get the number of lines
77 virtual unsigned int GetLinescxx . . $ PCIDSK/PCIDSKRPCSegment#GetLines(ddd8539a2fcdd4ce).(void) const = 0;
78
79 // Get the number of pixels
80 virtual unsigned int GetPixelscxx . . $ PCIDSK/PCIDSKRPCSegment#GetPixels(ddd8539a2fcdd4ce).(void) const = 0;
81
82 // Set the number of lines/pixels
83 virtual void SetRasterSizecxx . . $ PCIDSK/PCIDSKRPCSegment#SetRasterSize(b4d55b1286ff73e8).(const unsigned int lines, const unsigned int pixels) = 0;
84
85 // Set/get the downsample factor
86 virtual void SetDownsamplecxx . . $ PCIDSK/PCIDSKRPCSegment#SetDownsample(cb2f890c2fdad230).(const unsigned int downsample) = 0;
87 virtual unsigned int GetDownsamplecxx . . $ PCIDSK/PCIDSKRPCSegment#GetDownsample(ddd8539a2fcdd4ce).(void) const = 0;
88
89 // TODO: Setting/getting detailed projection params (just GCTP params?)
90
91 // Virtual destructor
92 virtual ~cxx . . $ PCIDSK/PCIDSKRPCSegment#`~PCIDSKRPCSegment`(49f6e7a06ebc5aa8).PCIDSKRPCSegmentcxx . . $ PCIDSK/PCIDSKRPCSegment#();
93 };
94 }
95
96 #endif // INCLUDE_PCIDSK_PCIDSK_RPC_H