VTK  9.5.20251110
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
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
24VTK_ABI_NAMESPACE_BEGIN
26
27class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmPointTransform : public vtkPointSetAlgorithm
28{
29public:
31 void PrintSelf(ostream& os, vtkIndent indent) override;
32#ifndef __VTK_WRAP__
33#undef vtkPointSetAlgorithm
34#endif
36
38
42 vtkGetObjectMacro(Transform, vtkHomogeneousTransform);
44
45 int FillInputPortInformation(int port, vtkInformation* info) override;
46
47protected:
51 vtkInformationVector* outputVector) override;
54
55private:
57 void operator=(const vtkmPointTransform&) = delete;
58 vtkmInitializer Initializer;
59};
60
61VTK_ABI_NAMESPACE_END
62#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 viskores 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.
static vtkmPointTransform * New()
vtkHomogeneousTransform * Transform
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkmPointTransform() override