37 #ifndef vtkCubeAxesActor2D_h
38 #define vtkCubeAxesActor2D_h
41 #include "vtkRenderingAnnotationModule.h"
44 VTK_ABI_NAMESPACE_BEGIN
48 class vtkCubeAxesActor2DConnection;
96 void SetViewProp(
vtkProp* prop);
97 vtkGetObjectMacro(ViewProp,
vtkProp);
107 vtkSetVector6Macro(Bounds,
double);
110 double& xmin,
double& xmax,
double& ymin,
double& ymax,
double& zmin,
double& zmax);
120 vtkSetVector6Macro(Ranges,
double);
123 double& xmin,
double& xmax,
double& ymin,
double& ymax,
double& zmin,
double& zmax);
124 void GetRanges(
double ranges[6]);
133 vtkSetMacro(XOrigin,
double);
134 vtkSetMacro(YOrigin,
double);
135 vtkSetMacro(ZOrigin,
double);
145 vtkGetMacro(UseRanges, vtkTypeBool);
146 vtkBooleanMacro(UseRanges, vtkTypeBool);
155 vtkGetObjectMacro(Camera, vtkCamera);
160 VTK_FLY_OUTER_EDGES = 0,
161 VTK_FLY_CLOSEST_TRIAD = 1,
171 vtkSetClampMacro(FlyMode,
int, VTK_FLY_OUTER_EDGES, VTK_FLY_NONE);
172 vtkGetMacro(FlyMode,
int);
196 vtkSetClampMacro(NumberOfLabels,
int, 0, 50);
197 vtkGetMacro(NumberOfLabels,
int);
205 vtkSetStringMacro(XLabel);
206 vtkGetStringMacro(XLabel);
207 vtkSetStringMacro(YLabel);
208 vtkGetStringMacro(YLabel);
209 vtkSetStringMacro(ZLabel);
210 vtkGetStringMacro(ZLabel);
244 void SetLabelFormat(
const char* format);
245 vtkGetStringMacro(LabelFormat);
253 vtkSetClampMacro(FontFactor,
double, 0.1, 2.0);
254 vtkGetMacro(FontFactor,
double);
264 vtkGetMacro(Inertia,
int);
276 vtkSetClampMacro(ShowActualBounds,
int, 0, 1);
277 vtkGetMacro(ShowActualBounds,
int);
286 vtkSetMacro(CornerOffset,
double);
287 vtkGetMacro(CornerOffset,
double);
368 void TransformBounds(
vtkViewport* viewport,
double bounds[6],
double pts[8][3]);
369 int ClipBounds(
vtkViewport* viewport,
double pts[8][3],
double bounds[6]);
370 double EvaluatePoint(
double planes[24],
double x[3]);
371 double EvaluateBounds(
double planes[24],
double bounds[6]);
372 void AdjustAxes(
double pts[8][3],
double bounds[6],
int idx,
int xIdx,
int yIdx,
int zIdx,
373 int zIdx2,
int xAxes,
int yAxes,
int zAxes,
double xCoords[4],
double yCoords[4],
374 double zCoords[4],
double xRange[2],
double yRange[2],
double zRange[2]);
385 VTK_ABI_NAMESPACE_END
abstract superclass for all actors, volumes and annotations
void SetFlyModeToOuterEdges()
Specify a mode to control how the axes are drawn: either outer edges or closest triad to the camera p...
void GetBounds(T a, double bds[6])
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
virtual void ShallowCopy(vtkProp *prop)
Shallow copy of this vtkProp.
abstract specification for Viewports
abstract class to specify dataset behavior
vtkAxisActor2D * GetXAxisActor2D()
Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example) ...
a actor that draws 2D data
record modification and/or execution time
Create an axis with tick marks and labels.
vtkTypeBool XAxisVisibility
void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkActor2D.
Proxy object to connect input/output ports.
virtual double * GetBounds()
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
window superclass for vtkRenderWindow
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
a simple class to control print indentation
a virtual camera for 3D rendering
static vtkActor2D * New()
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at la...
void SetFlyModeToClosestTriad()
Specify a mode to control how the axes are drawn: either outer edges or closest triad to the camera p...
vtkTypeBool YAxisVisibility
#define VTK_SIZEHINT(...)
represent text properties.
vtkTypeBool ZAxisVisibility
create a 2D plot of a bounding box edges - used for navigation
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
vtkAxisActor2D * GetZAxisActor2D()
vtkCubeAxesActor2DConnection * ConnectionHolder
vtkTextProperty * AxisLabelTextProperty
vtkTextProperty * AxisTitleTextProperty
void SetFlyModeToNone()
Specify a mode to control how the axes are drawn: either outer edges or closest triad to the camera p...
int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
int RenderTranslucentPolygonalGeometry(vtkViewport *) override
Draw the axes as per the vtkProp superclass' API.
vtkAxisActor2D * GetYAxisActor2D()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.