148 #ifndef vtkAxesActor_h
149 #define vtkAxesActor_h
152 #include "vtkRenderingAnnotationModule.h"
154 VTK_ABI_NAMESPACE_BEGIN
234 vtkGetVectorMacro(TotalLength,
double, 3);
243 vtkGetVectorMacro(NormalizedShaftLength,
double, 3);
253 vtkGetVectorMacro(NormalizedTipLength,
double, 3);
263 this->SetNormalizedLabelPosition(v[0], v[1], v[2]);
266 vtkGetVectorMacro(NormalizedLabelPosition,
double, 3);
273 vtkSetClampMacro(ConeResolution,
int, 3, 128);
274 vtkGetMacro(ConeResolution,
int);
275 vtkSetClampMacro(SphereResolution,
int, 3, 128);
276 vtkGetMacro(SphereResolution,
int);
277 vtkSetClampMacro(CylinderResolution,
int, 3, 128);
278 vtkGetMacro(CylinderResolution,
int);
286 vtkGetMacro(ConeRadius,
double);
288 vtkGetMacro(SphereRadius,
double);
290 vtkGetMacro(CylinderRadius,
double);
301 vtkGetMacro(ShaftType,
int);
312 vtkGetMacro(TipType,
int);
361 vtkSetStringMacro(XAxisLabelText);
362 vtkGetStringMacro(XAxisLabelText);
363 vtkSetStringMacro(YAxisLabelText);
364 vtkGetStringMacro(YAxisLabelText);
365 vtkSetStringMacro(ZAxisLabelText);
366 vtkGetStringMacro(ZAxisLabelText);
411 double TotalLength[3];
412 double NormalizedShaftLength[3];
413 double NormalizedTipLength[3];
414 double NormalizedLabelPosition[3];
445 VTK_ABI_NAMESPACE_END
represents an object (geometry & properties) in a rendered scene
void SetTipTypeToSphere()
Set the type of the tip to a cone, sphere, or user defined geometry.
vtkLineSource * LineSource
vtkProperty * GetXAxisShaftProperty()
Get the shaft properties.
void SetShaftTypeToLine()
Set the type of the shaft to a cylinder, line, or user defined geometry.
void SetNormalizedShaftLength(double v[3])
Set the normalized (0-1) length of the shaft.
vtkPolyData * UserDefinedShaft
void SetNormalizedTipLength(double x, double y, double z)
Set the normalized (0-1) length of the tip.
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override
Support the standard render methods.
vtkSphereSource * SphereSource
vtkCylinderSource * CylinderSource
void SetNormalizedShaftLength(double x, double y, double z)
Set the normalized (0-1) length of the shaft.
vtkProperty * GetYAxisShaftProperty()
Get the shaft properties.
void SetShaftType(int type)
Set the type of the shaft to a cylinder, line, or user defined geometry.
static vtkAxesActor * New()
vtkProperty * GetZAxisShaftProperty()
Get the shaft properties.
vtkCaptionActor2D * GetZAxisCaptionActor2D()
void SetTotalLength(double v[3])
Set the total length of the axes in 3 dimensions.
void SetUserDefinedShaft(vtkPolyData *)
Set the user defined shaft polydata.
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
void SetTipTypeToUserDefined()
Set the type of the tip to a cone, sphere, or user defined geometry.
void ShallowCopy(vtkProp *prop) override
Shallow copy of an axes actor.
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
vtkPolyData * UserDefinedTip
vtkCaptionActor2D * GetXAxisCaptionActor2D()
Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example)
vtkCaptionActor2D * GetYAxisCaptionActor2D()
vtkProperty * GetXAxisTipProperty()
Get the tip properties.
vtkCaptionActor2D * ZAxisLabel
vtkCaptionActor2D * XAxisLabel
vtkConeSource * ConeSource
void SetShaftTypeToCylinder()
Set the type of the shaft to a cylinder, line, or user defined geometry.
void SetTipTypeToCone()
Set the type of the tip to a cone, sphere, or user defined geometry.
vtkCaptionActor2D * YAxisLabel
vtkProperty * GetYAxisTipProperty()
Get the tip properties.
void GetBounds(double bounds[6])
Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
void SetShaftTypeToUserDefined()
Set the type of the shaft to a cylinder, line, or user defined geometry.
int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
void SetUserDefinedTip(vtkPolyData *)
Set the user defined tip polydata.
void SetNormalizedLabelPosition(double x, double y, double z)
Set the normalized (0-1) position of the label along the length of the shaft.
void SetNormalizedLabelPosition(double v[3])
Set the normalized (0-1) position of the label along the length of the shaft.
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
void SetTotalLength(double x, double y, double z)
Set the total length of the axes in 3 dimensions.
void SetNormalizedTipLength(double v[3])
Set the normalized (0-1) length of the tip.
double * GetBounds() override
Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
void GetActors(vtkPropCollection *) override
For some exporters and other other operations we must be able to collect all the actors or volumes.
vtkProperty * GetZAxisTipProperty()
Get the tip properties.
void SetTipType(int type)
Set the type of the tip to a cone, sphere, or user defined geometry.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
draw text label associated with a point
generate a polygonal cylinder centered at the origin
a simple class to control print indentation
create a line defined by two end points
concrete dataset represents vertices, lines, polygons, and triangle strips
represents an 3D object for placement in a rendered scene
abstract superclass for all actors, volumes and annotations
represent surface properties of a geometric object
abstract specification for renderers
create a polygonal sphere centered at the origin
abstract specification for Viewports
window superclass for vtkRenderWindow
vtkTypeUInt32 vtkMTimeType
#define VTK_SIZEHINT(...)