VTK  9.7.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 
21 class VTKFILTERSCELLGRID_EXPORT vtkDGBoundsResponder
22  : public vtkCellGridResponder<vtkCellGridBoundsQuery>
23 {
24 public:
25  static vtkDGBoundsResponder* New();
27 
28  bool Query(vtkCellGridBoundsQuery* query, vtkCellMetadata* cellType,
29  vtkCellGridResponders* caches) override;
30 
31 protected:
32  vtkDGBoundsResponder() = default;
33  ~vtkDGBoundsResponder() override = default;
34 
35 private:
37  void operator=(const vtkDGBoundsResponder&) = delete;
38 };
39 
40 VTK_ABI_NAMESPACE_END
41 #endif // vtkDGBoundsResponder_h
42 // VTK-HeaderTest-Exclude: vtkDGBoundsResponder.h
Compute the geometric bounds of a cell-grid.
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...