#ifndef _OTB_TRISKELE_AVERAGE_ATTRIBUTES_HPP #define _OTB_TRISKELE_AVERAGE_ATTRIBUTES_HPP #include #include "triskeleBase.hpp" #include "CompAttribute.hpp" #include "Attributes/AreaAttributes.hpp" #include "Attributes/XYAttributes.hpp" namespace otb { namespace triskele { /*! Fonction non monotonne. */ class AverageAttributes : public CompAttribute { public: template inline AverageAttributes (const Tree &tree, const Raster &raster, const AreaAttributes &areaAttributes); inline ~AverageAttributes (); virtual inline ostream &print (ostream &out) const { CompAttribute::print (out, "average"); return out; } protected: template inline void compute (const Raster &raster, const AreaAttributes &areaAttributes); }; #include "AverageAttributes.tpp" } // triskele } // otb #endif // _OTB_TRISKELE_AVERAGE_ATTRIBUTES_HPP