VTK-m  2.0
Public Types | Public Member Functions | Private Attributes | List of all members
vtkm::worklet::FacetedSurfaceNormals::Worklet< NormalFnctr > Class Template Reference

#include <SurfaceNormals.h>

Inheritance diagram for vtkm::worklet::FacetedSurfaceNormals::Worklet< NormalFnctr >:
vtkm::worklet::WorkletVisitCellsWithPoints vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint > vtkm::exec::FunctorBase

Public Types

using ControlSignature = void(CellSetIn cellset, FieldInPoint points, FieldOutCell normals)
 
using ExecutionSignature = void(CellShape, _2, _3)
 
using InputDomain = _1
 
- Public Types inherited from vtkm::worklet::WorkletVisitCellsWithPoints
using FieldInPoint = FieldInIncident
 
using FieldInCell = FieldInVisit
 
using FieldOutCell = FieldOut
 
using FieldInOutCell = FieldInOut
 
using PointCount = IncidentElementCount
 
using PointIndices = IncidentElementIndices
 
- Public Types inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint >
using VisitTopologyType = vtkm::TopologyElementTagCell
 
using IncidentTopologyType = vtkm::TopologyElementTagPoint
 

Public Member Functions

template<typename CellShapeTag , typename PointsVecType , typename T >
VTKM_EXEC void operator() (CellShapeTag, const PointsVecType &points, vtkm::Vec< T, 3 > &normal) const
 
template<vtkm::IdComponent Dim, typename PointsVecType , typename T >
VTKM_EXEC void Compute (vtkm::CellTopologicalDimensionsTag< Dim >, const PointsVecType &, vtkm::Vec< T, 3 > &normal) const
 
template<typename PointsVecType , typename T >
VTKM_EXEC void Compute (vtkm::CellTopologicalDimensionsTag< 2 >, const PointsVecType &points, vtkm::Vec< T, 3 > &normal) const
 
template<typename PointsVecType , typename T >
VTKM_EXEC void operator() (vtkm::CellShapeTagGeneric shape, const PointsVecType &points, vtkm::Vec< T, 3 > &normal) const
 
- Public Member Functions inherited from vtkm::worklet::WorkletMapTopology< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint >
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::CustomScatterOrMaskTagGetThreadIndices (vtkm::Id threadIndex, const OutToInArrayType &outToIn, const VisitArrayType &visit, const ThreadToOutArrayType &threadToOut, const InputDomainType &connectivity) const
 Topology map worklets use topology map indices. More...
 
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC EnableFnWhen< S &&M, vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::DefaultScatterAndMaskTag > > GetThreadIndices (vtkm::Id threadIndex1D, const vtkm::Id3 &threadIndex3D, const OutToInArrayType &vtkmNotUsed(outToIn), const VisitArrayType &vtkmNotUsed(visit), const ThreadToOutArrayType &vtkmNotUsed(threadToOut), const InputDomainType &connectivity) const
 Optimized for ScatterIdentity and MaskNone. More...
 
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC EnableFnWhen<!(S &&M), vtkm::exec::arg::ThreadIndicesTopologyMap< InputDomainType, vtkm::exec::arg::CustomScatterOrMaskTag > > GetThreadIndices (vtkm::Id threadIndex1D, const vtkm::Id3 &threadIndex3D, const OutToInArrayType &outToIn, const VisitArrayType &visit, const ThreadToOutArrayType &threadToOut, const InputDomainType &connectivity) const
 Default version. More...
 

Private Attributes

NormalFnctr Normal
 

Member Typedef Documentation

◆ ControlSignature

template<typename NormalFnctr = detail::Normal>
using vtkm::worklet::FacetedSurfaceNormals::Worklet< NormalFnctr >::ControlSignature = void(CellSetIn cellset, FieldInPoint points, FieldOutCell normals)

◆ ExecutionSignature

template<typename NormalFnctr = detail::Normal>
using vtkm::worklet::FacetedSurfaceNormals::Worklet< NormalFnctr >::ExecutionSignature = void(CellShape, _2, _3)

◆ InputDomain

template<typename NormalFnctr = detail::Normal>
using vtkm::worklet::FacetedSurfaceNormals::Worklet< NormalFnctr >::InputDomain = _1

Member Function Documentation

◆ Compute() [1/2]

template<typename NormalFnctr = detail::Normal>
template<typename PointsVecType , typename T >
VTKM_EXEC void vtkm::worklet::FacetedSurfaceNormals::Worklet< NormalFnctr >::Compute ( vtkm::CellTopologicalDimensionsTag< 2 >  ,
const PointsVecType &  points,
vtkm::Vec< T, 3 > &  normal 
) const
inline

◆ Compute() [2/2]

template<typename NormalFnctr = detail::Normal>
template<vtkm::IdComponent Dim, typename PointsVecType , typename T >
VTKM_EXEC void vtkm::worklet::FacetedSurfaceNormals::Worklet< NormalFnctr >::Compute ( vtkm::CellTopologicalDimensionsTag< Dim >  ,
const PointsVecType &  ,
vtkm::Vec< T, 3 > &  normal 
) const
inline

◆ operator()() [1/2]

template<typename NormalFnctr = detail::Normal>
template<typename CellShapeTag , typename PointsVecType , typename T >
VTKM_EXEC void vtkm::worklet::FacetedSurfaceNormals::Worklet< NormalFnctr >::operator() ( CellShapeTag  ,
const PointsVecType &  points,
vtkm::Vec< T, 3 > &  normal 
) const
inline

◆ operator()() [2/2]

template<typename NormalFnctr = detail::Normal>
template<typename PointsVecType , typename T >
VTKM_EXEC void vtkm::worklet::FacetedSurfaceNormals::Worklet< NormalFnctr >::operator() ( vtkm::CellShapeTagGeneric  shape,
const PointsVecType &  points,
vtkm::Vec< T, 3 > &  normal 
) const
inline

Member Data Documentation

◆ Normal

template<typename NormalFnctr = detail::Normal>
NormalFnctr vtkm::worklet::FacetedSurfaceNormals::Worklet< NormalFnctr >::Normal
private

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