VTK  9.4.20241108
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
10#ifndef vtkDGTranscribeUnstructuredCells_h
11#define vtkDGTranscribeUnstructuredCells_h
12
14#include "vtkFiltersCellGridModule.h" // For export macro
15#include "vtkNew.h" // for ivar
16#include "vtkUnstructuredGridToCellGrid.h" // for query template-parameter
17
18VTK_ABI_NAMESPACE_BEGIN
19
20class vtkDGCell;
21
22class VTKFILTERSCELLGRID_EXPORT vtkDGTranscribeUnstructuredCells
23 : public vtkCellGridResponder<vtkUnstructuredGridToCellGrid::TranscribeQuery>
24{
25public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
34 bool Query(
35 TranscribeQuery* query, vtkCellMetadata* cellType, vtkCellGridResponders* caches) override;
36
37protected:
40
43
44private:
46 void operator=(const vtkDGTranscribeUnstructuredCells&) = delete;
47};
48
49VTK_ABI_NAMESPACE_END
50#endif // vtkDGTranscribeUnstructuredCells_h
Respond to a query on one particular type of cell.
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
Transcribe unstructured-grid cells as vtkDGCell subclasses.
bool TranscribeMatchingCells(TranscribeQuery *query, vtkDGCell *cellType)
void AddPointAttributes(TranscribeQuery *query, vtkDGCell *dgCell)
~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.
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
An internal query object for transcribing cells from input to output.