56#ifndef vtkCubeAxesActor2D_h 
   57#define vtkCubeAxesActor2D_h 
   60#include "vtkRenderingAnnotationModule.h"  
   63VTK_ABI_NAMESPACE_BEGIN
 
   67class vtkCubeAxesActor2DConnection;
 
  126  vtkSetVector6Macro(Bounds, 
double);
 
  129    double& xmin, 
double& xmax, 
double& ymin, 
double& ymax, 
double& zmin, 
double& zmax);
 
  130  void GetBounds(
double bounds[6]);
 
  139  vtkSetVector6Macro(Ranges, 
double);
 
  142    double& xmin, 
double& xmax, 
double& ymin, 
double& ymax, 
double& zmin, 
double& zmax);
 
  143  void GetRanges(
double ranges[6]);
 
  152  vtkSetMacro(XOrigin, 
double);
 
  153  vtkSetMacro(YOrigin, 
double);
 
  154  vtkSetMacro(ZOrigin, 
double);
 
  179    VTK_FLY_OUTER_EDGES = 0,
 
  180    VTK_FLY_CLOSEST_TRIAD = 1,
 
  190  vtkSetClampMacro(
FlyMode, 
int, VTK_FLY_OUTER_EDGES, VTK_FLY_NONE);
 
  215  vtkSetClampMacro(NumberOfLabels, 
int, 0, 50);
 
  216  vtkGetMacro(NumberOfLabels, 
int);
 
  224  vtkSetStringMacro(XLabel);
 
  225  vtkGetStringMacro(XLabel);
 
  226  vtkSetStringMacro(YLabel);
 
  227  vtkGetStringMacro(YLabel);
 
  228  vtkSetStringMacro(ZLabel);
 
  229  vtkGetStringMacro(ZLabel);
 
  264  vtkGetStringMacro(LabelFormat);
 
  272  vtkSetClampMacro(FontFactor, 
double, 0.1, 2.0);
 
  273  vtkGetMacro(FontFactor, 
double);
 
  283  vtkGetMacro(Inertia, 
int);
 
  295  vtkSetClampMacro(ShowActualBounds, 
int, 0, 1);
 
  296  vtkGetMacro(ShowActualBounds, 
int);
 
  305  vtkSetMacro(CornerOffset, 
double);
 
  306  vtkGetMacro(CornerOffset, 
double);
 
  391  void AdjustAxes(
double pts[8][3], 
double bounds[6], 
int idx, 
int xIdx, 
int yIdx, 
int zIdx,
 
  392    int zIdx2, 
int xAxes, 
int yAxes, 
int zAxes, 
double xCoords[4], 
double yCoords[4],
 
  393    double zCoords[4], 
double xRange[2], 
double yRange[2], 
double zRange[2]);
 
a actor that draws 2D data
 
void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkActor2D.
 
Proxy object to connect input/output ports.
 
Create an axis with tick marks and labels.
 
a virtual camera for 3D rendering
 
create a 2D plot of a bounding box edges - used for navigation
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
int RenderOverlay(vtkViewport *) override
Draw the axes as per the vtkProp superclass' API.
 
void SetViewProp(vtkProp *prop)
Use the bounding box of this prop to draw the cube axes.
 
virtual vtkDataSet * GetInput()
Use the bounding box of this input dataset to draw the cube axes.
 
static vtkCubeAxesActor2D * New()
Instantiate object with bold, italic, and shadow enabled; font family set to Arial; and label format ...
 
virtual void SetAxisTitleTextProperty(vtkTextProperty *p)
Set/Get the title text property of all axes.
 
void SetFlyModeToOuterEdges()
Specify a mode to control how the axes are drawn: either outer edges or closest triad to the camera p...
 
vtkAxisActor2D * GetZAxisActor2D()
 
double EvaluatePoint(double planes[24], double x[3])
 
double EvaluateBounds(double planes[24], double bounds[6])
 
virtual void SetInputData(vtkDataSet *)
Use the bounding box of this input dataset to draw the cube axes.
 
int RenderOpaqueGeometry(vtkViewport *) override
Draw the axes as per the vtkProp superclass' API.
 
vtkTypeBool XAxisVisibility
 
virtual void SetAxisLabelTextProperty(vtkTextProperty *p)
Set/Get the labels text property of all axes.
 
void SetFlyModeToClosestTriad()
Specify a mode to control how the axes are drawn: either outer edges or closest triad to the camera p...
 
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Draw the axes as per the vtkProp superclass' API.
 
void SetFlyModeToNone()
Specify a mode to control how the axes are drawn: either outer edges or closest triad to the camera p...
 
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
 
int ClipBounds(vtkViewport *viewport, double pts[8][3], double bounds[6])
 
vtkTypeBool ZAxisVisibility
 
vtkAxisActor2D * GetYAxisActor2D()
 
vtkAxisActor2D * GetXAxisActor2D()
Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example)
 
vtkTextProperty * AxisLabelTextProperty
 
void SetLabelFormat(const char *format)
Set/Get the std::format style format with which to print the labels on each of the x-y-z axes.
 
void AdjustAxes(double pts[8][3], double bounds[6], int idx, int xIdx, int yIdx, int zIdx, int zIdx2, int xAxes, int yAxes, int zAxes, double xCoords[4], double yCoords[4], double zCoords[4], double xRange[2], double yRange[2], double zRange[2])
 
vtkTypeBool YAxisVisibility
 
double * GetBounds() override
Explicitly specify the region in space around which to draw the bounds.
 
virtual void SetInputConnection(vtkAlgorithmOutput *)
Use the bounding box of this input dataset to draw the cube axes.
 
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
 
vtkCubeAxesActor2DConnection * ConnectionHolder
 
~vtkCubeAxesActor2D() override
 
vtkTextProperty * AxisTitleTextProperty
 
void TransformBounds(vtkViewport *viewport, double bounds[6], double pts[8][3])
 
void ShallowCopy(vtkCubeAxesActor2D *actor)
Shallow copy of a CubeAxesActor2D.
 
abstract class to specify dataset behavior
 
a simple class to control print indentation
 
abstract superclass for all actors, volumes and annotations
 
virtual void ShallowCopy(vtkProp *prop)
Shallow copy of this vtkProp.
 
represent text properties.
 
record modification and/or execution time
 
abstract specification for Viewports
 
window superclass for vtkRenderWindow
 
#define VTK_SIZEHINT(...)