isce3  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Pixel.h
1 //-*- C++ -*-
2 //-*- coding: utf-8 -*-
3 //
4 // Author: Bryan V. Riel, Joshua Cohen
5 // Copyright 2017-2018
6 
7 #pragma once
8 
9 #include "forward.h"
10 #include "Common.h"
11 
14 
15  public:
16  // Constructors
17  CUDA_HOSTDEV Pixel() {};
25  CUDA_HOSTDEV Pixel(double r, double dopfact, size_t bin) :
26  _range(r), _dopfact(dopfact), _bin(bin) {}
27  // Getters
28  CUDA_HOSTDEV double range() const { return _range; }
29  CUDA_HOSTDEV double dopfact() const { return _dopfact; }
30  CUDA_HOSTDEV size_t bin() const { return _bin; }
31  // Setters
32  CUDA_HOSTDEV void range(double r) { _range = r; }
33  CUDA_HOSTDEV void dopfact(double d) { _dopfact = d; }
34  CUDA_HOSTDEV void bin(size_t b) { _bin = b; }
35 
36  private:
37  double _range;
38  double _dopfact;
39  size_t _bin;
40 };
CUDA_HOSTDEV Pixel(double r, double dopfact, size_t bin)
Pixel constructor.
Definition: Pixel.h:25
Helper datastructure to handle slant range information for a pixel.
Definition: Pixel.h:13

Generated for ISCE3.0 by doxygen 1.8.5.