51 #ifndef vtkCubeAxesActor2D_h
52 #define vtkCubeAxesActor2D_h
57 #define VTK_FLY_OUTER_EDGES 0
58 #define VTK_FLY_CLOSEST_TRIAD 1
59 #define VTK_FLY_NONE 2
64 class vtkCubeAxesActor2DConnection;
101 void SetViewProp(
vtkProp* prop);
102 vtkGetObjectMacro(ViewProp,
vtkProp);
110 vtkSetVector6Macro(Bounds,
double);
112 void GetBounds(
double& xmin,
double& xmax,
double& ymin,
double& ymax,
113 double& zmin,
double& zmax);
121 vtkSetVector6Macro(Ranges,
double);
123 void GetRanges(
double& xmin,
double& xmax,
double& ymin,
double& ymax,
124 double& zmin,
double& zmax);
125 void GetRanges(
double ranges[6]);
132 vtkSetMacro( XOrigin,
double );
133 vtkSetMacro( YOrigin,
double );
134 vtkSetMacro( ZOrigin,
double );
140 vtkSetMacro(UseRanges,
int);
141 vtkGetMacro(UseRanges,
int);
142 vtkBooleanMacro(UseRanges,
int);
157 vtkGetMacro(FlyMode,
int);
171 vtkSetMacro(Scaling,
int);
172 vtkGetMacro(Scaling,
int);
173 vtkBooleanMacro(Scaling,
int);
180 vtkSetClampMacro(NumberOfLabels,
int, 0, 50);
181 vtkGetMacro(NumberOfLabels,
int);
187 vtkSetStringMacro(XLabel);
188 vtkGetStringMacro(XLabel);
189 vtkSetStringMacro(YLabel);
190 vtkGetStringMacro(YLabel);
191 vtkSetStringMacro(ZLabel);
192 vtkGetStringMacro(ZLabel);
199 {
return this->XAxis;}
201 {
return this->YAxis;}
203 {
return this->ZAxis;}
223 vtkSetStringMacro(LabelFormat);
224 vtkGetStringMacro(LabelFormat);
230 vtkSetClampMacro(FontFactor,
double, 0.1, 2.0);
231 vtkGetMacro(FontFactor,
double);
239 vtkGetMacro(Inertia,
int);
249 vtkSetClampMacro(ShowActualBounds,
int, 0, 1);
250 vtkGetMacro(ShowActualBounds,
int);
257 vtkSetMacro(CornerOffset,
double);
258 vtkGetMacro(CornerOffset,
double);
268 vtkSetMacro(XAxisVisibility,
int);
269 vtkGetMacro(XAxisVisibility,
int);
270 vtkBooleanMacro(XAxisVisibility,
int);
271 vtkSetMacro(YAxisVisibility,
int);
272 vtkGetMacro(YAxisVisibility,
int);
273 vtkBooleanMacro(YAxisVisibility,
int);
274 vtkSetMacro(ZAxisVisibility,
int);
275 vtkGetMacro(ZAxisVisibility,
int);
276 vtkBooleanMacro(ZAxisVisibility,
int);
333 void TransformBounds(
vtkViewport *viewport,
double bounds[6],
335 int ClipBounds(
vtkViewport *viewport,
double pts[8][3],
double bounds[6]);
336 double EvaluatePoint(
double planes[24],
double x[3]);
337 double EvaluateBounds(
double planes[24],
double bounds[6]);
338 void AdjustAxes(
double pts[8][3],
double bounds[6],
339 int idx,
int xIdx,
int yIdx,
int zIdx,
int zIdx2,
340 int xAxes,
int yAxes,
int zAxes,
341 double xCoords[4],
double yCoords[4],
double zCoords[4],
342 double xRange[2],
double yRange[2],
double zRange[2]);
abstract superclass for all actors, volumes and annotations
void SetFlyModeToOuterEdges()
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual void ShallowCopy(vtkProp *prop)
virtual void ReleaseGraphicsResources(vtkWindow *)
abstract specification for Viewports
abstract class to specify dataset behavior
vtkAxisActor2D * GetXAxisActor2D()
a actor that draws 2D data
record modification and/or execution time
Create an axis with tick marks and labels.
#define VTKRENDERINGANNOTATION_EXPORT
Proxy object to connect input/output ports.
virtual double * GetBounds()
window superclass for vtkRenderWindow
virtual int HasTranslucentPolygonalGeometry()
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
a simple class to control print indentation
a virtual camera for 3D rendering
void PrintSelf(ostream &os, vtkIndent indent)
static vtkActor2D * New()
#define VTK_FLY_OUTER_EDGES
void SetFlyModeToClosestTriad()
represent text properties.
create a 2D plot of a bounding box edges - used for navigation
vtkAxisActor2D * GetZAxisActor2D()
virtual void ShallowCopy(vtkProp *prop)
vtkCubeAxesActor2DConnection * ConnectionHolder
vtkTextProperty * AxisLabelTextProperty
vtkTextProperty * AxisTitleTextProperty
virtual int RenderOverlay(vtkViewport *viewport)
vtkAxisActor2D * GetYAxisActor2D()
#define VTK_FLY_CLOSEST_TRIAD