VTK  9.7.1
vtkmWarpScalar.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright (c) Kitware, Inc.
3 // SPDX-FileCopyrightText: Copyright 2012 Sandia Corporation.
4 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
29 #ifndef vtkmWarpScalar_h
30 #define vtkmWarpScalar_h
31 
32 #include "vtkAcceleratorsVTKmFiltersModule.h" // required for correct export
33 #include "vtkWarpScalar.h"
34 #include "vtkmAlgorithm.h" // For vtkmAlgorithm
35 #include "vtkmlib/vtkmInitializer.h" // Need for initializing viskores
36 
37 #ifndef __VTK_WRAP__
38 #define vtkWarpScalar vtkmAlgorithm<vtkWarpScalar>
39 #endif
40 
41 VTK_ABI_NAMESPACE_BEGIN
42 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmWarpScalar : public vtkWarpScalar
43 {
44 public:
45  vtkTypeMacro(vtkmWarpScalar, vtkWarpScalar);
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 #ifndef __VTK_WRAP__
48 #undef vtkWarpScalar
49 #endif
50  static vtkmWarpScalar* New();
51 
52 protected:
54  ~vtkmWarpScalar() override;
55 
57 
58 private:
59  vtkmWarpScalar(const vtkmWarpScalar&) = delete;
60  void operator=(const vtkmWarpScalar&) = delete;
61  vtkmInitializer Initializer;
62 };
63 
64 VTK_ABI_NAMESPACE_END
65 #endif // vtkmWarpScalar_h
static vtkWarpScalar * New()
Standard methods for instantiation, obtaining type information, and printing.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Store vtkAlgorithm input/output information.
deform geometry with scalar data
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
a simple class to control print indentation
Definition: vtkIndent.h:28
Store zero or more vtkInformation instances.
deform geometry with scalar data
Definition: vtkWarpScalar.h:44