VTK  9.7.1
vtkDGTranscribeCellGridCells.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 vtkDGTranscribeCellGridCells_h
11 #define vtkDGTranscribeCellGridCells_h
12 
13 #include "vtkFiltersCellGridModule.h" // for export macro
14 
15 #include "vtkCellGridResponder.h"
16 #include "vtkCellGridToUnstructuredGrid.h" // for inheritance
17 
18 VTK_ABI_NAMESPACE_BEGIN
19 class vtkCellMetadata;
20 class vtkDGCell;
21 
22 class VTKFILTERSCELLGRID_EXPORT vtkDGTranscribeCellGridCells
23  : public vtkCellGridResponder<vtkCellGridToUnstructuredGrid::Query>
24 {
25 public:
28  vtkTypeMacro(
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
32  bool Query(
33  TranscribeQuery* query, vtkCellMetadata* cellType, vtkCellGridResponders* caches) override;
34 
35 protected:
36  vtkDGTranscribeCellGridCells() = default;
37  ~vtkDGTranscribeCellGridCells() override = default;
38 
39  void GenerateConnectivity(
40  TranscribeQuery* request, vtkDGCell* cellType, vtkCellGridResponders* caches);
41  void GeneratePointData(
42  TranscribeQuery* request, vtkDGCell* cellType, vtkCellGridResponders* caches);
43 
44 private:
46  void operator=(const vtkDGTranscribeCellGridCells&) = delete;
47 };
48 
49 VTK_ABI_NAMESPACE_END
50 #endif // vtkDGTranscribeCellGridCells_h
51 // VTK-HeaderTest-Exclude: vtkDGTranscribeCellGridCells.h
Respond to a query on one particular type of cell.
Metadata for a particular type of cell (finite element).
A container that holds objects able to respond to queries specialized for particular vtkCellMetadata ...
a simple class to control print indentation
Definition: vtkIndent.h:28
Base class for a discontinuous Galerkin cells of all shapes.
Definition: vtkDGCell.h:43
Respond to a query on one particular type of cell.
virtual bool Query(QueryClass *query, vtkCellMetadata *cellType, vtkCellGridResponders *caches)=0
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
A query corresponding to this algorithm.