53 #ifndef __vtkAxesActor_h
54 #define __vtkAxesActor_h
119 { this->SetTotalLength( v[0], v[1], v[2] ); }
120 void SetTotalLength(
double x,
double y,
double z );
121 vtkGetVectorMacro( TotalLength,
double, 3 );
127 { this->SetNormalizedShaftLength( v[0], v[1], v[2] ); }
128 void SetNormalizedShaftLength(
double x,
double y,
double z );
129 vtkGetVectorMacro( NormalizedShaftLength,
double, 3 );
136 { this->SetNormalizedTipLength( v[0], v[1], v[2] ); }
137 void SetNormalizedTipLength(
double x,
double y,
double z );
138 vtkGetVectorMacro( NormalizedTipLength,
double, 3 );
145 { this->SetNormalizedLabelPosition( v[0], v[1], v[2] ); }
146 void SetNormalizedLabelPosition(
double x,
double y,
double z );
147 vtkGetVectorMacro( NormalizedLabelPosition,
double, 3 );
152 vtkSetClampMacro(ConeResolution,
int, 3, 128);
153 vtkGetMacro(ConeResolution,
int);
154 vtkSetClampMacro(SphereResolution,
int, 3, 128);
155 vtkGetMacro(SphereResolution,
int);
156 vtkSetClampMacro(CylinderResolution,
int, 3, 128);
157 vtkGetMacro(CylinderResolution,
int);
163 vtkGetMacro(ConeRadius,
double);
165 vtkGetMacro(SphereRadius,
double);
167 vtkGetMacro(CylinderRadius,
double);
173 void SetShaftType(
int type );
180 vtkGetMacro(ShaftType,
int);
185 void SetTipType(
int type );
192 vtkGetMacro(TipType,
int);
204 vtkGetObjectMacro( UserDefinedShaft,
vtkPolyData );
225 {
return this->XAxisLabel;}
227 {
return this->YAxisLabel;}
229 {
return this->ZAxisLabel;}
234 vtkSetStringMacro( XAxisLabelText );
235 vtkGetStringMacro( XAxisLabelText );
236 vtkSetStringMacro( YAxisLabelText );
237 vtkGetStringMacro( YAxisLabelText );
238 vtkSetStringMacro( ZAxisLabelText );
239 vtkGetStringMacro( ZAxisLabelText );
244 vtkSetMacro(AxisLabels,
int);
245 vtkGetMacro(AxisLabels,
int);
246 vtkBooleanMacro(AxisLabels,
int);
284 double TotalLength[3];
285 double NormalizedShaftLength[3];
286 double NormalizedTipLength[3];
287 double NormalizedLabelPosition[3];
abstract superclass for all actors, volumes and annotations
vtkCaptionActor2D * GetXAxisCaptionActor2D()
represents an object (geometry & properties) in a rendered scene
void SetTotalLength(double v[3])
vtkPolyData * UserDefinedTip
generate a cylinder centered at origin
abstract specification for Viewports
represent surface properties of a geometric object
virtual int RenderOpaqueGeometry(vtkViewport *)
virtual int HasTranslucentPolygonalGeometry()
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 *)
window superclass for vtkRenderWindow
create a polygonal sphere centered at the origin
void ShallowCopy(vtkProp *prop)
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
vtkCaptionActor2D * ZAxisLabel
vtkConeSource * ConeSource
virtual unsigned long GetRedrawMTime()
vtkCaptionActor2D * YAxisLabel
create a line defined by two end points
void SetShaftTypeToUserDefined()
void SetShaftTypeToLine()
vtkCylinderSource * CylinderSource
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual double * GetBounds()=0
vtkCaptionActor2D * XAxisLabel
draw text label associated with a point
void SetNormalizedLabelPosition(double v[3])
void SetShaftTypeToCylinder()
void SetNormalizedTipLength(double v[3])
vtkPolyData * UserDefinedShaft
unsigned long int GetMTime()
virtual void GetActors(vtkPropCollection *)
void SetTipTypeToUserDefined()
void SetTipTypeToSphere()
void SetNormalizedShaftLength(double v[3])