VTK  9.3.20240422
vtkmCoordinateSystemTransform.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
14#ifndef vtkmCoordinateSystemTransform_h
15#define vtkmCoordinateSystemTransform_h
16
17#include "vtkAcceleratorsVTKmFiltersModule.h" // required for correct export
19#include "vtkmlib/vtkmInitializer.h" // Need for initializing vtk-m
20
21VTK_ABI_NAMESPACE_BEGIN
22class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmCoordinateSystemTransform : public vtkPointSetAlgorithm
23{
24 enum struct TransformTypes
25 {
26 None,
27 CarToCyl,
28 CylToCar,
29 CarToSph,
30 SphToCar
31 };
32
33public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
38
41
44
45 int FillInputPortInformation(int port, vtkInformation* info) override;
46
47protected:
50
52 vtkInformationVector* outputVector) override;
54
55private:
57 void operator=(const vtkmCoordinateSystemTransform&) = delete;
58
59 TransformTypes TransformType;
60 vtkmInitializer Initializer;
61};
62
63VTK_ABI_NAMESPACE_END
64#endif // vtkmCoordinateSystemTransform_h
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 a coordinate system between Cartesian&Cylindrical and Cartesian&Spherical
~vtkmCoordinateSystemTransform() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestDataObject(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkmCoordinateSystemTransform * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.