View subswaths class.
More...
#include <SubSwaths.h>
|
CUDA_HOST | ViewSubSwaths () |
| Default constructor uninitialized with an owner needed for test harness.
|
|
CUDA_HOST | ViewSubSwaths (OwnerSubSwaths &owner_subswaths) |
| Constructor to create ViewSubSwaths from an OwnerSubSwaths object.
|
|
CUDA_DEV bool | contains (const int index_aztime, const int index_srange) const |
| Check if a specific index is contained within the subswaths.
|
|
CUDA_HOST | BaseSubSwaths (const isce3::product::SubSwaths &cpu_subswaths) |
| Construct with an existing CPU subswath object.
|
|
CUDA_HOST | BaseSubSwaths (const size_t length, const size_t width, unsigned int n_subswaths) |
| Construct a BaseSubSwaths object with specified parameters.
|
|
CUDA_HOSTDEV size_t | length () const |
| Get the length of the radar grid.
|
|
CUDA_HOSTDEV size_t | width () const |
| Get the width of the radar grid.
|
|
CUDA_HOSTDEV unsigned int | n_subswaths () const |
| Get the number of subswaths.
|
|
|
size_t | _length = 0 |
|
size_t | _width = 0 |
|
unsigned int | _n_subswaths = 0 |
|
View subswaths class.
Only created from OwnerSubSwaths objects.Each subswath device vector in the OwnerSubSwaths is viewable as a pointer to the device vector's data on the GPU.
◆ ViewSubSwaths() [1/2]
CUDA_HOST isce3::cuda::product::ViewSubSwaths::ViewSubSwaths |
( |
| ) |
|
|
inline |
Default constructor uninitialized with an owner needed for test harness.
Not to be used by ordinary code.
◆ ViewSubSwaths() [2/2]
__host__ isce3::cuda::product::ViewSubSwaths::ViewSubSwaths |
( |
OwnerSubSwaths & | owner_subswaths | ) |
|
◆ contains()
CUDA_DEV bool isce3::cuda::product::ViewSubSwaths::contains |
( |
const int | index_aztime, |
|
|
const int | index_srange ) const |
|
inline |
Check if a specific index is contained within the subswaths.
- Parameters
-
[in] | index_aztime | The azimuth time index to check. |
[in] | index_srange | The slant range index to check. |
- Returns
- True if the index is contained within any subswath, false otherwise. If no subswaths, automatically return true.
The documentation for this class was generated from the following files:
- /home/runner/work/isce3/isce3/cxx/isce3/cuda/product/SubSwaths.h
- /home/runner/work/isce3/isce3/cxx/isce3/cuda/product/SubSwaths.cu
1.13.2.