55 #ifndef vtkCoordinate_h
56 #define vtkCoordinate_h
58 #include "vtkRenderingCoreModule.h"
63 #define VTK_NORMALIZED_DISPLAY 1
64 #define VTK_VIEWPORT 2
65 #define VTK_NORMALIZED_VIEWPORT 3
68 #define VTK_USERDEFINED 6
89 vtkGetMacro(CoordinateSystem,
int);
99 { this->SetCoordinateSystem(
VTK_VIEW); }
101 { this->SetCoordinateSystem(
VTK_WORLD); }
104 const char *GetCoordinateSystemAsString ();
111 vtkSetVector3Macro(Value,
double);
112 vtkGetVector3Macro(Value,
double);
114 { this->SetValue(a, b, 0.0); }
149 double *GetComputedDoubleViewportValue(
vtkViewport *);
150 double *GetComputedDoubleDisplayValue(
vtkViewport *);
168 {
return this->Value; }
178 double ComputedWorldValue[3];
179 int ComputedDisplayValue[2];
180 int ComputedViewportValue[2];
183 double ComputedDoubleDisplayValue[2];
184 double ComputedDoubleViewportValue[2];
185 double ComputedUserDefinedValue[3];