10#ifndef vtkCellGridResponder_h
11#define vtkCellGridResponder_h
15VTK_ABI_NAMESPACE_BEGIN
16template <
typename QueryClass>
29 auto* qq =
dynamic_cast<QueryClass*
>(query);
32 return this->Query(qq, cellType, caches);
Perform an operation on cells in a vtkCellMetadata instance.
Respond to a query on one particular type of cell.
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.
~vtkCellGridResponder() override=default
vtkCellGridResponder()=default
virtual bool Query(QueryClass *query, vtkCellMetadata *cellType, vtkCellGridResponders *caches)=0
bool EvaluateQuery(vtkCellGridQuery *query, vtkCellMetadata *cellType, vtkCellGridResponders *caches) override
Respond to the query for cells of cellType, possibly using caches.
A container that holds objects able to respond to queries specialized for particular vtkCellMetadata ...
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_ALWAYS_EXPORT