32 template<
typename TNode,
typename TOutputPixel>
33 class NodePair :
private std::pair< TNode, TOutputPixel >
43 NodePair(
const TNode& iNode,
const TOutputPixel& iValue ) :
44 Superclass( iNode, iValue ) {}
45 NodePair(
const Self& iPair ) : Superclass( iPair ) {}
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
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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