|
| CellSetPermutation (const PermutationArrayHandleType &validCellIds, const OriginalCellSetType &cellset) |
| Create a CellSetPermutation . More...
|
|
| CellSetPermutation () |
|
| ~CellSetPermutation () override |
|
| CellSetPermutation (const CellSetPermutation &src) |
|
CellSetPermutation & | operator= (const CellSetPermutation &src) |
|
const OriginalCellSetType & | GetFullCellSet () const |
| Returns the original CellSet that this one is permuting. More...
|
|
const PermutationArrayHandleType & | GetValidCellIds () const |
| Returns the array used to permute the cell indices. More...
|
|
vtkm::Id | GetNumberOfCells () const override |
|
vtkm::Id | GetNumberOfPoints () const override |
|
vtkm::Id | GetNumberOfFaces () const override |
|
vtkm::Id | GetNumberOfEdges () const override |
|
void | ReleaseResourcesExecution () override |
|
vtkm::IdComponent | GetNumberOfPointsInCell (vtkm::Id cellIndex) const override |
|
vtkm::UInt8 | GetCellShape (vtkm::Id id) const override |
|
void | GetCellPointIds (vtkm::Id id, vtkm::Id *ptids) const override |
|
std::shared_ptr< CellSet > | NewInstance () const override |
|
void | DeepCopy (const CellSet *src) override |
|
void | Fill (const PermutationArrayHandleType &validCellIds, const OriginalCellSetType &cellset) |
| Set the topology. More...
|
|
vtkm::Id | GetSchedulingRange (vtkm::TopologyElementTagCell) const |
|
vtkm::Id | GetSchedulingRange (vtkm::TopologyElementTagPoint) const |
|
ExecConnectivityType< vtkm::TopologyElementTagCell, vtkm::TopologyElementTagPoint > | PrepareForInput (vtkm::cont::DeviceAdapterId device, vtkm::TopologyElementTagCell visitTopology, vtkm::TopologyElementTagPoint incidentTopology, vtkm::cont::Token &token) const |
| Prepares the data for a particular device and returns the execution object for it. More...
|
|
ExecConnectivityType< vtkm::TopologyElementTagPoint, vtkm::TopologyElementTagCell > | PrepareForInput (vtkm::cont::DeviceAdapterId device, vtkm::TopologyElementTagPoint visitTopology, vtkm::TopologyElementTagCell incidentTopology, vtkm::cont::Token &token) const |
| Prepares the data for a particular device and returns the execution object for it. More...
|
|
void | PrintSummary (std::ostream &out) const override |
|
template<typename OriginalCellSetType_, typename PermutationArrayHandleType_ = vtkm::cont::ArrayHandle<vtkm::Id, VTKM_DEFAULT_STORAGE_TAG >>
class vtkm::cont::CellSetPermutation< OriginalCellSetType_, PermutationArrayHandleType_ >
Rearranges the cells of one cell set to create another cell set.
This restructuring of cells is not done by copying data to a new structure. Rather, CellSetPermutation
establishes a look-up from one cell structure to another. Cells are permuted on the fly while algorithms are run.
A CellSetPermutation
is established by providing a mapping array that for every cell index provides the equivalent cell index in the cell set being permuted. CellSetPermutation
is most often used to mask out cells in a data set so that algorithms will skip over those cells when running.