57#include "vtkRenderingAnnotationModule.h"
138 { this->SetTotalLength( v[0], v[1], v[2] ); }
140 vtkGetVectorMacro( TotalLength,
double, 3 );
148 { this->SetNormalizedShaftLength( v[0], v[1], v[2] ); }
150 vtkGetVectorMacro( NormalizedShaftLength,
double, 3 );
159 { this->SetNormalizedTipLength( v[0], v[1], v[2] ); }
161 vtkGetVectorMacro( NormalizedTipLength,
double, 3 );
170 { this->SetNormalizedLabelPosition( v[0], v[1], v[2] ); }
172 vtkGetVectorMacro( NormalizedLabelPosition,
double, 3 );
179 vtkSetClampMacro(ConeResolution,
int, 3, 128);
180 vtkGetMacro(ConeResolution,
int);
181 vtkSetClampMacro(SphereResolution,
int, 3, 128);
182 vtkGetMacro(SphereResolution,
int);
183 vtkSetClampMacro(CylinderResolution,
int, 3, 128);
184 vtkGetMacro(CylinderResolution,
int);
192 vtkGetMacro(ConeRadius,
double);
194 vtkGetMacro(SphereRadius,
double);
196 vtkGetMacro(CylinderRadius,
double);
210 vtkGetMacro(ShaftType,
int);
224 vtkGetMacro(TipType,
int);
266 {
return this->XAxisLabel;}
268 {
return this->YAxisLabel;}
270 {
return this->ZAxisLabel;}
276 vtkSetStringMacro( XAxisLabelText );
278 vtkSetStringMacro( YAxisLabelText );
280 vtkSetStringMacro( ZAxisLabelText );
289 vtkGetMacro(AxisLabels,
int);
326 double TotalLength[3];
327 double NormalizedShaftLength[3];
328 double NormalizedTipLength[3];
329 double NormalizedLabelPosition[3];
358 void operator=(
const vtkAxesActor&) VTK_DELETE_FUNCTION;
represents an object (geometry & properties) in a rendered scene
vtkCaptionActor2D * GetXAxisCaptionActor2D()
Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example)
vtkMTimeType GetMTime()
Get the actors mtime plus consider its properties and texture if set.
void SetTipTypeToSphere()
vtkLineSource * LineSource
void SetShaftTypeToLine()
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *viewport)
vtkCaptionActor2D * GetZAxisCaptionActor2D()
void SetNormalizedShaftLength(double v[3])
Set the normalized (0-1) length of the shaft.
vtkPolyData * UserDefinedShaft
void SetNormalizedTipLength(double x, double y, double z)
vtkSphereSource * SphereSource
vtkCylinderSource * CylinderSource
static vtkAxesActor * New()
void SetNormalizedShaftLength(double x, double y, double z)
void SetShaftType(int type)
Set the type of the shaft to a cylinder, line, or user defined geometry.
vtkProperty * GetZAxisShaftProperty()
void SetTotalLength(double v[3])
Set the total length of the axes in 3 dimensions.
virtual vtkMTimeType GetRedrawMTime()
Return the mtime of anything that would cause the rendered image to appear differently.
vtkProperty * GetXAxisTipProperty()
Get the tip properties.
virtual int RenderOverlay(vtkViewport *viewport)
void SetUserDefinedShaft(vtkPolyData *)
Set the user defined shaft polydata.
vtkCaptionActor2D * GetYAxisCaptionActor2D()
void SetTipTypeToUserDefined()
vtkPolyData * UserDefinedTip
vtkProperty * GetXAxisShaftProperty()
Get the shaft properties.
virtual int HasTranslucentPolygonalGeometry()
Does this prop have some translucent polygonal geometry?
virtual void GetActors(vtkPropCollection *)
For some exporters and other other operations we must be able to collect all the actors or volumes.
vtkProperty * GetYAxisShaftProperty()
vtkCaptionActor2D * ZAxisLabel
vtkCaptionActor2D * XAxisLabel
vtkConeSource * ConeSource
void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this actor.
void SetShaftTypeToCylinder()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkCaptionActor2D * YAxisLabel
void GetBounds(double bounds[6])
Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
Support the standard render methods.
void SetShaftTypeToUserDefined()
void ShallowCopy(vtkProp *prop)
Shallow copy of an axes actor.
void SetUserDefinedTip(vtkPolyData *)
Set the user defined tip polydata.
void SetNormalizedLabelPosition(double x, double y, double z)
void SetNormalizedLabelPosition(double v[3])
Set the normalized (0-1) position of the label along the length of the shaft.
double * GetBounds()
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
void SetTotalLength(double x, double y, double z)
vtkProperty * GetYAxisTipProperty()
void SetNormalizedTipLength(double v[3])
Set the normalized (0-1) length of the tip.
void SetTipType(int type)
Set the type of the tip to a cone, sphere, or user defined geometry.
vtkProperty * GetZAxisTipProperty()
draw text label associated with a point
generate a cylinder centered at 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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkTypeUInt64 vtkMTimeType