VTK  9.7.1
vtkDGWarp.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 vtkDGWarp_h
11 #define vtkDGWarp_h
12 
13 #include "vtkCellGridResponder.h"
14 #include "vtkCellGridWarp.h" // for inheritance
15 
16 VTK_ABI_NAMESPACE_BEGIN
17 class vtkCellMetadata;
18 
19 class VTKFILTERSCELLGRID_EXPORT vtkDGWarp : public vtkCellGridResponder<vtkCellGridWarp::Query>
20 {
21 public:
22  static vtkDGWarp* New();
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
26  bool Query(vtkCellGridWarp::Query* query, vtkCellMetadata* cellType,
27  vtkCellGridResponders* caches) override;
28 
29 protected:
30  vtkDGWarp() = default;
31  ~vtkDGWarp() override = default;
32 
33 private:
34  vtkDGWarp(const vtkDGWarp&) = delete;
35  void operator=(const vtkDGWarp&) = delete;
36 };
37 
38 VTK_ABI_NAMESPACE_END
39 #endif // vtkDGWarp_h
40 // VTK-HeaderTest-Exclude: vtkDGWarp.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 ...
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual bool Query(QueryClass *query, vtkCellMetadata *cellType, vtkCellGridResponders *caches)=0
Respond to a "warp" query on one particular type of cell.
Definition: vtkDGWarp.h:19
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...
Cell-grid query used to apply deformations to an input shape attribute.