VTK  9.7.1
vtkmPointTransform.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
12 #ifndef vtkmPointTransform_h
13 #define vtkmPointTransform_h
14 
15 #include "vtkAcceleratorsVTKmFiltersModule.h" // For export macro
16 #include "vtkPointSetAlgorithm.h"
17 #include "vtkmAlgorithm.h" // For vtkmAlgorithm
18 #include "vtkmlib/vtkmInitializer.h" // Need for initializing viskores
19 
20 #ifndef __VTK_WRAP__
21 #define vtkPointSetAlgorithm vtkmAlgorithm<vtkPointSetAlgorithm>
22 #endif
23 
24 VTK_ABI_NAMESPACE_BEGIN
26 
27 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmPointTransform : public vtkPointSetAlgorithm
28 {
29 public:
31  void PrintSelf(ostream& os, vtkIndent indent) override;
32 #ifndef __VTK_WRAP__
33 #undef vtkPointSetAlgorithm
34 #endif
35  static vtkmPointTransform* New();
36 
38 
41  void SetTransform(vtkHomogeneousTransform* tf);
42  vtkGetObjectMacro(Transform, vtkHomogeneousTransform);
44 
46 
47 protected:
49  ~vtkmPointTransform() override;
50  int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
51  vtkInformationVector* outputVector) override;
54 
55 private:
56  vtkmPointTransform(const vtkmPointTransform&) = delete;
57  void operator=(const vtkmPointTransform&) = delete;
58  vtkmInitializer Initializer;
59 };
60 
61 VTK_ABI_NAMESPACE_END
62 #endif
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
Store vtkAlgorithm input/output information.
superclass for homogeneous transformations
virtual int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing instances of the class...
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
a simple class to control print indentation
Definition: vtkIndent.h:28
Superclass for algorithms that process vtkPointSet input.
vtkHomogeneousTransform * Transform
static vtkPointSetAlgorithm * New()
Standard methods for instantiation, obtaining type information, and printing instances of the class...
Store zero or more vtkInformation instances.
transform points via viskores PointTransform filter