VTK  9.7.1
vtkDGIOResponder.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
14 #ifndef vtkDGIOResponder_h
15 #define vtkDGIOResponder_h
16 
17 #include "vtkCellGridIOQuery.h" // For base class
18 #include "vtkCellGridResponder.h"
19 #include "vtkSmartPointer.h" // For SmartPointer
20 
21 #include <string> // For std::string
22 #include <vector> // For std::vector
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 
26 class VTKIOCELLGRID_EXPORT vtkDGIOResponder : public vtkCellGridResponder<vtkCellGridIOQuery>
27 {
28 public:
29  static vtkDGIOResponder* New();
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 
33  bool Query(
34  vtkCellGridIOQuery* query, vtkCellMetadata* cellType, vtkCellGridResponders* caches) override;
35 
36 protected:
37  vtkDGIOResponder() = default;
38  ~vtkDGIOResponder() override = default;
39 
40 private:
41  vtkDGIOResponder(const vtkDGIOResponder&) = delete;
42  void operator=(const vtkDGIOResponder&) = delete;
43 };
44 
45 VTK_ABI_NAMESPACE_END
46 #endif
47 // VTK-HeaderTest-Exclude: vtkDGIOResponder.h
Respond to a query on one particular type of cell.
Metadata for a particular type of cell (finite element).
A container that holds objects able to respond to queries specialized for particular vtkCellMetadata ...
Serialize/deserialize vtkCellMetadata records.
a simple class to control print indentation
Definition: vtkIndent.h:28
Read/write metadata specific to discontinuous Galerkin cells.
virtual bool Query(QueryClass *query, vtkCellMetadata *cellType, vtkCellGridResponders *caches)=0
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...