VTK
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 =========================================================================*/
30 #ifndef __vtkTransformCoordinateSystems_h
31 #define __vtkTransformCoordinateSystems_h
32 
33 #include "vtkPointSetAlgorithm.h"
34 #include "vtkCoordinate.h" //to get the defines in vtkCoordinate
35 
37 {
38 public:
40 
42  void PrintSelf(ostream& os, vtkIndent indent);
44 
48 
50 
53  vtkSetMacro(InputCoordinateSystem, int);
54  vtkGetMacro(InputCoordinateSystem, int);
56  {this->SetInputCoordinateSystem(VTK_DISPLAY);}
58  {this->SetInputCoordinateSystem(VTK_VIEWPORT);}
60  {this->SetInputCoordinateSystem(VTK_WORLD);}
62 
64 
67  vtkSetMacro(OutputCoordinateSystem, int);
68  vtkGetMacro(OutputCoordinateSystem, int);
70  {this->SetOutputCoordinateSystem(VTK_DISPLAY);}
72  {this->SetOutputCoordinateSystem(VTK_VIEWPORT);}
74  {this->SetOutputCoordinateSystem(VTK_WORLD);}
76 
78  unsigned long GetMTime();
79 
81 
86  void SetViewport(vtkViewport *viewport);
87  vtkGetObjectMacro(Viewport,vtkViewport);
89 
90 protected:
93 
95 
99 
101 
102 private:
104  void operator=(const vtkTransformCoordinateSystems&); // Not implemented.
105 };
106 
107 #endif