triskele/include/AttributeProfiles.hpp
Git Merciol 9a76443603 nouveau fichier : include/AttributeProfiles.hpp
nouveau fichier : include/AttributeProfiles.tpp
	nouveau fichier : include/Attributes/AreaAttributes.hpp
	nouveau fichier : include/Attributes/AreaAttributes.tpp
	nouveau fichier : include/Attributes/WeightAttributes.hpp
	nouveau fichier : include/Attributes/WeightAttributes.tpp
2018-02-18 18:50:53 +01:00

32 lines
667 B
C++

#ifndef _OTB_TRISKELE_ATTRIBUTE_PROFILES_HPP
#define _OTB_TRISKELE_ATTRIBUTE_PROFILES_HPP
#include "Tree.hpp"
namespace otb {
namespace triskele {
template<typename PixelT>
class AttributeProfiles {
public:
inline AttributeProfiles (const Tree &tree);
inline ~AttributeProfiles ();
inline void updateTranscient ();
inline PixelT *getValues ();
protected:
const Tree &tree;
DimNodeId leafCount;
PixelT *values;
inline void free ();
inline void book (const DimImg &leafCount);
};
#include "AttributeProfiles.tpp"
} // triskele
} // otb
#endif // _OTB_TRISKELE_ATTRIBUTE_PROFILES_HPP