32template <
typename TNode,
typename TOutputPixel>
33class NodePair :
private std::pair<TNode, TOutputPixel>
45 NodePair(
const TNode & iNode,
const TOutputPixel & iValue)
55 this->first = iPair.first;
56 this->second = iPair.second;
62 this->second = iValue;
93 return this->second < iRight.second;
99 return this->second > iRight.second;
105 return this->second <= iRight.second;
111 return this->second >= iRight.second;
Represents a Node and its associated value (front value)
bool operator<(const Self &iRight) const
void SetNode(const TNode &iNode)
TOutputPixel OutputPixelType
void operator=(const Self &iPair)
std::pair< TNode, TOutputPixel > Superclass
NodePair(const Self &iPair)
void SetValue(const TOutputPixel &iValue)
bool operator>(const Self &iRight) const
const TNode & GetNode() const
NodePair(const TNode &iNode, const TOutputPixel &iValue)
TOutputPixel & GetValue()
bool operator<=(const Self &iRight) const
bool operator>=(const Self &iRight) const
const TOutputPixel & GetValue() const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....