54 #ifndef __vtkCoordinate_h
55 #define __vtkCoordinate_h
61 #define VTK_NORMALIZED_DISPLAY 1
62 #define VTK_VIEWPORT 2
63 #define VTK_NORMALIZED_VIEWPORT 3
66 #define VTK_USERDEFINED 6
82 vtkSetMacro(CoordinateSystem,
int);
83 vtkGetMacro(CoordinateSystem,
int);
95 const char *GetCoordinateSystemAsString ();
100 vtkSetVector3Macro(Value,
double);
101 vtkGetVector3Macro(Value,
double);
130 double *GetComputedDoubleViewportValue(
vtkViewport *);
131 double *GetComputedDoubleDisplayValue(
vtkViewport *);
145 {
return this->Value; }
156 double ComputedWorldValue[3];
157 int ComputedDisplayValue[2];
158 int ComputedViewportValue[2];
161 double ComputedDoubleDisplayValue[2];
162 double ComputedDoubleViewportValue[2];
163 double ComputedUserDefinedValue[3];
void SetCoordinateSystemToWorld()
abstract base class for most VTK objects
void SetCoordinateSystemToNormalizedViewport()
abstract specification for Viewports
void SetValue(double a, double b)
#define VTK_NORMALIZED_VIEWPORT
void SetCoordinateSystemToDisplay()
vtkCoordinate * ReferenceCoordinate
void SetCoordinateSystemToNormalizedDisplay()
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
void SetCoordinateSystemToView()
#define VTK_NORMALIZED_DISPLAY
void SetCoordinateSystemToViewport()
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
virtual double * GetComputedUserDefinedValue(vtkViewport *)