VTK  9.3.20240918
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
16VTK_ABI_NAMESPACE_BEGIN
18class vtkCellMetadata;
20
21class VTKCOMMONDATAMODEL_EXPORT vtkCellGridResponderBase : public vtkObject
22{
23public:
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
34protected:
36 ~vtkCellGridResponderBase() override = default;
37
38private:
40 void operator=(const vtkCellGridResponderBase&) = delete;
41};
42
43VTK_ABI_NAMESPACE_END
44#endif // vtkCellGridResponderBase_h
Perform an operation on cells in a vtkCellMetadata instance.
Respond to a query on one particular type of cell.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkCellGridResponderBase() override=default
virtual bool EvaluateQuery(vtkCellGridQuery *query, vtkCellMetadata *cellType, vtkCellGridResponders *caches)=0
Respond to the query for cells of cellType, possibly using caches.
vtkCellGridResponderBase()=default
A container that holds objects able to respond to queries specialized for particular vtkCellMetadata ...
Metadata for a particular type of cell (finite element).
a simple class to control print indentation
Definition vtkIndent.h:108
abstract base class for most VTK objects
Definition vtkObject.h:162