OpenWalnut
1.4.0
|
Comperator for indirect sort so the value set is not modified. More...
Public Member Functions | |
IndirectCompare (boost::shared_ptr< WValueSet< double > > valueSet) | |
Since we must have access to the value set we need a reference to it. | |
bool | operator() (size_t i, size_t j) |
Compares the isovalue of the elments with index i and j. | |
Private Attributes | |
boost::shared_ptr< WValueSet < double > > | m_valueSet |
Reference to the isovalues. |
Comperator for indirect sort so the value set is not modified.
Definition at line 123 of file WJoinContourTree.h.
WJoinContourTree::IndirectCompare::IndirectCompare | ( | boost::shared_ptr< WValueSet< double > > | valueSet | ) | [explicit] |
Since we must have access to the value set we need a reference to it.
valueSet | Value set on which the comparision is done. |
Definition at line 130 of file WJoinContourTree.cpp.
Compares the isovalue of the elments with index i and j.
i | The index of the first element |
j | The index of the other element |
Definition at line 135 of file WJoinContourTree.cpp.
References WJoinContourTree::m_valueSet.
boost::shared_ptr< WValueSet < double > > WJoinContourTree::IndirectCompare::m_valueSet [private] |
Reference to the isovalues.
Definition at line 145 of file WJoinContourTree.h.