VTK  9.3.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 "vtkmlib/vtkmInitializer.h" // Need for initializing vtk-m
18 
19 VTK_ABI_NAMESPACE_BEGIN
21 
22 class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmPointTransform : public vtkPointSetAlgorithm
23 {
24 public:
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
28  static vtkmPointTransform* New();
29 
31 
34  void SetTransform(vtkHomogeneousTransform* tf);
35  vtkGetObjectMacro(Transform, vtkHomogeneousTransform);
37 
39 
40 protected:
42  ~vtkmPointTransform() override;
43  int RequestDataObject(vtkInformation* request, vtkInformationVector** inputVector,
44  vtkInformationVector* outputVector) override;
47 
48 private:
49  vtkmPointTransform(const vtkmPointTransform&) = delete;
50  void operator=(const vtkmPointTransform&) = delete;
51  vtkmInitializer Initializer;
52 };
53 
54 VTK_ABI_NAMESPACE_END
55 #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
Methods invoked by print to print information about the object including superclasses.
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 produce output of the same type as input.
vtkHomogeneousTransform * Transform
static vtkPointSetAlgorithm * New()
Store zero or more vtkInformation instances.
transform points via vtkm PointTransform filter