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

Compute the isosurface of a given 3D data set, supports all linear cell types. More...

#include <Contour.h>

Public Member Functions

 Contour (bool mergeDuplicates=true)
 
vtkm::cont::ArrayHandle< vtkm::Id2GetInterpolationEdgeIds () const
 
void SetMergeDuplicatePoints (bool merge)
 
bool GetMergeDuplicatePoints () const
 
vtkm::cont::ArrayHandle< vtkm::IdGetCellIdMap () const
 
template<typename ValueType , typename CellSetType , typename CoordinateSystem , typename StorageTagField , typename CoordinateType , typename StorageTagVertices >
vtkm::cont::CellSetSingleType Run (const std::vector< ValueType > &isovalues, const CellSetType &cells, const CoordinateSystem &coordinateSystem, const vtkm::cont::ArrayHandle< ValueType, StorageTagField > &input, vtkm::cont::ArrayHandle< vtkm::Vec< CoordinateType, 3 >, StorageTagVertices > &vertices)
 
template<typename ValueType , typename CellSetType , typename CoordinateSystem , typename StorageTagField , typename CoordinateType , typename StorageTagVertices , typename StorageTagNormals >
vtkm::cont::CellSetSingleType Run (const std::vector< ValueType > &isovalues, const CellSetType &cells, const CoordinateSystem &coordinateSystem, const vtkm::cont::ArrayHandle< ValueType, StorageTagField > &input, vtkm::cont::ArrayHandle< vtkm::Vec< CoordinateType, 3 >, StorageTagVertices > &vertices, vtkm::cont::ArrayHandle< vtkm::Vec< CoordinateType, 3 >, StorageTagNormals > &normals)
 
template<typename ValueType , typename StorageType >
vtkm::cont::ArrayHandle< ValueType > ProcessPointField (const vtkm::cont::ArrayHandle< ValueType, StorageType > &input) const
 
void ReleaseCellMapArrays ()
 

Private Attributes

vtkm::worklet::contour::CommonState SharedState
 

Detailed Description

Compute the isosurface of a given 3D data set, supports all linear cell types.

Constructor & Destructor Documentation

◆ Contour()

vtkm::worklet::Contour::Contour ( bool  mergeDuplicates = true)
inline

Member Function Documentation

◆ GetCellIdMap()

vtkm::cont::ArrayHandle<vtkm::Id> vtkm::worklet::Contour::GetCellIdMap ( ) const
inline

◆ GetInterpolationEdgeIds()

vtkm::cont::ArrayHandle<vtkm::Id2> vtkm::worklet::Contour::GetInterpolationEdgeIds ( ) const
inline

◆ GetMergeDuplicatePoints()

bool vtkm::worklet::Contour::GetMergeDuplicatePoints ( ) const
inline

◆ ProcessPointField()

template<typename ValueType , typename StorageType >
vtkm::cont::ArrayHandle<ValueType> vtkm::worklet::Contour::ProcessPointField ( const vtkm::cont::ArrayHandle< ValueType, StorageType > &  input) const
inline

◆ ReleaseCellMapArrays()

void vtkm::worklet::Contour::ReleaseCellMapArrays ( )
inline

◆ Run() [1/2]

template<typename ValueType , typename CellSetType , typename CoordinateSystem , typename StorageTagField , typename CoordinateType , typename StorageTagVertices >
vtkm::cont::CellSetSingleType vtkm::worklet::Contour::Run ( const std::vector< ValueType > &  isovalues,
const CellSetType &  cells,
const CoordinateSystem &  coordinateSystem,
const vtkm::cont::ArrayHandle< ValueType, StorageTagField > &  input,
vtkm::cont::ArrayHandle< vtkm::Vec< CoordinateType, 3 >, StorageTagVertices > &  vertices 
)
inline

◆ Run() [2/2]

template<typename ValueType , typename CellSetType , typename CoordinateSystem , typename StorageTagField , typename CoordinateType , typename StorageTagVertices , typename StorageTagNormals >
vtkm::cont::CellSetSingleType vtkm::worklet::Contour::Run ( const std::vector< ValueType > &  isovalues,
const CellSetType &  cells,
const CoordinateSystem &  coordinateSystem,
const vtkm::cont::ArrayHandle< ValueType, StorageTagField > &  input,
vtkm::cont::ArrayHandle< vtkm::Vec< CoordinateType, 3 >, StorageTagVertices > &  vertices,
vtkm::cont::ArrayHandle< vtkm::Vec< CoordinateType, 3 >, StorageTagNormals > &  normals 
)
inline

◆ SetMergeDuplicatePoints()

void vtkm::worklet::Contour::SetMergeDuplicatePoints ( bool  merge)
inline

Member Data Documentation

◆ SharedState

vtkm::worklet::contour::CommonState vtkm::worklet::Contour::SharedState
private

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