00001 00022 #ifndef INC_RVC_OPSLANTGROUND_H 00023 #define INC_RVC_OPSLANTGROUND_H 00024 00025 #ifndef INC_MI32_STDDEFNS_H 00026 #include <mi32/stddefns.h> 00027 #endif 00028 00029 namespace RVC { 00030 00031 #ifndef GENERATING_DOXYGEN_OUTPUT 00032 class RASTER; 00033 class OBJITEM; 00034 #endif 00035 00036 namespace OP { 00037 00039 class SLANTGROUND { 00040 public: 00042 enum RESAMPLEMETHOD { 00043 RESAMPLEMETHOD_Nearest = 0, 00044 RESAMPLEMETHOD_Bilinear = 1, 00045 RESAMPLEMETHOD_CubicConv = 2 00046 }; 00047 00049 SLANTGROUND(); 00050 00052 void SetSurfaceElevation(double SurfaceElevation) {m_SurfaceElevation = SurfaceElevation;} 00054 double GetSurfaceElevation() const {return m_SurfaceElevation;} 00055 00057 void SetAltitude(double Altitude) {m_Altitude = Altitude;} 00059 double GetAltitude() const {return m_Altitude;} 00060 00062 void SetSlantSpacing(double SlantSpacing) {m_SlantSpacing = SlantSpacing;} 00064 double GetSlantSpacing() const {return m_SlantSpacing;} 00065 00067 void SetAzimuthSpacing(double AzimuthSpacing) {m_AzimuthSpacing = AzimuthSpacing;} 00069 double GetAzimuthSpacing() const {return m_AzimuthSpacing;} 00070 00072 void SetNearLookAngle(double NearLookAngle) {m_NearLookAngle = NearLookAngle;} 00074 double GetNearLookAngle() const {return m_NearLookAngle;} 00075 00077 void SetFarLookAngle(double FarLookAngle) {m_FarLookAngle = FarLookAngle;} 00079 double GetFarLookAngle() const {return m_FarLookAngle;} 00080 00082 ERRVALUE Process ( 00083 const RVC::RASTER& iraster, 00084 RVC::OBJITEM &objitem, 00085 RESAMPLEMETHOD resampling 00086 ); 00087 00088 private: 00089 #ifndef GENERATING_DOXYGEN_OUTPUT 00090 double m_SurfaceElevation; 00091 double m_Altitude; 00092 double m_SlantSpacing; 00093 double m_AzimuthSpacing; 00094 double m_NearLookAngle; 00095 double m_FarLookAngle; 00096 #endif 00097 }; 00098 }// end namespace RVC 00099 }// end namespace OP 00100 00101 #endif // INC_RVC_OPSLNTGRND_H
1.6.1