
modifié : include/AttributeProfiles.hpp modifié : include/AttributeProfiles.tpp modifié : include/Attributes/AreaAttributes.hpp modifié : include/Attributes/AreaAttributes.tpp modifié : include/Attributes/WeightAttributes.hpp modifié : include/Attributes/WeightAttributes.tpp modifié : include/Tree.hpp modifié : include/Tree.tpp modifié : include/triskeleBase.tpp modifié : src/Tree.cpp modifié : src/XMLTree/XMLTreeBuilder.cpp modifié : src/testMain.cpp
33 lines
707 B
C++
33 lines
707 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 ();
|
|
inline void printValues () const;
|
|
|
|
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
|