35 #ifndef vtkUnstructuredGridToCellGrid_h
36 #define vtkUnstructuredGridToCellGrid_h
41 #include "vtkFiltersCellGridModule.h"
47 #include <unordered_map>
48 #include <unordered_set>
51 VTK_ABI_NAMESPACE_BEGIN
67 virtual void AddPreferredOutputType(
81 bool Initialize()
override;
82 bool Finalize()
override;
88 bool SumOutputCounts();
109 : NumberOfCells(numberOfCells)
110 , CellTypePriority(priority)
116 int CellTypePriority{ 0 };
127 unsigned int FlatIndex{ 0 };
179 VTK_ABI_NAMESPACE_END
180 #endif // vtkUnstructuredGridToCellGrid_h
A key for indexing annotations.
A claim on input vtkCell types registered by an output vtkCellMetadata subclass.
Perform an operation on cells in a vtkCellMetadata instance.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkNew< vtkUnstructuredGridFieldAnnotations > Annotations
Container for field annotations capture from the input unstructured grid.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Methods for subclasses to override to handle different pipeline requests.
void ProcessUnstructuredGrid(vtkDataSet *input, vtkUnstructuredGrid *output, double constant[3], int mirrorDir[3], int mirrorSymmetricTensorDir[6], int mirrorTensorDir[9], bool copyInput, bool reflectAllInputArrays, vtkAlgorithm *algorithm)
Generate the reflection of the input dataset as an unstructured grid.
Gloms of multiple field names that represent vectors or tensors.
Visualization data composed of cells of arbitrary type.
Configuration hints for a partitioned dataset collection entry.
std::unordered_map< vtkStringToken, vtkIdType > OutputAllocations
A map from output cell type-token to output count.
a simple class to control print indentation
dataset represents arbitrary combinations of all possible cell types
abstract superclass for arrays of numeric data
Superclass for algorithms that produce vtkPartitionedDataSetCollectionAlgorithm.
represent and manipulate attribute data in a dataset
Represent a string by its integer hash.
static vtkAlgorithm * New()
Create a cell-grid that approximates a collection of vtkUnstructuredGrids.
vtkNew< TranscribeQuery > Request
std::map< int, Claim > CellTypeMap
A map from input cell type to counts and the output cell type (if any).
An internal query object for transcribing cells from input to output.
Composite dataset that groups datasets as a collection.
Claim(vtkIdType numberOfCells, int priority, vtkStringToken cellType)