VTK  9.3.1
vtkDGBoundsResponder.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 vtkDGBoundsResponder_h
11 #define vtkDGBoundsResponder_h
12 
13 #include "vtkFiltersCellGridModule.h" // for export macro
14 
15 #include "vtkCellGridBoundsQuery.h" // for inheritance
16 #include "vtkCellGridResponder.h"
17 
18 VTK_ABI_NAMESPACE_BEGIN
19 class vtkCellMetadata;
20 class vtkDGBoundsResponders;
21 
22 class VTKFILTERSCELLGRID_EXPORT vtkDGBoundsResponder
23  : public vtkCellGridResponder<vtkCellGridBoundsQuery>
24 {
25 public:
26  static vtkDGBoundsResponder* New();
28 
29  bool Query(vtkCellGridBoundsQuery* query, vtkCellMetadata* cellType,
30  vtkCellGridResponders* caches) override;
31 
32 protected:
33  vtkDGBoundsResponder() = default;
34  ~vtkDGBoundsResponder() override = default;
35 
36 private:
38  void operator=(const vtkDGBoundsResponder&) = delete;
39 };
40 
41 VTK_ABI_NAMESPACE_END
42 #endif // vtkDGBoundsResponder_h
43 // VTK-HeaderTest-Exclude: vtkDGBoundsResponder.h
Perform an operation on cells in a vtkCellMetadata instance.
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 ...
virtual bool Query(QueryClass *query, vtkCellMetadata *cellType, vtkCellGridResponders *caches)=0
Respond to a query on one particular type of cell.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...