triskele/include/AttributeProfiles.hpp
Git Merciol 8149f1353b modifié : MakefileNoOTB
modifié :         include/ArrayTree/ArrayTreeBuilder.hpp
	modifié :         include/ArrayTree/ArrayTreeBuilder.tpp
	modifié :         include/ArrayTree/Border.hpp
	modifié :         include/ArrayTree/Border.tpp
	modifié :         include/ArrayTree/GraphWalker.hpp
	modifié :         include/ArrayTree/GraphWalker.tpp
	modifié :         include/ArrayTree/Leader.tpp
	modifié :         include/ArrayTree/triskeleArrayTreeBase.hpp
	modifié :         include/ArrayTree/triskeleArrayTreeBase.tpp
	modifié :         include/AttributeProfiles.hpp
	modifié :         include/AttributeProfiles.tpp
	modifié :         include/Attributes/AreaAttributes.hpp
	modifié :         include/Attributes/AverageAttributes.hpp
	modifié :         include/Attributes/MoIAttributes.hpp
	modifié :         include/Attributes/SDAttributes.hpp
	modifié :         include/Attributes/WeightAttributes.hpp
	modifié :         include/Attributes/XYAttributes.hpp
	modifié :         include/CompAttribute.hpp
	modifié :         include/CompAttribute.tpp
	modifié :         include/Tree.hpp
	modifié :         include/Tree.tpp
	modifié :         include/TreeStats.hpp
	modifié :         include/triskeleBase.hpp
	modifié :         include/triskeleBase.tpp
	modifié :         include/triskeleDebug.hpp
	modifié :         src/Tree.cpp
	modifié :         src/TreeStats.cpp
	modifié :         src/apGenerator.cpp
2018-03-06 19:56:25 +01:00

37 lines
866 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 const PixelT *getValues () const;
protected:
const Tree &tree;
DimNodeId leafCount;
PixelT *values;
inline void free ();
inline void book (const DimImg &leafCount);
ostream &print (ostream &out) const;
friend ostream &operator << (ostream& out, const AttributeProfiles &ap) { return ap.print (out); }
};
#include "AttributeProfiles.tpp"
} // triskele
} // otb
#endif // _OTB_TRISKELE_ATTRIBUTE_PROFILES_HPP