54 #ifndef vtkAxesActor_h 55 #define vtkAxesActor_h 57 #include "vtkRenderingAnnotationModule.h" 102 void ShallowCopy(
vtkProp *prop) VTK_OVERRIDE;
109 void ReleaseGraphicsResources(
vtkWindow *) VTK_OVERRIDE;
116 void GetBounds(
double bounds[6]);
117 double *GetBounds() VTK_OVERRIDE;
137 void SetTotalLength(
double v[3] )
138 { this->SetTotalLength( v[0], v[1], v[2] ); }
139 void SetTotalLength(
double x,
double y,
double z );
140 vtkGetVectorMacro( TotalLength,
double, 3 );
148 { this->SetNormalizedShaftLength( v[0], v[1], v[2] ); }
149 void SetNormalizedShaftLength(
double x,
double y,
double z );
150 vtkGetVectorMacro( NormalizedShaftLength,
double, 3 );
159 { this->SetNormalizedTipLength( v[0], v[1], v[2] ); }
160 void SetNormalizedTipLength(
double x,
double y,
double z );
161 vtkGetVectorMacro( NormalizedTipLength,
double, 3 );
170 { this->SetNormalizedLabelPosition( v[0], v[1], v[2] ); }
171 void SetNormalizedLabelPosition(
double x,
double y,
double z );
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);
203 void SetShaftType(
int type );
210 vtkGetMacro(ShaftType,
int);
217 void SetTipType(
int type );
224 vtkGetMacro(TipType,
int);
240 vtkGetObjectMacro( UserDefinedShaft,
vtkPolyData );
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];
337 char *XAxisLabelText;
338 char *YAxisLabelText;
339 char *ZAxisLabelText;
349 int SphereResolution;
350 int CylinderResolution;
354 double CylinderRadius;
358 void operator=(const
vtkAxesActor&) VTK_DELETE_FUNCTION;
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
generate a cylinder centered at origin
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 int 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
represents an 3D object for placement in a rendered scene
concrete dataset represents vertices, lines, polygons, and triangle strips
window superclass for vtkRenderWindow
create a polygonal sphere centered at the origin
a simple class to control print indentation
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.
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.
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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.
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.