52 #ifndef vtkCubeAxesActor2D_h 53 #define vtkCubeAxesActor2D_h 55 #include "vtkRenderingAnnotationModule.h" 61 class vtkCubeAxesActor2DConnection;
109 void SetViewProp(
vtkProp* prop);
110 vtkGetObjectMacro(ViewProp,
vtkProp);
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);
137 void GetRanges(
double ranges[6]);
146 vtkSetMacro( XOrigin,
double );
147 vtkSetMacro( YOrigin,
double );
148 vtkSetMacro( ZOrigin,
double );
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);};
212 vtkSetClampMacro(NumberOfLabels,
int, 0, 50);
213 vtkGetMacro(NumberOfLabels,
int);
221 vtkSetStringMacro(XLabel);
222 vtkGetStringMacro(XLabel);
223 vtkSetStringMacro(YLabel);
224 vtkGetStringMacro(YLabel);
225 vtkSetStringMacro(ZLabel);
226 vtkGetStringMacro(ZLabel);
234 {
return this->XAxis;}
236 {
return this->YAxis;}
238 {
return this->ZAxis;}
263 vtkSetStringMacro(LabelFormat);
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);
387 void TransformBounds(
vtkViewport *viewport,
double bounds[6],
389 int ClipBounds(
vtkViewport *viewport,
double pts[8][3],
double bounds[6]);
390 double EvaluatePoint(
double planes[24],
double x[3]);
391 double EvaluateBounds(
double planes[24],
double bounds[6]);
392 void AdjustAxes(
double pts[8][3],
double bounds[6],
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]);
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...
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.