51 #ifndef vtkCoordinate_h
52 #define vtkCoordinate_h
55 #include "vtkRenderingCoreModule.h"
56 VTK_ABI_NAMESPACE_BEGIN
60 #define VTK_NORMALIZED_DISPLAY 1
61 #define VTK_VIEWPORT 2
62 #define VTK_NORMALIZED_VIEWPORT 3
66 #define VTK_USERDEFINED 7
86 vtkSetMacro(CoordinateSystem,
int);
87 vtkGetMacro(CoordinateSystem,
int);
103 const char* GetCoordinateSystemAsString();
110 vtkSetVector3Macro(Value,
double);
111 vtkGetVector3Macro(Value,
double);
143 int* GetComputedDisplayValue(
vtkViewport*) VTK_SIZEHINT(2);
144 int* GetComputedLocalDisplayValue(
vtkViewport*) VTK_SIZEHINT(2);
147 double* GetComputedDoubleViewportValue(
vtkViewport*) VTK_SIZEHINT(2);
148 double* GetComputedDoubleDisplayValue(
vtkViewport*) VTK_SIZEHINT(2);
156 double* GetComputedValue(
vtkViewport*) VTK_SIZEHINT(3);
165 virtual
double* GetComputedUserDefinedValue(
vtkViewport*) VTK_SIZEHINT(3) {
return this->Value; }
175 double ComputedWorldValue[3];
176 int ComputedDisplayValue[2];
177 int ComputedViewportValue[2];
180 double ComputedDoubleDisplayValue[2];
181 double ComputedDoubleViewportValue[2];
182 double ComputedUserDefinedValue[3];
189 VTK_ABI_NAMESPACE_END
void SetCoordinateSystemToWorld()
Set/get the coordinate system which this coordinate is defined in.
abstract base class for most VTK objects
void SetCoordinateSystemToNormalizedViewport()
Set/get the coordinate system which this coordinate is defined in.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for Viewports
void SetValue(double a, double b)
Set/get the value of this coordinate.
#define VTK_NORMALIZED_VIEWPORT
void SetCoordinateSystemToDisplay()
Set/get the coordinate system which this coordinate is defined in.
vtkCoordinate * ReferenceCoordinate
void SetCoordinateSystemToNormalizedDisplay()
Set/get the coordinate system which this coordinate is defined in.
void SetCoordinateSystemToPose()
Set/get the coordinate system which this coordinate is defined in.
a simple class to control print indentation
void SetCoordinateSystemToView()
Set/get the coordinate system which this coordinate is defined in.
#define VTK_NORMALIZED_DISPLAY
#define VTK_SIZEHINT(...)
void SetCoordinateSystemToViewport()
Set/get the coordinate system which this coordinate is defined in.
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...