 |
VTK
9.1.0
|
Go to the documentation of this file.
157 #ifndef vtkAxesActor_h
158 #define vtkAxesActor_h
161 #include "vtkRenderingAnnotationModule.h"
242 vtkGetVectorMacro(TotalLength,
double, 3);
251 vtkGetVectorMacro(NormalizedShaftLength,
double, 3);
261 vtkGetVectorMacro(NormalizedTipLength,
double, 3);
271 this->SetNormalizedLabelPosition(v[0], v[1], v[2]);
274 vtkGetVectorMacro(NormalizedLabelPosition,
double, 3);
281 vtkSetClampMacro(ConeResolution,
int, 3, 128);
282 vtkGetMacro(ConeResolution,
int);
283 vtkSetClampMacro(SphereResolution,
int, 3, 128);
284 vtkGetMacro(SphereResolution,
int);
285 vtkSetClampMacro(CylinderResolution,
int, 3, 128);
286 vtkGetMacro(CylinderResolution,
int);
294 vtkGetMacro(ConeRadius,
double);
296 vtkGetMacro(SphereRadius,
double);
298 vtkGetMacro(CylinderRadius,
double);
309 vtkGetMacro(ShaftType,
int);
320 vtkGetMacro(TipType,
int);
369 vtkSetStringMacro(XAxisLabelText);
370 vtkGetStringMacro(XAxisLabelText);
371 vtkSetStringMacro(YAxisLabelText);
372 vtkGetStringMacro(YAxisLabelText);
373 vtkSetStringMacro(ZAxisLabelText);
374 vtkGetStringMacro(ZAxisLabelText);
419 double TotalLength[3];
420 double NormalizedShaftLength[3];
421 double NormalizedTipLength[3];
422 double NormalizedLabelPosition[3];
vtkPolyData * UserDefinedShaft
void SetUserDefinedTip(vtkPolyData *)
Set the user defined tip polydata.
vtkProperty * GetZAxisShaftProperty()
Get the shaft properties.
void GetActors(vtkPropCollection *) override
For some exporters and other other operations we must be able to collect all the actors or volumes.
void SetTotalLength(double x, double y, double z)
Set the total length of the axes in 3 dimensions.
represents an 3D object for placement in a rendered scene
vtkCaptionActor2D * YAxisLabel
vtkLineSource * LineSource
void SetTotalLength(double v[3])
Set the total length of the axes in 3 dimensions.
void SetNormalizedLabelPosition(double x, double y, double z)
Set the normalized (0-1) position of the label along the length of the shaft.
vtkCylinderSource * CylinderSource
vtkCaptionActor2D * XAxisLabel
void SetNormalizedLabelPosition(double v[3])
Set the normalized (0-1) position of the label along the length of the shaft.
void SetUserDefinedShaft(vtkPolyData *)
Set the user defined shaft polydata.
vtkProperty * GetXAxisShaftProperty()
Get the shaft properties.
vtkProperty * GetYAxisTipProperty()
Get the tip properties.
void SetShaftTypeToCylinder()
Set the type of the shaft to a cylinder, line, or user defined geometry.
void SetShaftType(int type)
Set the type of the shaft to a cylinder, line, or user defined geometry.
window superclass for vtkRenderWindow
vtkCaptionActor2D * ZAxisLabel
void SetTipTypeToUserDefined()
Set the type of the tip to a cone, sphere, or user defined geometry.
void SetTipType(int type)
Set the type of the tip to a cone, sphere, or user defined geometry.
void SetNormalizedShaftLength(double x, double y, double z)
Set the normalized (0-1) length of the shaft.
#define VTK_SIZEHINT(...)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RenderTranslucentPolygonalGeometry(vtkViewport *viewport) override
Support the standard render methods.
vtkTypeBool HasTranslucentPolygonalGeometry() override
Does this prop have some translucent polygonal geometry?
create a polygonal sphere centered at the origin
vtkCaptionActor2D * GetXAxisCaptionActor2D()
Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example)
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this actor.
represents an object (geometry & properties) in a rendered scene
vtkProperty * GetZAxisTipProperty()
Get the tip properties.
a simple class to control print indentation
vtkProperty * GetYAxisShaftProperty()
Get the shaft properties.
void SetShaftTypeToLine()
Set the type of the shaft to a cylinder, line, or user defined geometry.
static vtkAxesActor * New()
generate a cylinder centered at origin
create a line defined by two end points
vtkPolyData * UserDefinedTip
vtkCaptionActor2D * GetZAxisCaptionActor2D()
abstract specification for Viewports
double * GetBounds() override
Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
void SetTipTypeToCone()
Set the type of the tip to a cone, sphere, or user defined geometry.
int RenderOpaqueGeometry(vtkViewport *viewport) override
Support the standard render methods.
abstract superclass for all actors, volumes and annotations
draw text label associated with a point
void ShallowCopy(vtkProp *prop) override
Shallow copy of an axes actor.
int RenderOverlay(vtkViewport *viewport) override
Support the standard render methods.
vtkSphereSource * SphereSource
void SetNormalizedTipLength(double v[3])
Set the normalized (0-1) length of the tip.
void SetShaftTypeToUserDefined()
Set the type of the shaft to a cylinder, line, or user defined geometry.
abstract specification for renderers
vtkCaptionActor2D * GetYAxisCaptionActor2D()
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetTipTypeToSphere()
Set the type of the tip to a cone, sphere, or user defined geometry.
represent surface properties of a geometric object
void SetNormalizedShaftLength(double v[3])
Set the normalized (0-1) length of the shaft.
void SetNormalizedTipLength(double x, double y, double z)
Set the normalized (0-1) length of the tip.
vtkProperty * GetXAxisTipProperty()
Get the tip properties.
vtkConeSource * ConeSource
void GetBounds(double bounds[6])
Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
vtkTypeUInt32 vtkMTimeType