#include <vtkAxesActor.h>
vtkAxesActor is a hybrid 2D/3D actor used to represent 3D axes in a scene. The user can define the geometry to use for the shaft or the tip, and the user can set the text for the three axes. The text will appear to follow the camera since it is implemented by means of vtkCaptionActor2D. All of the functionality of the underlying vtkCaptionActor2D objects are accessable so that, for instance, the font attributes of the axes text can be manipulated through vtkTextProperty. Since this class inherits from vtkProp3D, one can apply a user transform to the underlying geometry and the positioning of the labels. For example, a rotation transform could be used to generate a left-handed axes representation.
Definition at line 66 of file vtkAxesActor.h.
typedef vtkProp3D vtkAxesActor::Superclass |
anonymous enum |
Definition at line 247 of file vtkAxesActor.h.
anonymous enum |
vtkAxesActor::vtkAxesActor | ( | ) | [protected] |
vtkAxesActor::~vtkAxesActor | ( | ) | [protected] |
static vtkAxesActor* vtkAxesActor::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkAxesActor::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkProp3D.
static int vtkAxesActor::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkProp3D.
virtual int vtkAxesActor::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkProp3D.
static vtkAxesActor* vtkAxesActor::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkProp3D.
void vtkAxesActor::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
virtual void vtkAxesActor::GetActors | ( | vtkPropCollection * | ) | [virtual] |
For some exporters and other other operations we must be able to collect all the actors or volumes. These methods are used in that process.
Reimplemented from vtkProp.
virtual int vtkAxesActor::RenderOpaqueGeometry | ( | vtkViewport * | viewport | ) | [virtual] |
Support the standard render methods.
Reimplemented from vtkProp.
virtual int vtkAxesActor::RenderTranslucentPolygonalGeometry | ( | vtkViewport * | viewport | ) | [virtual] |
Support the standard render methods.
Reimplemented from vtkProp.
virtual int vtkAxesActor::RenderOverlay | ( | vtkViewport * | viewport | ) | [virtual] |
Support the standard render methods.
Reimplemented from vtkProp.
virtual int vtkAxesActor::HasTranslucentPolygonalGeometry | ( | ) | [virtual] |
Does this prop have some translucent polygonal geometry?
Reimplemented from vtkProp.
void vtkAxesActor::ShallowCopy | ( | vtkProp * | prop | ) | [virtual] |
void vtkAxesActor::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.
Reimplemented from vtkProp.
void vtkAxesActor::GetBounds | ( | double | bounds[6] | ) |
Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). (The method GetBounds(double bounds[6]) is available from the superclass.)
Reimplemented from vtkProp3D.
double* vtkAxesActor::GetBounds | ( | ) | [virtual] |
Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). (The method GetBounds(double bounds[6]) is available from the superclass.)
Implements vtkProp3D.
unsigned long int vtkAxesActor::GetMTime | ( | ) | [virtual] |
Get the actors mtime plus consider its properties and texture if set.
Reimplemented from vtkProp3D.
virtual unsigned long vtkAxesActor::GetRedrawMTime | ( | ) | [virtual] |
Return the mtime of anything that would cause the rendered image to appear differently. Usually this involves checking the mtime of the prop plus anything else it depends on such as properties, textures etc.
Reimplemented from vtkProp.
void vtkAxesActor::SetTotalLength | ( | double | v[3] | ) | [inline] |
Set the total length of the axes in 3 dimensions.
Definition at line 115 of file vtkAxesActor.h.
void vtkAxesActor::SetTotalLength | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Set the total length of the axes in 3 dimensions.
virtual double* vtkAxesActor::GetTotalLength | ( | ) | [virtual] |
Set the total length of the axes in 3 dimensions.
virtual void vtkAxesActor::GetTotalLength | ( | double | data[3] | ) | [virtual] |
Set the total length of the axes in 3 dimensions.
void vtkAxesActor::SetNormalizedShaftLength | ( | double | v[3] | ) | [inline] |
Set the normalized (0-1) length of the shaft.
Definition at line 123 of file vtkAxesActor.h.
void vtkAxesActor::SetNormalizedShaftLength | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Set the normalized (0-1) length of the shaft.
virtual double* vtkAxesActor::GetNormalizedShaftLength | ( | ) | [virtual] |
Set the normalized (0-1) length of the shaft.
virtual void vtkAxesActor::GetNormalizedShaftLength | ( | double | data[3] | ) | [virtual] |
Set the normalized (0-1) length of the shaft.
void vtkAxesActor::SetNormalizedTipLength | ( | double | v[3] | ) | [inline] |
Set the normalized (0-1) length of the tip. Normally, this would be 1 - the normalized length of the shaft.
Definition at line 132 of file vtkAxesActor.h.
void vtkAxesActor::SetNormalizedTipLength | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Set the normalized (0-1) length of the tip. Normally, this would be 1 - the normalized length of the shaft.
virtual double* vtkAxesActor::GetNormalizedTipLength | ( | ) | [virtual] |
Set the normalized (0-1) length of the tip. Normally, this would be 1 - the normalized length of the shaft.
virtual void vtkAxesActor::GetNormalizedTipLength | ( | double | data[3] | ) | [virtual] |
Set the normalized (0-1) length of the tip. Normally, this would be 1 - the normalized length of the shaft.
void vtkAxesActor::SetNormalizedLabelPosition | ( | double | v[3] | ) | [inline] |
Set the normalized (0-1) position of the label along the length of the shaft. A value > 1 is permissible.
Definition at line 141 of file vtkAxesActor.h.
void vtkAxesActor::SetNormalizedLabelPosition | ( | double | x, | |
double | y, | |||
double | z | |||
) |
Set the normalized (0-1) position of the label along the length of the shaft. A value > 1 is permissible.
virtual double* vtkAxesActor::GetNormalizedLabelPosition | ( | ) | [virtual] |
Set the normalized (0-1) position of the label along the length of the shaft. A value > 1 is permissible.
virtual void vtkAxesActor::GetNormalizedLabelPosition | ( | double | data[3] | ) | [virtual] |
Set the normalized (0-1) position of the label along the length of the shaft. A value > 1 is permissible.
virtual void vtkAxesActor::SetConeResolution | ( | int | ) | [virtual] |
Set/get the resolution of the pieces of the axes actor.
virtual int vtkAxesActor::GetConeResolution | ( | ) | [virtual] |
Set/get the resolution of the pieces of the axes actor.
virtual void vtkAxesActor::SetSphereResolution | ( | int | ) | [virtual] |
Set/get the resolution of the pieces of the axes actor.
virtual int vtkAxesActor::GetSphereResolution | ( | ) | [virtual] |
Set/get the resolution of the pieces of the axes actor.
virtual void vtkAxesActor::SetCylinderResolution | ( | int | ) | [virtual] |
Set/get the resolution of the pieces of the axes actor.
virtual int vtkAxesActor::GetCylinderResolution | ( | ) | [virtual] |
Set/get the resolution of the pieces of the axes actor.
virtual void vtkAxesActor::SetConeRadius | ( | double | ) | [virtual] |
Set/get the radius of the pieces of the axes actor.
virtual double vtkAxesActor::GetConeRadius | ( | ) | [virtual] |
Set/get the radius of the pieces of the axes actor.
virtual void vtkAxesActor::SetSphereRadius | ( | double | ) | [virtual] |
Set/get the radius of the pieces of the axes actor.
virtual double vtkAxesActor::GetSphereRadius | ( | ) | [virtual] |
Set/get the radius of the pieces of the axes actor.
virtual void vtkAxesActor::SetCylinderRadius | ( | double | ) | [virtual] |
Set/get the radius of the pieces of the axes actor.
virtual double vtkAxesActor::GetCylinderRadius | ( | ) | [virtual] |
Set/get the radius of the pieces of the axes actor.
void vtkAxesActor::SetShaftType | ( | int | type | ) |
Set the type of the shaft to a cylinder, line, or user defined geometry.
void vtkAxesActor::SetShaftTypeToCylinder | ( | ) | [inline] |
Set the type of the shaft to a cylinder, line, or user defined geometry.
Definition at line 171 of file vtkAxesActor.h.
void vtkAxesActor::SetShaftTypeToLine | ( | ) | [inline] |
Set the type of the shaft to a cylinder, line, or user defined geometry.
Definition at line 173 of file vtkAxesActor.h.
void vtkAxesActor::SetShaftTypeToUserDefined | ( | ) | [inline] |
Set the type of the shaft to a cylinder, line, or user defined geometry.
Definition at line 175 of file vtkAxesActor.h.
virtual int vtkAxesActor::GetShaftType | ( | ) | [virtual] |
Set the type of the shaft to a cylinder, line, or user defined geometry.
void vtkAxesActor::SetTipType | ( | int | type | ) |
Set the type of the tip to a cone, sphere, or user defined geometry.
void vtkAxesActor::SetTipTypeToCone | ( | ) | [inline] |
Set the type of the tip to a cone, sphere, or user defined geometry.
Definition at line 183 of file vtkAxesActor.h.
void vtkAxesActor::SetTipTypeToSphere | ( | ) | [inline] |
Set the type of the tip to a cone, sphere, or user defined geometry.
Definition at line 185 of file vtkAxesActor.h.
void vtkAxesActor::SetTipTypeToUserDefined | ( | ) | [inline] |
Set the type of the tip to a cone, sphere, or user defined geometry.
Definition at line 187 of file vtkAxesActor.h.
virtual int vtkAxesActor::GetTipType | ( | ) | [virtual] |
Set the type of the tip to a cone, sphere, or user defined geometry.
void vtkAxesActor::SetUserDefinedTip | ( | vtkPolyData * | ) |
Set the user defined tip polydata.
virtual vtkPolyData* vtkAxesActor::GetUserDefinedTip | ( | ) | [virtual] |
Set the user defined tip polydata.
void vtkAxesActor::SetUserDefinedShaft | ( | vtkPolyData * | ) |
Set the user defined shaft polydata.
virtual vtkPolyData* vtkAxesActor::GetUserDefinedShaft | ( | ) | [virtual] |
Set the user defined shaft polydata.
vtkProperty* vtkAxesActor::GetXAxisTipProperty | ( | ) |
Get the tip properties.
vtkProperty* vtkAxesActor::GetYAxisTipProperty | ( | ) |
Get the tip properties.
vtkProperty* vtkAxesActor::GetZAxisTipProperty | ( | ) |
Get the tip properties.
vtkProperty* vtkAxesActor::GetXAxisShaftProperty | ( | ) |
Get the shaft properties.
vtkProperty* vtkAxesActor::GetYAxisShaftProperty | ( | ) |
Get the shaft properties.
vtkProperty* vtkAxesActor::GetZAxisShaftProperty | ( | ) |
Get the shaft properties.
vtkCaptionActor2D* vtkAxesActor::GetXAxisCaptionActor2D | ( | ) | [inline] |
Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example)
Definition at line 221 of file vtkAxesActor.h.
vtkCaptionActor2D* vtkAxesActor::GetYAxisCaptionActor2D | ( | ) | [inline] |
Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example)
Definition at line 223 of file vtkAxesActor.h.
vtkCaptionActor2D* vtkAxesActor::GetZAxisCaptionActor2D | ( | ) | [inline] |
Retrieve handles to the X, Y and Z axis (so that you can set their text properties for example)
Definition at line 225 of file vtkAxesActor.h.
virtual void vtkAxesActor::SetXAxisLabelText | ( | const char * | ) | [virtual] |
Set/get the label text.
virtual char* vtkAxesActor::GetXAxisLabelText | ( | ) | [virtual] |
Set/get the label text.
virtual void vtkAxesActor::SetYAxisLabelText | ( | const char * | ) | [virtual] |
Set/get the label text.
virtual char* vtkAxesActor::GetYAxisLabelText | ( | ) | [virtual] |
Set/get the label text.
virtual void vtkAxesActor::SetZAxisLabelText | ( | const char * | ) | [virtual] |
Set/get the label text.
virtual char* vtkAxesActor::GetZAxisLabelText | ( | ) | [virtual] |
Set/get the label text.
virtual void vtkAxesActor::SetAxisLabels | ( | int | ) | [virtual] |
Enable/disable drawing the axis labels.
virtual int vtkAxesActor::GetAxisLabels | ( | ) | [virtual] |
Enable/disable drawing the axis labels.
virtual void vtkAxesActor::AxisLabelsOn | ( | ) | [virtual] |
Enable/disable drawing the axis labels.
virtual void vtkAxesActor::AxisLabelsOff | ( | ) | [virtual] |
Enable/disable drawing the axis labels.
void vtkAxesActor::UpdateProps | ( | ) | [protected] |
vtkCylinderSource* vtkAxesActor::CylinderSource [protected] |
Definition at line 266 of file vtkAxesActor.h.
vtkLineSource* vtkAxesActor::LineSource [protected] |
Definition at line 267 of file vtkAxesActor.h.
vtkConeSource* vtkAxesActor::ConeSource [protected] |
Definition at line 268 of file vtkAxesActor.h.
vtkSphereSource* vtkAxesActor::SphereSource [protected] |
Definition at line 269 of file vtkAxesActor.h.
vtkActor* vtkAxesActor::XAxisShaft [protected] |
Definition at line 271 of file vtkAxesActor.h.
vtkActor* vtkAxesActor::YAxisShaft [protected] |
Definition at line 272 of file vtkAxesActor.h.
vtkActor* vtkAxesActor::ZAxisShaft [protected] |
Definition at line 273 of file vtkAxesActor.h.
vtkActor* vtkAxesActor::XAxisTip [protected] |
Definition at line 275 of file vtkAxesActor.h.
vtkActor* vtkAxesActor::YAxisTip [protected] |
Definition at line 276 of file vtkAxesActor.h.
vtkActor* vtkAxesActor::ZAxisTip [protected] |
Definition at line 277 of file vtkAxesActor.h.
double vtkAxesActor::TotalLength[3] [protected] |
Definition at line 281 of file vtkAxesActor.h.
double vtkAxesActor::NormalizedShaftLength[3] [protected] |
Definition at line 282 of file vtkAxesActor.h.
double vtkAxesActor::NormalizedTipLength[3] [protected] |
Definition at line 283 of file vtkAxesActor.h.
double vtkAxesActor::NormalizedLabelPosition[3] [protected] |
Definition at line 284 of file vtkAxesActor.h.
int vtkAxesActor::ShaftType [protected] |
Definition at line 286 of file vtkAxesActor.h.
int vtkAxesActor::TipType [protected] |
Definition at line 287 of file vtkAxesActor.h.
vtkPolyData* vtkAxesActor::UserDefinedTip [protected] |
Definition at line 289 of file vtkAxesActor.h.
vtkPolyData* vtkAxesActor::UserDefinedShaft [protected] |
Definition at line 290 of file vtkAxesActor.h.
char* vtkAxesActor::XAxisLabelText [protected] |
Definition at line 292 of file vtkAxesActor.h.
char* vtkAxesActor::YAxisLabelText [protected] |
Definition at line 293 of file vtkAxesActor.h.
char* vtkAxesActor::ZAxisLabelText [protected] |
Definition at line 294 of file vtkAxesActor.h.
vtkCaptionActor2D* vtkAxesActor::XAxisLabel [protected] |
Definition at line 296 of file vtkAxesActor.h.
vtkCaptionActor2D* vtkAxesActor::YAxisLabel [protected] |
Definition at line 297 of file vtkAxesActor.h.
vtkCaptionActor2D* vtkAxesActor::ZAxisLabel [protected] |
Definition at line 298 of file vtkAxesActor.h.
int vtkAxesActor::AxisLabels [protected] |
Definition at line 300 of file vtkAxesActor.h.
int vtkAxesActor::ConeResolution [protected] |
Definition at line 303 of file vtkAxesActor.h.
int vtkAxesActor::SphereResolution [protected] |
Definition at line 304 of file vtkAxesActor.h.
int vtkAxesActor::CylinderResolution [protected] |
Definition at line 305 of file vtkAxesActor.h.
double vtkAxesActor::ConeRadius [protected] |
Definition at line 307 of file vtkAxesActor.h.
double vtkAxesActor::SphereRadius [protected] |
Definition at line 308 of file vtkAxesActor.h.
double vtkAxesActor::CylinderRadius [protected] |
Definition at line 309 of file vtkAxesActor.h.