VTK  9.7.20261004
vtkDGTranscribeUnstructuredCells.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
18#ifndef vtkDGTranscribeUnstructuredCells_h
19#define vtkDGTranscribeUnstructuredCells_h
20
22#include "vtkFiltersCellGridModule.h" // For export macro
23#include "vtkNew.h" // for ivar
24#include "vtkUnstructuredGridToCellGrid.h" // for query template-parameter
25
26VTK_ABI_NAMESPACE_BEGIN
27
28class vtkDGCell;
29
30class VTKFILTERSCELLGRID_EXPORT vtkDGTranscribeUnstructuredCells
31 : public vtkCellGridResponder<vtkUnstructuredGridToCellGrid::TranscribeQuery>
32{
33public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
42 bool Query(
43 TranscribeQuery* query, vtkCellMetadata* cellType, vtkCellGridResponders* caches) override;
44
45protected:
48
51 TranscribeQuery* query, vtkDGCell* dgCell, vtkStringToken basis, int order);
52
53private:
55 void operator=(const vtkDGTranscribeUnstructuredCells&) = delete;
56};
57
58VTK_ABI_NAMESPACE_END
59#endif // vtkDGTranscribeUnstructuredCells_h
basis[0]
Definition CellC0Basis.h:1
A container that holds objects able to respond to queries specialized for particular vtkCellMetadata ...
Metadata for a particular type of cell (finite element).
Base class for a discontinuous Galerkin cells of all shapes.
Definition vtkDGCell.h:44
bool TranscribeMatchingCells(TranscribeQuery *query, vtkDGCell *cellType)
void AddPointAttributes(TranscribeQuery *query, vtkDGCell *dgCell, vtkStringToken basis, int order)
~vtkDGTranscribeUnstructuredCells() override=default
bool ClaimMatchingCells(TranscribeQuery *query, vtkDGCell *cellType)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnstructuredGridToCellGrid::TranscribeQuery TranscribeQuery
bool Query(TranscribeQuery *query, vtkCellMetadata *cellType, vtkCellGridResponders *caches) override
void AddCellAttributes(TranscribeQuery *query, vtkDGCell *dgCell)
static vtkDGTranscribeUnstructuredCells * New()
a simple class to control print indentation
Definition vtkIndent.h:108
Represent a string by its integer hash.
An internal query object for transcribing cells from input to output.