VTK  9.0.3
vtkmCoordinateSystemTransform.h
Go to the documentation of this file.
1 //=============================================================================
2 //
3 // Copyright (c) Kitware, Inc.
4 // All rights reserved.
5 // See LICENSE.txt for details.
6 //
7 // This software is distributed WITHOUT ANY WARRANTY; without even
8 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9 // PURPOSE. See the above copyright notice for more information.
10 //
11 // Copyright 2012 Sandia Corporation.
12 // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
13 // the U.S. Government retains certain rights in this software.
14 //
15 //=============================================================================
25 #ifndef vtkmCoordinateSystemTransform_h
26 #define vtkmCoordinateSystemTransform_h
27 
28 #include "vtkAcceleratorsVTKmModule.h" // required for correct export
29 #include "vtkPointSetAlgorithm.h"
30 
31 class VTKACCELERATORSVTKM_EXPORT vtkmCoordinateSystemTransform : public vtkPointSetAlgorithm
32 {
33  enum struct TransformTypes
34  {
35  None,
36  CarToCyl,
37  CylToCar,
38  CarToSph,
39  SphToCar
40  };
41 
42 public:
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
47 
50 
53 
55 
56 protected:
59 
61  vtkInformationVector* outputVector) override;
63 
64 private:
66  void operator=(const vtkmCoordinateSystemTransform&) = delete;
67 
68  TransformTypes TransformType;
69 };
70 
71 #endif // vtkmCoordinateSystemTransform_h
72 
73 // VTK-HeaderTest-Exclude: vtkmCoordinateSystemTransform.h
a simple class to control print indentation
Definition: vtkIndent.h:34
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.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453