|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   48 #ifndef vtkAxesActor_h 
   49 #define vtkAxesActor_h 
   52 #include "vtkRenderingAnnotationModule.h"  
  132   void SetTotalLength(
double x, 
double y, 
double z);
 
  133   vtkGetVectorMacro(TotalLength, 
double, 3);
 
  141   void SetNormalizedShaftLength(
double x, 
double y, 
double z);
 
  142   vtkGetVectorMacro(NormalizedShaftLength, 
double, 3);
 
  151   void SetNormalizedTipLength(
double x, 
double y, 
double z);
 
  152   vtkGetVectorMacro(NormalizedTipLength, 
double, 3);
 
  162     this->SetNormalizedLabelPosition(v[0], v[1], v[2]);
 
  164   void SetNormalizedLabelPosition(
double x, 
double y, 
double z);
 
  165   vtkGetVectorMacro(NormalizedLabelPosition, 
double, 3);
 
  172   vtkSetClampMacro(ConeResolution, 
int, 3, 128);
 
  173   vtkGetMacro(ConeResolution, 
int);
 
  174   vtkSetClampMacro(SphereResolution, 
int, 3, 128);
 
  175   vtkGetMacro(SphereResolution, 
int);
 
  176   vtkSetClampMacro(CylinderResolution, 
int, 3, 128);
 
  177   vtkGetMacro(CylinderResolution, 
int);
 
  185   vtkGetMacro(ConeRadius, 
double);
 
  187   vtkGetMacro(SphereRadius, 
double);
 
  189   vtkGetMacro(CylinderRadius, 
double);
 
  196   void SetShaftType(
int type);
 
  200   vtkGetMacro(ShaftType, 
int);
 
  207   void SetTipType(
int type);
 
  211   vtkGetMacro(TipType, 
int);
 
  260   vtkSetStringMacro(XAxisLabelText);
 
  261   vtkGetStringMacro(XAxisLabelText);
 
  262   vtkSetStringMacro(YAxisLabelText);
 
  263   vtkGetStringMacro(YAxisLabelText);
 
  264   vtkSetStringMacro(ZAxisLabelText);
 
  265   vtkGetStringMacro(ZAxisLabelText);
 
  310   double TotalLength[3];
 
  311   double NormalizedShaftLength[3];
 
  312   double NormalizedTipLength[3];
 
  313   double NormalizedLabelPosition[3];
 
  
vtkPolyData * UserDefinedShaft
represents an 3D object for placement in a rendered scene
virtual int RenderOverlay(vtkViewport *)
vtkCaptionActor2D * YAxisLabel
vtkLineSource * LineSource
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
void SetTotalLength(double v[3])
Set the total length of the axes in 3 dimensions.
virtual int RenderOpaqueGeometry(vtkViewport *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkCylinderSource * CylinderSource
vtkCaptionActor2D * XAxisLabel
void SetNormalizedLabelPosition(double v[3])
Set the normalized (0-1) position of the label along the length of the shaft.
double * GetBounds() override=0
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
void SetShaftTypeToCylinder()
window superclass for vtkRenderWindow
virtual vtkTypeBool HasTranslucentPolygonalGeometry()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDE...
vtkCaptionActor2D * ZAxisLabel
virtual void GetActors(vtkPropCollection *)
For some exporters and other other operations we must be able to collect all the actors or volumes.
void SetTipTypeToUserDefined()
#define VTK_SIZEHINT(...)
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)
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
void SetShaftTypeToLine()
generate a cylinder centered at origin
create a line defined by two end points
vtkPolyData * UserDefinedTip
vtkCaptionActor2D * GetZAxisCaptionActor2D()
abstract specification for Viewports
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
abstract superclass for all actors, volumes and annotations
draw text label associated with a point
void ShallowCopy(vtkProp *prop) override
Shallow copy of this vtkProp3D.
vtkSphereSource * SphereSource
void SetNormalizedTipLength(double v[3])
Set the normalized (0-1) length of the tip.
void SetShaftTypeToUserDefined()
abstract specification for renderers
vtkCaptionActor2D * GetYAxisCaptionActor2D()
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetTipTypeToSphere()
represent surface properties of a geometric object
void SetNormalizedShaftLength(double v[3])
Set the normalized (0-1) length of the shaft.
virtual void ReleaseGraphicsResources(vtkWindow *)
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being...
vtkConeSource * ConeSource
vtkTypeUInt32 vtkMTimeType