VTK-m  2.2
Public Member Functions | Public Attributes | List of all members
vtkm::CellShapeTagGeneric Struct Reference

A special cell shape tag that holds a cell shape that is not known at compile time. More...

#include <CellShape.h>

Public Member Functions

 CellShapeTagGeneric (vtkm::UInt8 shape)
 

Public Attributes

vtkm::UInt8 Id
 An identifier that corresponds to one of the CELL_SHAPE_* identifiers. More...
 

Detailed Description

A special cell shape tag that holds a cell shape that is not known at compile time.

Unlike other cell set tags, the Id field is set at runtime so its value cannot be used in template parameters. You need to use vtkmGenericCellShapeMacro to specialize on the cell type.

Constructor & Destructor Documentation

◆ CellShapeTagGeneric()

vtkm::CellShapeTagGeneric::CellShapeTagGeneric ( vtkm::UInt8  shape)
inline

Member Data Documentation

◆ Id

vtkm::UInt8 vtkm::CellShapeTagGeneric::Id

An identifier that corresponds to one of the CELL_SHAPE_* identifiers.

This value is used to detect the proper shape at runtime.


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