OpenWalnut  1.4.0
Public Member Functions | Private Attributes
WJoinContourTree::IndirectCompare Class Reference

Comperator for indirect sort so the value set is not modified. More...

List of all members.

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.

Detailed Description

Comperator for indirect sort so the value set is not modified.

Definition at line 123 of file WJoinContourTree.h.


Constructor & Destructor Documentation

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.

Parameters:
valueSetValue set on which the comparision is done.

Definition at line 130 of file WJoinContourTree.cpp.


Member Function Documentation

bool WJoinContourTree::IndirectCompare::operator() ( size_t  i,
size_t  j 
)

Compares the isovalue of the elments with index i and j.

Parameters:
iThe index of the first element
jThe index of the other element
Returns:
True if the element in the value set at position i is greater than the the element at position j

Definition at line 135 of file WJoinContourTree.cpp.

References WJoinContourTree::m_valueSet.


Member Data Documentation

boost::shared_ptr< WValueSet < double > > WJoinContourTree::IndirectCompare::m_valueSet [private]

Reference to the isovalues.

Definition at line 145 of file WJoinContourTree.h.


The documentation for this class was generated from the following files: