VTK  9.7.1
vtkDGElevationResponder.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 vtkDGElevationResponder_h
11 #define vtkDGElevationResponder_h
12 
13 #include "vtkFiltersCellGridModule.h" // for export macro
14 
15 #include "vtkCellGridElevationQuery.h" // for inheritance
16 #include "vtkCellGridResponder.h"
17 
18 VTK_ABI_NAMESPACE_BEGIN
19 class vtkCellMetadata;
20 
21 class VTKFILTERSCELLGRID_EXPORT vtkDGElevationResponder
22  : public vtkCellGridResponder<vtkCellGridElevationQuery>
23 {
24 public:
25  static vtkDGElevationResponder* New();
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
29  bool Query(vtkCellGridElevationQuery* query, vtkCellMetadata* cellType,
30  vtkCellGridResponders* caches) override;
31 
32 protected:
33  vtkDGElevationResponder() = default;
34  ~vtkDGElevationResponder() override = default;
35 
36 private:
38  void operator=(const vtkDGElevationResponder&) = delete;
39 };
40 
41 VTK_ABI_NAMESPACE_END
42 #endif // vtkDGElevationResponder_h
43 // VTK-HeaderTest-Exclude: vtkDGElevationResponder.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 cell-grid query for creating an "elevation" field.
a simple class to control print indentation
Definition: vtkIndent.h:28
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...
Respond to a query on one particular type of cell.