46 #ifndef vtkCubeAxesActor2D_h
47 #define vtkCubeAxesActor2D_h
50 #include "vtkRenderingAnnotationModule.h"
55 class vtkCubeAxesActor2DConnection;
103 void SetViewProp(
vtkProp* prop);
104 vtkGetObjectMacro(ViewProp,
vtkProp);
114 vtkSetVector6Macro(Bounds,
double);
117 double& xmin,
double& xmax,
double& ymin,
double& ymax,
double& zmin,
double& zmax);
118 void GetBounds(
double bounds[6]);
127 vtkSetVector6Macro(Ranges,
double);
130 double& xmin,
double& xmax,
double& ymin,
double& ymax,
double& zmin,
double& zmax);
131 void GetRanges(
double ranges[6]);
140 vtkSetMacro(XOrigin,
double);
141 vtkSetMacro(YOrigin,
double);
142 vtkSetMacro(ZOrigin,
double);
167 VTK_FLY_OUTER_EDGES = 0,
168 VTK_FLY_CLOSEST_TRIAD = 1,
178 vtkSetClampMacro(FlyMode,
int, VTK_FLY_OUTER_EDGES, VTK_FLY_NONE);
179 vtkGetMacro(FlyMode,
int);
203 vtkSetClampMacro(NumberOfLabels,
int, 0, 50);
204 vtkGetMacro(NumberOfLabels,
int);
212 vtkSetStringMacro(XLabel);
213 vtkGetStringMacro(XLabel);
214 vtkSetStringMacro(YLabel);
215 vtkGetStringMacro(YLabel);
216 vtkSetStringMacro(ZLabel);
217 vtkGetStringMacro(ZLabel);
251 vtkSetStringMacro(LabelFormat);
252 vtkGetStringMacro(LabelFormat);
260 vtkSetClampMacro(FontFactor,
double, 0.1, 2.0);
261 vtkGetMacro(FontFactor,
double);
271 vtkGetMacro(Inertia,
int);
283 vtkSetClampMacro(ShowActualBounds,
int, 0, 1);
284 vtkGetMacro(ShowActualBounds,
int);
293 vtkSetMacro(CornerOffset,
double);
294 vtkGetMacro(CornerOffset,
double);
375 void TransformBounds(
vtkViewport* viewport,
double bounds[6],
double pts[8][3]);
376 int ClipBounds(
vtkViewport* viewport,
double pts[8][3],
double bounds[6]);
377 double EvaluatePoint(
double planes[24],
double x[3]);
378 double EvaluateBounds(
double planes[24],
double bounds[6]);
379 void AdjustAxes(
double pts[8][3],
double bounds[6],
int idx,
int xIdx,
int yIdx,
int zIdx,
380 int zIdx2,
int xAxes,
int yAxes,
int zAxes,
double xCoords[4],
double yCoords[4],
381 double zCoords[4],
double xRange[2],
double yRange[2],
double zRange[2]);