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 "vtkRenderingCoreModule.h" // For export macro
34 #include "vtkPointSetAlgorithm.h"
35 #include "vtkCoordinate.h" //to get the defines in vtkCoordinate
36 
38 {
39 public:
41 
43  void PrintSelf(ostream& os, vtkIndent indent);
45 
49 
51 
54  vtkSetMacro(InputCoordinateSystem, int);
55  vtkGetMacro(InputCoordinateSystem, int);
57  { this->SetInputCoordinateSystem(VTK_DISPLAY); }
59  { this->SetInputCoordinateSystem(VTK_VIEWPORT); }
61  { this->SetInputCoordinateSystem(VTK_WORLD); }
63 
65 
68  vtkSetMacro(OutputCoordinateSystem, int);
69  vtkGetMacro(OutputCoordinateSystem, int);
71  { this->SetOutputCoordinateSystem(VTK_DISPLAY); }
73  { this->SetOutputCoordinateSystem(VTK_VIEWPORT); }
75  { this->SetOutputCoordinateSystem(VTK_WORLD); }
77 
79  unsigned long GetMTime();
80 
82 
87  void SetViewport(vtkViewport* viewport);
88  vtkGetObjectMacro(Viewport, vtkViewport);
90 
91 protected:
94 
96 
100 
102 
103 private:
105  void operator=(const vtkTransformCoordinateSystems&); // Not implemented.
106 };
107 
108 #endif
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Store vtkAlgorithm input/output information.
abstract specification for Viewports
Definition: vtkViewport.h:46
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTK_VIEWPORT
Definition: vtkCoordinate.h:63
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:69
static vtkPointSetAlgorithm * New()
#define VTKRENDERINGCORE_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
#define VTK_WORLD
Definition: vtkCoordinate.h:66
#define VTK_DISPLAY
Definition: vtkCoordinate.h:61