VTK  9.3.1
vtkCellGridResponderBase.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 vtkCellGridResponderBase_h
11 #define vtkCellGridResponderBase_h
12 
13 #include "vtkCommonDataModelModule.h" // For export macro
14 #include "vtkObject.h"
15 
16 VTK_ABI_NAMESPACE_BEGIN
17 class vtkCellGridQuery;
18 class vtkCellMetadata;
20 
21 class VTKCOMMONDATAMODEL_EXPORT vtkCellGridResponderBase : public vtkObject
22 {
23 public:
25  void PrintSelf(ostream& os, vtkIndent indent) override
26  {
27  this->Superclass::PrintSelf(os, indent);
28  }
29 
31  virtual bool EvaluateQuery(
32  vtkCellGridQuery* query, vtkCellMetadata* cellType, vtkCellGridResponders* caches) = 0;
33 
34 protected:
35  vtkCellGridResponderBase() = default;
36  ~vtkCellGridResponderBase() override = default;
37 
38 private:
40  void operator=(const vtkCellGridResponderBase&) = delete;
41 };
42 
43 VTK_ABI_NAMESPACE_END
44 #endif // vtkCellGridResponderBase_h
Respond to a query on one particular type of cell.
Perform an operation on cells in a vtkCellMetadata instance.
abstract base class for most VTK objects
Definition: vtkObject.h:51
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
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.