VTK-m  2.0
Classes | Public Member Functions | Private Attributes | List of all members
vtkm::worklet::Tube Class Reference

#include <Tube.h>

Classes

class  CountSegments
 
class  GenerateCells
 
class  GenerateNormals
 
class  GeneratePoints
 
class  MapField
 

Public Member Functions

VTKM_CONT Tube ()
 
VTKM_CONT Tube (const bool &capping, const vtkm::Id &n, const vtkm::FloatDefault &r)
 
VTKM_CONT void SetCapping (bool v)
 
VTKM_CONT void SetNumberOfSides (vtkm::Id n)
 
VTKM_CONT void SetRadius (vtkm::FloatDefault r)
 
template<typename Storage >
VTKM_CONT void Run (const vtkm::cont::ArrayHandle< vtkm::Vec3f, Storage > &coords, const vtkm::cont::UnknownCellSet &cellset, vtkm::cont::ArrayHandle< vtkm::Vec3f > &newPoints, vtkm::cont::CellSetSingleType<> &newCells)
 
vtkm::cont::ArrayHandle< vtkm::IdGetOutputCellSourceIndex () const
 
vtkm::cont::ArrayHandle< vtkm::IdGetOutputPointSourceIndex () const
 

Private Attributes

bool Capping
 
vtkm::Id NumSides
 
vtkm::FloatDefault Radius
 
vtkm::cont::ArrayHandle< vtkm::IdOutputCellSourceIndex
 
vtkm::cont::ArrayHandle< vtkm::IdOutputPointSourceIndex
 

Constructor & Destructor Documentation

◆ Tube() [1/2]

VTKM_CONT vtkm::worklet::Tube::Tube ( )
inline

◆ Tube() [2/2]

VTKM_CONT vtkm::worklet::Tube::Tube ( const bool &  capping,
const vtkm::Id n,
const vtkm::FloatDefault r 
)
inline

Member Function Documentation

◆ GetOutputCellSourceIndex()

vtkm::cont::ArrayHandle<vtkm::Id> vtkm::worklet::Tube::GetOutputCellSourceIndex ( ) const
inline

◆ GetOutputPointSourceIndex()

vtkm::cont::ArrayHandle<vtkm::Id> vtkm::worklet::Tube::GetOutputPointSourceIndex ( ) const
inline

◆ Run()

template<typename Storage >
VTKM_CONT void vtkm::worklet::Tube::Run ( const vtkm::cont::ArrayHandle< vtkm::Vec3f, Storage > &  coords,
const vtkm::cont::UnknownCellSet cellset,
vtkm::cont::ArrayHandle< vtkm::Vec3f > &  newPoints,
vtkm::cont::CellSetSingleType<> &  newCells 
)
inline

◆ SetCapping()

VTKM_CONT void vtkm::worklet::Tube::SetCapping ( bool  v)
inline

◆ SetNumberOfSides()

VTKM_CONT void vtkm::worklet::Tube::SetNumberOfSides ( vtkm::Id  n)
inline

◆ SetRadius()

VTKM_CONT void vtkm::worklet::Tube::SetRadius ( vtkm::FloatDefault  r)
inline

Member Data Documentation

◆ Capping

bool vtkm::worklet::Tube::Capping
private

◆ NumSides

vtkm::Id vtkm::worklet::Tube::NumSides
private

◆ OutputCellSourceIndex

vtkm::cont::ArrayHandle<vtkm::Id> vtkm::worklet::Tube::OutputCellSourceIndex
private

◆ OutputPointSourceIndex

vtkm::cont::ArrayHandle<vtkm::Id> vtkm::worklet::Tube::OutputPointSourceIndex
private

◆ Radius

vtkm::FloatDefault vtkm::worklet::Tube::Radius
private

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