VTK  9.7.20261002
vtkTransformCoordinateSystems.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
18
19#ifndef vtkTransformCoordinateSystems_h
20#define vtkTransformCoordinateSystems_h
21
22#include "vtkCoordinate.h" //to get the defines in vtkCoordinate
24#include "vtkRenderingCoreModule.h" // For export macro
25#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
26
27VTK_ABI_NAMESPACE_BEGIN
30{
31public:
33
37 void PrintSelf(ostream& os, vtkIndent indent) override;
39
45
47
52 vtkSetMacro(InputCoordinateSystem, int);
53 vtkGetMacro(InputCoordinateSystem, int);
58
60
65 vtkSetMacro(OutputCoordinateSystem, int);
66 vtkGetMacro(OutputCoordinateSystem, int);
71
76
78
85 void SetViewport(vtkViewport* viewport);
86 vtkGetObjectMacro(Viewport, vtkViewport);
88
89protected:
92
94
98
100
101private:
103 void operator=(const vtkTransformCoordinateSystems&) = delete;
104};
105
106VTK_ABI_NAMESPACE_END
107#endif
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
virtual void SetInputCoordinateSystem(int)
Set/get the coordinate system in which the input is specified.
void SetInputCoordinateSystemToViewport()
Set/get the coordinate system in which the input is specified.
vtkMTimeType GetMTime() override
Return the MTime also considering the instance of vtkCoordinate.
void SetViewport(vtkViewport *viewport)
In order for a successful coordinate transformation to occur, an instance of vtkViewport (e....
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
void SetOutputCoordinateSystemToWorld()
Set/get the coordinate system to which to transform the output.
void SetInputCoordinateSystemToDisplay()
Set/get the coordinate system in which the input is specified.
virtual void SetOutputCoordinateSystem(int)
Set/get the coordinate system to which to transform the output.
~vtkTransformCoordinateSystems() override
void SetOutputCoordinateSystemToViewport()
Set/get the coordinate system to which to transform the output.
void SetOutputCoordinateSystemToDisplay()
Set/get the coordinate system to which to transform the output.
static vtkTransformCoordinateSystems * New()
Instantiate this class.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetInputCoordinateSystemToWorld()
Set/get the coordinate system in which the input is specified.
abstract specification for Viewports
Definition vtkViewport.h:66
#define VTK_DISPLAY
#define VTK_WORLD
#define VTK_VIEWPORT
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:318
#define VTK_MARSHALAUTO