54 #ifndef vtkCoordinate_h
55 #define vtkCoordinate_h
62 #define VTK_NORMALIZED_DISPLAY 1
63 #define VTK_VIEWPORT 2
64 #define VTK_NORMALIZED_VIEWPORT 3
67 #define VTK_USERDEFINED 6
83 vtkSetMacro(CoordinateSystem,
int);
84 vtkGetMacro(CoordinateSystem,
int);
94 { this->SetCoordinateSystem(
VTK_VIEW); }
99 const char *GetCoordinateSystemAsString ();
104 vtkSetVector3Macro(Value,
double);
105 vtkGetVector3Macro(Value,
double);
107 { this->SetValue(a, b, 0.0); }
135 double *GetComputedDoubleViewportValue(
vtkViewport *);
136 double *GetComputedDoubleDisplayValue(
vtkViewport *);
150 {
return this->Value; }
161 double ComputedWorldValue[3];
162 int ComputedDisplayValue[2];
163 int ComputedViewportValue[2];
166 double ComputedDoubleDisplayValue[2];
167 double ComputedDoubleViewportValue[2];
168 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 ...
#define VTKRENDERINGCORE_EXPORT
virtual double * GetComputedUserDefinedValue(vtkViewport *)