isce3  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
isce3::cuda::geometry::gpuDEMInterpolator Class Reference

Public Member Functions

CUDA_HOSTDEV gpuDEMInterpolator ()
 Default constructor . More...
 
CUDA_HOSTDEV gpuDEMInterpolator (float height)
 Constructor with a constant height . More...
 
 ~gpuDEMInterpolator ()
 Destructor. More...
 
CUDA_HOST gpuDEMInterpolator (const isce3::geometry::DEMInterpolator &)
 Copy constructor from CPU DEMInterpolator. More...
 
CUDA_HOSTDEV gpuDEMInterpolator (gpuDEMInterpolator &)
 Copy constructor on device. More...
 
CUDA_DEV float interpolateLonLat (double lon, double lat) const
 Interpolate at a given longitude and latitude. More...
 
CUDA_DEV float interpolateXY (double x, double y) const
 Interpolate at native XY coordinates of DEM. More...
 
CUDA_DEV double midX () const
 Middle X and Y coordinates. More...
 
CUDA_DEV double midY () const
 
CUDA_DEV Vec3 midLonLat () const
 Middle lat/lon/refHeight. More...
 
CUDA_HOSTDEV double xStart () const
 Get upper left X. More...
 
CUDA_HOSTDEV double yStart () const
 Get upper left Y. More...
 
CUDA_HOSTDEV double deltaX () const
 Get X spacing. More...
 
CUDA_HOSTDEV double deltaY () const
 Get Y spacing. More...
 
CUDA_HOSTDEV bool haveRaster () const
 Flag indicating whether we have a raster. More...
 
CUDA_HOSTDEV float refHeight () const
 Reference height. More...
 
CUDA_HOSTDEV size_t length () const
 DEM length. More...
 
CUDA_HOSTDEV size_t width () const
 DEM width. More...
 
CUDA_HOSTDEV int epsgCode () const
 EPSG code. More...
 
CUDA_HOSTDEV
isce3::core::dataInterpMethod 
interpMethod () const
 Interpolator method. More...
 
CUDA_HOSTDEV
isce3::cuda::core::ProjectionBase ** 
proj () const
 Pointer to ProjectionBase pointer. More...
 
CUDA_HOSTDEV
isce3::cuda::core::gpuInterpolator
< float > ** 
interp () const
 Pointer to gpuInterpolator pointer. More...
 
CUDA_HOST void initProjInterp ()
 Initialize projection and interpolation objects on device. More...
 
CUDA_HOST void finalizeProjInterp ()
 Finalize/delete projection and interpolation objects on device. More...
 

Public Attributes

float * _dem
 

Constructor & Destructor Documentation

CUDA_HOSTDEV isce3::cuda::geometry::gpuDEMInterpolator::gpuDEMInterpolator ( )
inline

Default constructor .

CUDA_HOSTDEV isce3::cuda::geometry::gpuDEMInterpolator::gpuDEMInterpolator ( float  height)
inline

Constructor with a constant height .

isce3::cuda::geometry::gpuDEMInterpolator::~gpuDEMInterpolator ( )

Destructor.

CUDA_HOST isce3::cuda::geometry::gpuDEMInterpolator::gpuDEMInterpolator ( const isce3::geometry::DEMInterpolator )

Copy constructor from CPU DEMInterpolator.

CUDA_HOSTDEV isce3::cuda::geometry::gpuDEMInterpolator::gpuDEMInterpolator ( gpuDEMInterpolator )

Copy constructor on device.

Member Function Documentation

CUDA_HOSTDEV double isce3::cuda::geometry::gpuDEMInterpolator::deltaX ( ) const
inline

Get X spacing.

CUDA_HOSTDEV double isce3::cuda::geometry::gpuDEMInterpolator::deltaY ( ) const
inline

Get Y spacing.

CUDA_HOSTDEV int isce3::cuda::geometry::gpuDEMInterpolator::epsgCode ( ) const
inline

EPSG code.

CUDA_HOST void isce3::cuda::geometry::gpuDEMInterpolator::finalizeProjInterp ( )

Finalize/delete projection and interpolation objects on device.

CUDA_HOSTDEV bool isce3::cuda::geometry::gpuDEMInterpolator::haveRaster ( ) const
inline

Flag indicating whether we have a raster.

CUDA_HOST void isce3::cuda::geometry::gpuDEMInterpolator::initProjInterp ( )

Initialize projection and interpolation objects on device.

CUDA_HOSTDEV isce3::cuda::core::gpuInterpolator<float>** isce3::cuda::geometry::gpuDEMInterpolator::interp ( ) const
inline

Pointer to gpuInterpolator pointer.

CUDA_HOSTDEV isce3::core::dataInterpMethod isce3::cuda::geometry::gpuDEMInterpolator::interpMethod ( ) const
inline

Interpolator method.

CUDA_DEV float isce3::cuda::geometry::gpuDEMInterpolator::interpolateLonLat ( double  lon,
double  lat 
) const

Interpolate at a given longitude and latitude.

CUDA_DEV float isce3::cuda::geometry::gpuDEMInterpolator::interpolateXY ( double  x,
double  y 
) const

Interpolate at native XY coordinates of DEM.

CUDA_HOSTDEV size_t isce3::cuda::geometry::gpuDEMInterpolator::length ( ) const
inline

DEM length.

CUDA_DEV Vec3 isce3::cuda::geometry::gpuDEMInterpolator::midLonLat ( ) const

Middle lat/lon/refHeight.

CUDA_DEV double isce3::cuda::geometry::gpuDEMInterpolator::midX ( ) const
inline

Middle X and Y coordinates.

CUDA_HOSTDEV isce3::cuda::core::ProjectionBase** isce3::cuda::geometry::gpuDEMInterpolator::proj ( ) const
inline

Pointer to ProjectionBase pointer.

CUDA_HOSTDEV float isce3::cuda::geometry::gpuDEMInterpolator::refHeight ( ) const
inline

Reference height.

CUDA_HOSTDEV size_t isce3::cuda::geometry::gpuDEMInterpolator::width ( ) const
inline

DEM width.

CUDA_HOSTDEV double isce3::cuda::geometry::gpuDEMInterpolator::xStart ( ) const
inline

Get upper left X.

CUDA_HOSTDEV double isce3::cuda::geometry::gpuDEMInterpolator::yStart ( ) const
inline

Get upper left Y.


The documentation for this class was generated from the following file:

Generated for ISCE3.0 by doxygen 1.8.5.