VTK  9.3.0
vtkCellGridQuery.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
18#ifndef vtkCellGridQuery_h
19#define vtkCellGridQuery_h
20
21#include "vtkCommonDataModelModule.h" // For export macro
22#include "vtkObject.h"
23
24VTK_ABI_NAMESPACE_BEGIN
25
26class VTKCOMMONDATAMODEL_EXPORT vtkCellGridQuery : public vtkObject
27{
28public:
30 void PrintSelf(ostream& os, vtkIndent indent) override
31 {
32 this->Superclass::PrintSelf(os, indent);
33 }
34
36 virtual void Initialize() {}
37
39 virtual void Finalize() {}
40
41protected:
42 vtkCellGridQuery() = default;
43 ~vtkCellGridQuery() override = default;
44
45private:
46 vtkCellGridQuery(const vtkCellGridQuery&) = delete;
47 void operator=(const vtkCellGridQuery&) = delete;
48};
49
50VTK_ABI_NAMESPACE_END
51#endif // vtkCellGridQuery_h
Perform an operation on cells in a vtkCellMetadata instance.
virtual void Initialize()
Override this if your query-result state requires initialization.
~vtkCellGridQuery() override=default
vtkCellGridQuery()=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void Finalize()
Override this if your query-result state requires finalization.
a simple class to control print indentation
Definition vtkIndent.h:29
abstract base class for most VTK objects
Definition vtkObject.h:49