53 #ifndef vtkAxesActor_h
54 #define vtkAxesActor_h
120 { this->SetTotalLength( v[0], v[1], v[2] ); }
121 void SetTotalLength(
double x,
double y,
double z );
122 vtkGetVectorMacro( TotalLength,
double, 3 );
128 { this->SetNormalizedShaftLength( v[0], v[1], v[2] ); }
129 void SetNormalizedShaftLength(
double x,
double y,
double z );
130 vtkGetVectorMacro( NormalizedShaftLength,
double, 3 );
137 { this->SetNormalizedTipLength( v[0], v[1], v[2] ); }
138 void SetNormalizedTipLength(
double x,
double y,
double z );
139 vtkGetVectorMacro( NormalizedTipLength,
double, 3 );
146 { this->SetNormalizedLabelPosition( v[0], v[1], v[2] ); }
147 void SetNormalizedLabelPosition(
double x,
double y,
double z );
148 vtkGetVectorMacro( NormalizedLabelPosition,
double, 3 );
153 vtkSetClampMacro(ConeResolution,
int, 3, 128);
154 vtkGetMacro(ConeResolution,
int);
155 vtkSetClampMacro(SphereResolution,
int, 3, 128);
156 vtkGetMacro(SphereResolution,
int);
157 vtkSetClampMacro(CylinderResolution,
int, 3, 128);
158 vtkGetMacro(CylinderResolution,
int);
164 vtkGetMacro(ConeRadius,
double);
166 vtkGetMacro(SphereRadius,
double);
168 vtkGetMacro(CylinderRadius,
double);
174 void SetShaftType(
int type );
181 vtkGetMacro(ShaftType,
int);
186 void SetTipType(
int type );
193 vtkGetMacro(TipType,
int);
205 vtkGetObjectMacro( UserDefinedShaft,
vtkPolyData );
226 {
return this->XAxisLabel;}
228 {
return this->YAxisLabel;}
230 {
return this->ZAxisLabel;}
235 vtkSetStringMacro( XAxisLabelText );
236 vtkGetStringMacro( XAxisLabelText );
237 vtkSetStringMacro( YAxisLabelText );
238 vtkGetStringMacro( YAxisLabelText );
239 vtkSetStringMacro( ZAxisLabelText );
240 vtkGetStringMacro( ZAxisLabelText );
245 vtkSetMacro(AxisLabels,
int);
246 vtkGetMacro(AxisLabels,
int);
247 vtkBooleanMacro(AxisLabels,
int);
285 double TotalLength[3];
286 double NormalizedShaftLength[3];
287 double NormalizedTipLength[3];
288 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
#define VTKRENDERINGANNOTATION_EXPORT
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])