46 #ifndef vtkCubeAxesActor2D_h
47 #define vtkCubeAxesActor2D_h
49 #include "vtkRenderingAnnotationModule.h"
55 class vtkCubeAxesActor2DConnection;
103 void SetViewProp(
vtkProp* prop);
104 vtkGetObjectMacro(ViewProp,
vtkProp);
114 vtkSetVector6Macro(Bounds,
double);
116 void GetBounds(
double& xmin,
double& xmax,
double& ymin,
double& ymax,
117 double& zmin,
double& zmax);
118 void GetBounds(
double bounds[6]);
127 vtkSetVector6Macro(Ranges,
double);
129 void GetRanges(
double& xmin,
double& xmax,
double& ymin,
double& ymax,
130 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);
181 {this->SetFlyMode(VTK_FLY_OUTER_EDGES);};
183 {this->SetFlyMode(VTK_FLY_CLOSEST_TRIAD);};
185 {this->SetFlyMode(VTK_FLY_NONE);};
206 vtkSetClampMacro(NumberOfLabels,
int, 0, 50);
207 vtkGetMacro(NumberOfLabels,
int);
215 vtkSetStringMacro(XLabel);
216 vtkGetStringMacro(XLabel);
217 vtkSetStringMacro(YLabel);
218 vtkGetStringMacro(YLabel);
219 vtkSetStringMacro(ZLabel);
220 vtkGetStringMacro(ZLabel);
228 {
return this->XAxis;}
230 {
return this->YAxis;}
232 {
return this->ZAxis;}
257 vtkSetStringMacro(LabelFormat);
258 vtkGetStringMacro(LabelFormat);
266 vtkSetClampMacro(FontFactor,
double, 0.1, 2.0);
267 vtkGetMacro(FontFactor,
double);
277 vtkGetMacro(Inertia,
int);
289 vtkSetClampMacro(ShowActualBounds,
int, 0, 1);
290 vtkGetMacro(ShowActualBounds,
int);
299 vtkSetMacro(CornerOffset,
double);
300 vtkGetMacro(CornerOffset,
double);
381 void TransformBounds(
vtkViewport *viewport,
double bounds[6],
383 int ClipBounds(
vtkViewport *viewport,
double pts[8][3],
double bounds[6]);
384 double EvaluatePoint(
double planes[24],
double x[3]);
385 double EvaluateBounds(
double planes[24],
double bounds[6]);
386 void AdjustAxes(
double pts[8][3],
double bounds[6],
387 int idx,
int xIdx,
int yIdx,
int zIdx,
int zIdx2,
388 int xAxes,
int yAxes,
int zAxes,
389 double xCoords[4],
double yCoords[4],
double zCoords[4],
390 double xRange[2],
double yRange[2],
double zRange[2]);