Viskores  1.0
Public Types | Public Member Functions | Private Attributes | List of all members
viskores::exec::CellLocatorMultiplexer< LocatorTypes > Class Template Reference

#include <CellLocatorMultiplexer.h>

Public Types

using LastCell = viskores::exec::Variant< typename LocatorTypes::LastCell... >
 

Public Member Functions

 CellLocatorMultiplexer ()=default
 
template<typename Locator >
 CellLocatorMultiplexer (const Locator &locator)
 
viskores::ErrorCode FindCell (const viskores::Vec3f &point, viskores::Id &cellId, viskores::Vec3f &parametric) const
 
viskores::ErrorCode FindCell (const viskores::Vec3f &point, viskores::Id &cellId, viskores::Vec3f &parametric, LastCell &lastCell) const
 

Private Attributes

viskores::exec::Variant< LocatorTypes... > Locators
 

Member Typedef Documentation

◆ LastCell

template<typename... LocatorTypes>
using viskores::exec::CellLocatorMultiplexer< LocatorTypes >::LastCell = viskores::exec::Variant<typename LocatorTypes::LastCell...>

Constructor & Destructor Documentation

◆ CellLocatorMultiplexer() [1/2]

template<typename... LocatorTypes>
viskores::exec::CellLocatorMultiplexer< LocatorTypes >::CellLocatorMultiplexer ( )
default

◆ CellLocatorMultiplexer() [2/2]

template<typename... LocatorTypes>
template<typename Locator >
viskores::exec::CellLocatorMultiplexer< LocatorTypes >::CellLocatorMultiplexer ( const Locator &  locator)
inline

Member Function Documentation

◆ FindCell() [1/2]

template<typename... LocatorTypes>
viskores::ErrorCode viskores::exec::CellLocatorMultiplexer< LocatorTypes >::FindCell ( const viskores::Vec3f point,
viskores::Id cellId,
viskores::Vec3f parametric 
) const
inline

◆ FindCell() [2/2]

template<typename... LocatorTypes>
viskores::ErrorCode viskores::exec::CellLocatorMultiplexer< LocatorTypes >::FindCell ( const viskores::Vec3f point,
viskores::Id cellId,
viskores::Vec3f parametric,
LastCell lastCell 
) const
inline

Member Data Documentation

◆ Locators

template<typename... LocatorTypes>
viskores::exec::Variant<LocatorTypes...> viskores::exec::CellLocatorMultiplexer< LocatorTypes >::Locators
private

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