#ifndef _OTB_TRISKELE_XY_ATTRIBUTES_HPP #define _OTB_TRISKELE_XY_ATTRIBUTES_HPP #include "triskeleBase.hpp" #include "CompAttribute.hpp" #include "Attributes/AreaAttributes.hpp" namespace otb { namespace triskele { struct AverageXY { double x, y; inline AverageXY () : x(0), y(0) {} }; class XYAttributes : public CompAttributeC { public: inline XYAttributes (const Tree &tree, const AreaAttributes &areaAttributes, const unsigned int &treeCoreCount); inline ~XYAttributes (); protected: inline void compute (const AreaAttributes &areaAttributes); }; #include "XYAttributes.tpp" } // triskele } // otb #endif // _OTB_TRISKELE_XY_ATTRIBUTES_HPP