Go to the documentation of this file.
52 #ifndef vtkCubeAxesActor2D_h
53 #define vtkCubeAxesActor2D_h
55 #include "vtkRenderingAnnotationModule.h"
61 class vtkCubeAxesActor2DConnection;
120 vtkSetVector6Macro(Bounds,
double);
122 void GetBounds(
double& xmin,
double& xmax,
double& ymin,
double& ymax,
123 double& zmin,
double& zmax);
133 vtkSetVector6Macro(Ranges,
double);
135 void GetRanges(
double& xmin,
double& xmax,
double& ymin,
double& ymax,
136 double& zmin,
double& zmax);
158 vtkGetMacro(UseRanges,
int);
173 VTK_FLY_OUTER_EDGES = 0,
174 VTK_FLY_CLOSEST_TRIAD = 1,
184 vtkSetClampMacro(
FlyMode,
int, VTK_FLY_OUTER_EDGES, VTK_FLY_NONE);
187 {this->SetFlyMode(VTK_FLY_OUTER_EDGES);};
189 {this->SetFlyMode(VTK_FLY_CLOSEST_TRIAD);};
191 {this->SetFlyMode(VTK_FLY_NONE);};
202 vtkGetMacro(Scaling,
int);
212 vtkSetClampMacro(NumberOfLabels,
int, 0, 50);
213 vtkGetMacro(NumberOfLabels,
int);
221 vtkSetStringMacro(XLabel);
223 vtkSetStringMacro(YLabel);
225 vtkSetStringMacro(ZLabel);
234 {
return this->XAxis;}
236 {
return this->YAxis;}
238 {
return this->ZAxis;}
263 vtkSetStringMacro(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);
306 vtkGetMacro(CornerOffset,
double);
321 vtkGetMacro(XAxisVisibility,
int);
324 vtkGetMacro(YAxisVisibility,
int);
327 vtkGetMacro(ZAxisVisibility,
int);
393 int idx,
int xIdx,
int yIdx,
int zIdx,
int zIdx2,
394 int xAxes,
int yAxes,
int zAxes,
395 double xCoords[4],
double yCoords[4],
double zCoords[4],
396 double xRange[2],
double yRange[2],
double zRange[2]);
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
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])
void SetFlyModeToClosestTriad()
void GetRanges(double &xmin, double &xmax, double &ymin, double &ymax, double &zmin, double &zmax)
record modification and/or execution time
int RenderOverlay(vtkViewport *)
Draw the axes as per the vtkProp superclass' API.
void GetRanges(double ranges[6])
void GetBounds(double bounds[6])
double EvaluatePoint(double planes[24], double x[3])
window superclass for vtkRenderWindow
void SetViewProp(vtkProp *prop)
Use the bounding box of this prop to draw the cube axes.
void ShallowCopy(vtkCubeAxesActor2D *actor)
Shallow copy of a CubeAxesActor2D.
vtkAxisActor2D * GetYAxisActor2D()
virtual void SetCamera(vtkCamera *)
Set/Get the camera to perform scaling and translation of the vtkCubeAxesActor2D.
virtual void SetAxisLabelTextProperty(vtkTextProperty *p)
Set/Get the labels text property of all axes.
a simple class to control print indentation
create a 2D plot of a bounding box edges - used for navigation
a virtual camera for 3D rendering
vtkTextProperty * AxisLabelTextProperty
vtkTextProperty * AxisTitleTextProperty
virtual vtkDataSet * GetInput()
void TransformBounds(vtkViewport *viewport, double bounds[6], double pts[8][3])
virtual void SetInputData(vtkDataSet *)
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
virtual void ShallowCopy(vtkProp *prop)
Shallow copy of this vtkProp.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
abstract specification for Viewports
abstract class to specify dataset behavior
int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
represent text properties.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
abstract superclass for all actors, volumes and annotations
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this actor.
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
Proxy object to connect input/output ports.
virtual void SetAxisTitleTextProperty(vtkTextProperty *p)
Set/Get the title text property of all axes.
virtual void SetInputConnection(vtkAlgorithmOutput *)
Use the bounding box of this input dataset to draw the cube axes.
Create an axis with tick marks and labels.
double EvaluateBounds(double planes[24], double bounds[6])
virtual int HasTranslucentPolygonalGeometry()
Does this prop have some translucent polygonal geometry?
void SetFlyModeToOuterEdges()
vtkCubeAxesActor2DConnection * ConnectionHolder
static vtkCubeAxesActor2D * New()
Instantiate object with bold, italic, and shadow enabled; font family set to Arial; and label format ...
int ClipBounds(vtkViewport *viewport, double pts[8][3], double bounds[6])
vtkAxisActor2D * GetZAxisActor2D()
void GetBounds(double &xmin, double &xmax, double &ymin, double &ymax, double &zmin, double &zmax)
double * GetBounds()
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
virtual void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkActor2D.