isce3 0.25.0
Loading...
Searching...
No Matches
Topo.icc
1//-*- C++ -*-
2//-*- coding: utf-8 -*-
3//
4// Author: Bryan V. Riel
5// Copyright 2017-2018
6
7#if !defined(ISCE_GEOMETRY_TOPO_ICC)
8#error "Topo.icc is an implementation detail of class Topo"
9#endif
10
11#include <isce3/core/Projections.h>
12
13inline
19:
20 _orbit(orbit),
21 _ellipsoid(ellipsoid),
22 _doppler(doppler),
23 _radarGrid(radarGrid)
24{
25
26 // Adjust block length based on input length of the radarGrid
27 _linesPerBlock = std::min(_radarGrid.length(), _linesPerBlock);
28}
29
30inline
34:
35 _orbit(orbit),
36 _ellipsoid(ellipsoid),
37 _doppler(doppler),
38 _radarGrid(meta, orbit.referenceEpoch())
39{
40 // Adjust block length based in input SLC length
41 _linesPerBlock = std::min(_radarGrid.length(), _linesPerBlock);
42}
43
44inline
46demMethod(isce3::core::dataInterpMethod method)
47{
48 // Check validity
49 if ((method != isce3::core::SINC_METHOD) && (method != isce3::core::BILINEAR_METHOD) &&
50 (method != isce3::core::BICUBIC_METHOD) && (method != isce3::core::NEAREST_METHOD) &&
51 (method != isce3::core::BIQUINTIC_METHOD)) {
52 pyre::journal::error_t error("isce.geometry.Topo");
53 error
54 << pyre::journal::at(__HERE__)
55 << "Error in Topo::demMethod - Unsupported DEM interpolation method"
56 << pyre::journal::endl;
57 }
58
59 // Save
60 _demMethod = method;
61}
62
63inline
65epsgOut(int epsgcode)
66{
67 // Save the code
68 _epsgOut = epsgcode;
69 // Initialize the projection
70 _proj = isce3::core::createProj(epsgcode);
71}
72
73// end of file
Data structure to store Ellipsoid information.
Definition Ellipsoid.h:20
Data structure to store 2D Lookup table.
Definition LUT2d.h:20
Data structure for storing basic radar geometry image metadata.
Definition Metadata.h:17
Sequence of platform ephemeris samples (state vectors) with uniform temporal spacing,...
Definition Orbit.h:44
const isce3::core::Ellipsoid & ellipsoid() const
Get the ellipsoid used for processing.
Definition Topo.h:338
const isce3::core::Orbit & orbit() const
Get the orbits used for processing.
Definition Topo.h:336
const isce3::core::LUT2d< double > & doppler() const
Get the doppler module used for processing.
Definition Topo.h:340
int epsgOut() const
Get the output coordinate system used for processing.
Definition Topo.h:164
Topo(const isce3::product::RadarGridProduct &, char frequency='A', bool nativeDoppler=false)
Constructor using a product.
Definition Topo.cpp:35
isce3::core::dataInterpMethod demMethod() const
Get the DEM interpolation method used for processing.
Definition Topo.h:167
Definition RadarGridParameters.h:16

Generated for ISCE3.0 by doxygen 1.13.2.