VTK  9.3.20240329
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 
29 
31 
35  vtkGetObjectMacro(Transform, vtkHomogeneousTransform);
37 
39 
40 protected:
42  ~vtkmPointTransform() override;
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
superclass for homogeneous transformations
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
transform points via vtkm PointTransform filter
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
void SetTransform(vtkHomogeneousTransform *tf)
Specify the transform object used to transform the points.
vtkHomogeneousTransform * Transform
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkmPointTransform() override
static vtkmPointTransform * New()
@ Transform
Definition: vtkX3D.h:41
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447