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
#define VTK_GRAPHICS_EXPORT
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store vtkAlgorithm input/output information.
abstract specification for Viewports
Definition: vtkViewport.h:45
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_VIEWPORT
Definition: vtkCoordinate.h:62
Superclass for algorithms that produce output of the same type as input.
transform points into different coordinate systems
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
Definition: vtkCoordinate.h:68
static vtkPointSetAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
#define VTK_WORLD
Definition: vtkCoordinate.h:65
#define VTK_DISPLAY
Definition: vtkCoordinate.h:60