
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
32 lines
667 B
C++
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
|