VTK-m  2.2
Classes | Public Types | Public Member Functions | Public Attributes | Private Member Functions | List of all members
vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT > Struct Template Reference

#include <FunctorsOpenMP.h>

Classes

struct  Node
 

Public Types

using ValueType = typename std::iterator_traits< IterT >::value_type
 
using PredicateT = internal::WrappedBinaryOperator< bool, RawPredicateT >
 

Public Member Functions

 UniqueHelper (IterT iter, vtkm::Id numValues, RawPredicateT pred)
 
vtkm::Id Execute ()
 

Public Attributes

IterT Data
 
vtkm::Id NumValues
 
PredicateT Predicate
 
vtkm::Id LeafSize
 
std::vector< NodeNodes
 
size_t NextNode
 

Private Member Functions

void Prepare ()
 
NodeAllocNode ()
 
bool IsLeaf (const vtkm::Id2 &range)
 
vtkm::Id ComputeMidpoint (const vtkm::Id2 &range)
 
void Uniquify (Node *node)
 

Member Typedef Documentation

◆ PredicateT

template<typename IterT , typename RawPredicateT >
using vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::PredicateT = internal::WrappedBinaryOperator<bool, RawPredicateT>

◆ ValueType

template<typename IterT , typename RawPredicateT >
using vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::ValueType = typename std::iterator_traits<IterT>::value_type

Constructor & Destructor Documentation

◆ UniqueHelper()

template<typename IterT , typename RawPredicateT >
vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::UniqueHelper ( IterT  iter,
vtkm::Id  numValues,
RawPredicateT  pred 
)
inline

Member Function Documentation

◆ AllocNode()

template<typename IterT , typename RawPredicateT >
Node* vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::AllocNode ( )
inlineprivate

◆ ComputeMidpoint()

template<typename IterT , typename RawPredicateT >
vtkm::Id vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::ComputeMidpoint ( const vtkm::Id2 range)
inlineprivate

◆ Execute()

template<typename IterT , typename RawPredicateT >
vtkm::Id vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::Execute ( )
inline

◆ IsLeaf()

template<typename IterT , typename RawPredicateT >
bool vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::IsLeaf ( const vtkm::Id2 range)
inlineprivate

◆ Prepare()

template<typename IterT , typename RawPredicateT >
void vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::Prepare ( )
inlineprivate

◆ Uniquify()

template<typename IterT , typename RawPredicateT >
void vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::Uniquify ( Node node)
inlineprivate

Member Data Documentation

◆ Data

template<typename IterT , typename RawPredicateT >
IterT vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::Data

◆ LeafSize

template<typename IterT , typename RawPredicateT >
vtkm::Id vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::LeafSize

◆ NextNode

template<typename IterT , typename RawPredicateT >
size_t vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::NextNode

◆ Nodes

template<typename IterT , typename RawPredicateT >
std::vector<Node> vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::Nodes

◆ NumValues

template<typename IterT , typename RawPredicateT >
vtkm::Id vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::NumValues

◆ Predicate

template<typename IterT , typename RawPredicateT >
PredicateT vtkm::cont::openmp::UniqueHelper< IterT, RawPredicateT >::Predicate

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