19 #ifndef __itkNodePair_h
20 #define __itkNodePair_h
32 template<
typename TNode,
typename TOutputPixel>
33 class NodePair :
private std::pair< TNode, TOutputPixel >
43 NodePair(
const TNode& iNode,
const TOutputPixel& iValue ) :
49 this->first = iPair.first;
50 this->second = iPair.second;
55 this->second = iValue;
80 return this->second < iRight.second;
85 return this->second > iRight.second;
90 return this->second <= iRight.second;
95 return this->second >= iRight.second;
100 #endif // __itkFastMarchingTraits_h
Represents a Node and its associated value (front value)
TOutputPixel & GetValue()
NodePair(const TNode &iNode, const TOutputPixel &iValue)
bool operator<=(const Self &iRight) const
const TOutputPixel & GetValue() const
const TNode & GetNode() const
void SetValue(const TOutputPixel &iValue)
NodePair(const Self &iPair)
bool operator<(const Self &iRight) const
void SetNode(const TNode &iNode)
void operator=(const Self &iPair)
bool operator>=(const Self &iRight) const
bool operator>(const Self &iRight) const
std::pair< TNode, TOutputPixel > Superclass
TOutputPixel OutputPixelType