#ifndef _atm_MieModelOff_h_ #define _atm_MieModelOff_h_ static const char CVSId_atm_MieModelOff[] = "$Id$"; #include #include #include namespace atm { class ScatteringResult; class AttenuationResult; /** \class MieModelOff MieModelOff.h "atm/MieModelOff.h" \brief In case you don't believe in Mie scattering ... \author Ralf Ulrich \date 02 Jul 2007 \ingroup atm_models */ class MieModelOff : public atm::VMieModel { public: MieModelOff() { } virtual ~MieModelOff() { } atm::ScatteringResult EvaluateMieScattering(const utl::Point& xA, const utl::Point& xB, const double angle, const double distance, const std::vector& wLength) const; atm::ScatteringResult EvaluateMieScattering(const utl::Point& xA, const utl::Point& xB, const double angle, const double distance, const atm::AttenuationResult& mieAttenuation) const; atm::AttenuationResult EvaluateMieAttenuation(const utl::Point& xInit, const utl::Point& xFinal, const std::vector& wLength) const; double EvaluateMieScattering(const utl::Point& /*xA*/, const utl::Point& /*xB*/, const double /*angle*/, const double /*distance*/, const double /*wLength*/) const { return 0; } double EvaluateMieScattering(const utl::Point& /*xA*/, const utl::Point& /*xB*/, const double /*angle*/, const double /*distance*/, const double /*wLength*/, const double /*mieAttenuation*/) const { return 0; } double EvaluateMieAttenuation(const utl::Point& /*xInit*/, const utl::Point& /*xFinal*/, const double /*wLength*/) const { return 1; } double GetVerticalAerosolOpticalDepth(const unsigned int /*eyeId*/, const double /*altitude*/) const { return 0; } double GetAttenuationLength(const utl::Point& /*p*/, const double /*wLength*/) const { return std::numeric_limits::max(); } double EvaluateScatteringAngle(const utl::Point& /*p*/, const double /*angle*/, const double /*wLength*/) const { return 0; } void Init() { } bool HasData() const { return true; } REGISTER_MODEL(atm::VMieModel, "off", MieModelOff); }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: