VTK  9.2.6
vtkTransformCoordinateSystems.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkTransformCoordinateSystems.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
27
28#ifndef vtkTransformCoordinateSystems_h
29#define vtkTransformCoordinateSystems_h
30
31#include "vtkCoordinate.h" //to get the defines in vtkCoordinate
33#include "vtkRenderingCoreModule.h" // For export macro
34
35class VTKRENDERINGCORE_EXPORT vtkTransformCoordinateSystems : public vtkPointSetAlgorithm
36{
37public:
39
43 void PrintSelf(ostream& os, vtkIndent indent) override;
45
51
53
58 vtkSetMacro(InputCoordinateSystem, int);
59 vtkGetMacro(InputCoordinateSystem, int);
64
66
71 vtkSetMacro(OutputCoordinateSystem, int);
72 vtkGetMacro(OutputCoordinateSystem, int);
77
82
84
91 void SetViewport(vtkViewport* viewport);
92 vtkGetObjectMacro(Viewport, vtkViewport);
94
95protected:
98
100
104
106
107private:
109 void operator=(const vtkTransformCoordinateSystems&) = delete;
110};
111
112#endif
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems
a simple class to control print indentation
Definition vtkIndent.h:34
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:50
#define VTK_DISPLAY
#define VTK_WORLD
#define VTK_VIEWPORT
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:287