51 #ifndef vtkAxesActor_h
52 #define vtkAxesActor_h
55 #include "vtkRenderingAnnotationModule.h"
135 void SetTotalLength(
double x,
double y,
double z);
136 vtkGetVectorMacro(TotalLength,
double, 3);
144 void SetNormalizedShaftLength(
double x,
double y,
double z);
145 vtkGetVectorMacro(NormalizedShaftLength,
double, 3);
154 void SetNormalizedTipLength(
double x,
double y,
double z);
155 vtkGetVectorMacro(NormalizedTipLength,
double, 3);
165 this->SetNormalizedLabelPosition(v[0], v[1], v[2]);
167 void SetNormalizedLabelPosition(
double x,
double y,
double z);
168 vtkGetVectorMacro(NormalizedLabelPosition,
double, 3);
175 vtkSetClampMacro(ConeResolution,
int, 3, 128);
176 vtkGetMacro(ConeResolution,
int);
177 vtkSetClampMacro(SphereResolution,
int, 3, 128);
178 vtkGetMacro(SphereResolution,
int);
179 vtkSetClampMacro(CylinderResolution,
int, 3, 128);
180 vtkGetMacro(CylinderResolution,
int);
188 vtkGetMacro(ConeRadius,
double);
190 vtkGetMacro(SphereRadius,
double);
192 vtkGetMacro(CylinderRadius,
double);
199 void SetShaftType(
int type);
203 vtkGetMacro(ShaftType,
int);
210 void SetTipType(
int type);
214 vtkGetMacro(TipType,
int);
263 vtkSetStringMacro(XAxisLabelText);
264 vtkGetStringMacro(XAxisLabelText);
265 vtkSetStringMacro(YAxisLabelText);
266 vtkGetStringMacro(YAxisLabelText);
267 vtkSetStringMacro(ZAxisLabelText);
268 vtkGetStringMacro(ZAxisLabelText);
313 double TotalLength[3];
314 double NormalizedShaftLength[3];
315 double NormalizedTipLength[3];
316 double NormalizedLabelPosition[3];
abstract superclass for all actors, volumes and annotations
vtkCaptionActor2D * GetXAxisCaptionActor2D()
Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example) ...
represents an object (geometry & properties) in a rendered scene
void SetTotalLength(double v[3])
Set the total length of the axes in 3 dimensions.
vtkPolyData * UserDefinedTip
generate a polygonal cylinder centered at the origin
double * GetBounds() override=0
Return a reference to the Prop3D's composite transform.
vtkTypeUInt32 vtkMTimeType
abstract specification for Viewports
represent surface properties of a geometric object
virtual int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
virtual vtkTypeBool HasTranslucentPolygonalGeometry()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
virtual int RenderOverlay(vtkViewport *)
vtkCaptionActor2D * GetYAxisCaptionActor2D()
vtkCaptionActor2D * GetZAxisCaptionActor2D()
abstract specification for renderers
vtkLineSource * LineSource
represents an 3D object for placement in a rendered scene
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkSphereSource * SphereSource
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
window superclass for vtkRenderWindow
create a polygonal sphere centered at the origin
a simple class to control print indentation
vtkCaptionActor2D * ZAxisLabel
vtkConeSource * ConeSource
void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkProp3D.
vtkCaptionActor2D * YAxisLabel
#define VTK_SIZEHINT(...)
create a line defined by two end points
void SetShaftTypeToUserDefined()
Set the type of the shaft to a cylinder, line, or user defined geometry.
void SetShaftTypeToLine()
Set the type of the shaft to a cylinder, line, or user defined geometry.
vtkCylinderSource * CylinderSource
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
void SetTipTypeToCone()
Set the type of the tip to a cone, sphere, or user defined geometry.
vtkCaptionActor2D * XAxisLabel
draw text label associated with a point
void SetNormalizedLabelPosition(double v[3])
Set the normalized (0-1) position of the label along the length of the shaft.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void SetShaftTypeToCylinder()
Set the type of the shaft to a cylinder, line, or user defined geometry.
void SetNormalizedTipLength(double v[3])
Set the normalized (0-1) length of the tip.
vtkPolyData * UserDefinedShaft
virtual void GetActors(vtkPropCollection *)
For some exporters and other other operations we must be able to collect all the actors or volumes...
void SetTipTypeToUserDefined()
Set the type of the tip to a cone, sphere, or user defined geometry.
void SetTipTypeToSphere()
Set the type of the tip to a cone, sphere, or user defined geometry.
void SetNormalizedShaftLength(double v[3])
Set the normalized (0-1) length of the shaft.