VTK  9.1.0
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 "vtkAcceleratorsVTKmFiltersModule.h" // required for correct export
30
31class VTKACCELERATORSVTKMFILTERS_EXPORT vtkmCoordinateSystemTransform : public vtkPointSetAlgorithm
32{
33 enum struct TransformTypes
34 {
35 None,
36 CarToCyl,
37 CylToCar,
38 CarToSph,
39 SphToCar
40 };
41
42public:
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
47
50
53
55
56protected:
59
61 vtkInformationVector* outputVector) override;
63
64private:
66 void operator=(const vtkmCoordinateSystemTransform&) = delete;
67
68 TransformTypes TransformType;
69};
70
71#endif // vtkmCoordinateSystemTransform_h
a simple class to control print indentation
Definition: vtkIndent.h:113
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