OpenWalnut
1.5.0dev
|
Comperator for indirect sort so the value set is not modified. More...
Public Member Functions | |
IndirectCompare (std::shared_ptr< WValueSet< double > > valueSet) | |
Since we must have access to the value set we need a reference to it. More... | |
bool | operator() (size_t i, size_t j) |
Compares the isovalue of the elments with index i and j. More... | |
Private Attributes | |
std::shared_ptr< WValueSet< double > > | m_valueSet |
Reference to the isovalues. More... | |
Comperator for indirect sort so the value set is not modified.
Definition at line 123 of file WJoinContourTree.h.
|
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 131 of file WJoinContourTree.cpp.
bool WJoinContourTree::IndirectCompare::operator() | ( | size_t | i, |
size_t | j | ||
) |
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 136 of file WJoinContourTree.cpp.
References WJoinContourTree::m_valueSet.
|
private |
Reference to the isovalues.
Definition at line 145 of file WJoinContourTree.h.