VTK: Common/DataModel/vtkCellGridResponderBase.h Source File

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