VTK-m  2.0
Public Member Functions | Private Attributes | List of all members
vtkm::worklet::contourtree_augmented::process_contourtree_inc::PiecewiseLinearFunction< T > Class Template Reference

#include <PiecewiseLinearFunction.h>

Public Member Functions

void addSample (T sx, T sy)
 
operator() (T px) const
 
PiecewiseLinearFunctionoperator+= (const PiecewiseLinearFunction &other)
 
std::vector< T > nLargest (unsigned n)
 
void print ()
 

Private Attributes

std::vector< std::pair< T, T > > samples
 

Member Function Documentation

◆ addSample()

template<typename T >
void vtkm::worklet::contourtree_augmented::process_contourtree_inc::PiecewiseLinearFunction< T >::addSample ( sx,
sy 
)
inline

◆ nLargest()

template<typename T >
std::vector<T> vtkm::worklet::contourtree_augmented::process_contourtree_inc::PiecewiseLinearFunction< T >::nLargest ( unsigned  n)
inline

◆ operator()()

template<typename T >
T vtkm::worklet::contourtree_augmented::process_contourtree_inc::PiecewiseLinearFunction< T >::operator() ( px) const
inline

◆ operator+=()

◆ print()

Member Data Documentation

◆ samples

template<typename T >
std::vector<std::pair<T, T> > vtkm::worklet::contourtree_augmented::process_contourtree_inc::PiecewiseLinearFunction< T >::samples
private

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