VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkAxisActor Class Reference

Create an axis with tick marks and labels. More...

#include <vtkAxisActor.h>

Inheritance diagram for vtkAxisActor:
Inheritance graph
[legend]
Collaboration diagram for vtkAxisActor:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkActor Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkAxisActorNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void SetTickLocationToInside (void)
void SetTickLocationToOutside (void)
void SetTickLocationToBoth (void)
virtual void SetDrawGridlinesLocation (int)
virtual int GetDrawGridlinesLocation ()
void SetAxisPositionToMinMin (void)
void SetAxisPositionToMinMax (void)
void SetAxisPositionToMaxMax (void)
void SetAxisPositionToMaxMin (void)
void ReleaseGraphicsResources (vtkWindow *)
double ComputeMaxLabelLength (const double[3])
double ComputeTitleLength (const double[3])
void SetLabelScale (const double)
void SetTitleScale (const double)
void SetLabels (vtkStringArray *labels)
void BuildAxis (vtkViewport *viewport, bool)
virtual vtkCoordinateGetPoint1Coordinate ()
virtual void SetPoint1 (double x[3])
virtual void SetPoint1 (double x, double y, double z)
virtual doubleGetPoint1 ()
virtual vtkCoordinateGetPoint2Coordinate ()
virtual void SetPoint2 (double x[3])
virtual void SetPoint2 (double x, double y, double z)
virtual doubleGetPoint2 ()
virtual void SetRange (double, double)
void SetRange (double[2])
virtual doubleGetRange ()
virtual void GetRange (double data[2])
void SetBounds (double bounds[6])
void SetBounds (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
doubleGetBounds (void)
void GetBounds (double bounds[6])
virtual void SetLabelFormat (const char *)
virtual char * GetLabelFormat ()
virtual void SetMinorTicksVisible (int)
virtual int GetMinorTicksVisible ()
virtual void MinorTicksVisibleOn ()
virtual void MinorTicksVisibleOff ()
void SetTitle (const char *t)
virtual char * GetTitle ()
virtual void SetMajorTickSize (double)
virtual double GetMajorTickSize ()
virtual void SetMinorTickSize (double)
virtual double GetMinorTickSize ()
virtual void SetTickLocation (int)
virtual int GetTickLocation ()
virtual void SetAxisVisibility (int)
virtual int GetAxisVisibility ()
virtual void AxisVisibilityOn ()
virtual void AxisVisibilityOff ()
virtual void SetTickVisibility (int)
virtual int GetTickVisibility ()
virtual void TickVisibilityOn ()
virtual void TickVisibilityOff ()
virtual void SetLabelVisibility (int)
virtual int GetLabelVisibility ()
virtual void LabelVisibilityOn ()
virtual void LabelVisibilityOff ()
virtual void SetTitleVisibility (int)
virtual int GetTitleVisibility ()
virtual void TitleVisibilityOn ()
virtual void TitleVisibilityOff ()
virtual void SetTitleTextProperty (vtkTextProperty *p)
virtual vtkTextPropertyGetTitleTextProperty ()
virtual void SetLabelTextProperty (vtkTextProperty *p)
virtual vtkTextPropertyGetLabelTextProperty ()
void SetAxisLinesProperty (vtkProperty *)
vtkPropertyGetAxisLinesProperty ()
void SetGridlinesProperty (vtkProperty *)
vtkPropertyGetGridlinesProperty ()
void SetInnerGridlinesProperty (vtkProperty *)
vtkPropertyGetInnerGridlinesProperty ()
void SetGridpolysProperty (vtkProperty *)
vtkPropertyGetGridpolysProperty ()
virtual void SetDrawGridlines (int)
virtual int GetDrawGridlines ()
virtual void DrawGridlinesOn ()
virtual void DrawGridlinesOff ()
virtual void SetDrawGridlinesOnly (int)
virtual int GetDrawGridlinesOnly ()
virtual void DrawGridlinesOnlyOn ()
virtual void DrawGridlinesOnlyOff ()
virtual void SetDrawInnerGridlines (int)
virtual int GetDrawInnerGridlines ()
virtual void DrawInnerGridlinesOn ()
virtual void DrawInnerGridlinesOff ()
virtual void SetGridlineXLength (double)
virtual double GetGridlineXLength ()
virtual void SetGridlineYLength (double)
virtual double GetGridlineYLength ()
virtual void SetGridlineZLength (double)
virtual double GetGridlineZLength ()
virtual void SetDrawGridpolys (int)
virtual int GetDrawGridpolys ()
virtual void DrawGridpolysOn ()
virtual void DrawGridpolysOff ()
virtual void SetAxisType (int)
virtual int GetAxisType ()
void SetAxisTypeToX (void)
void SetAxisTypeToY (void)
void SetAxisTypeToZ (void)
virtual void SetAxisPosition (int)
virtual int GetAxisPosition ()
virtual void SetCamera (vtkCamera *)
virtual vtkCameraGetCamera ()
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
virtual int RenderTranslucentGeometry (vtkViewport *viewport)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)
virtual int RenderOverlay (vtkViewport *viewport)
int HasTranslucentPolygonalGeometry ()
virtual void SetMinorStart (double)
virtual double GetMinorStart ()
double GetMajorStart (int axis)
void SetMajorStart (int axis, double value)
virtual void SetDeltaMinor (double)
virtual double GetDeltaMinor ()
double GetDeltaMajor (int axis)
void SetDeltaMajor (int axis, double value)
virtual void SetMinorRangeStart (double)
virtual double GetMinorRangeStart ()
virtual void SetMajorRangeStart (double)
virtual double GetMajorRangeStart ()
virtual void SetDeltaRangeMinor (double)
virtual double GetDeltaRangeMinor ()
virtual void SetDeltaRangeMajor (double)
virtual double GetDeltaRangeMajor ()
virtual vtkAxisFollowerGetTitleActor ()
vtkAxisFollower ** GetLabelActors ()
virtual int GetNumberOfLabelsBuilt ()
virtual void SetCalculateTitleOffset (int)
virtual int GetCalculateTitleOffset ()
virtual void CalculateTitleOffsetOn ()
virtual void CalculateTitleOffsetOff ()
virtual void SetCalculateLabelOffset (int)
virtual int GetCalculateLabelOffset ()
virtual void CalculateLabelOffsetOn ()
virtual void CalculateLabelOffsetOff ()
virtual void SetUse2DMode (int)
virtual int GetUse2DMode ()
virtual void SetVerticalOffsetXTitle2D (double)
virtual double GetVerticalOffsetXTitle2D ()
virtual void SetHorizontalOffsetYTitle2D (double)
virtual double GetHorizontalOffsetYTitle2D ()
virtual void SetSaveTitlePosition (int)
virtual int GetSaveTitlePosition ()
virtual void SetAxisBaseForX (double, double, double)
virtual void SetAxisBaseForX (double[3])
virtual doubleGetAxisBaseForX ()
virtual void GetAxisBaseForX (double &, double &, double &)
virtual void GetAxisBaseForX (double[3])
virtual void SetAxisBaseForY (double, double, double)
virtual void SetAxisBaseForY (double[3])
virtual doubleGetAxisBaseForY ()
virtual void GetAxisBaseForY (double &, double &, double &)
virtual void GetAxisBaseForY (double[3])
virtual void SetAxisBaseForZ (double, double, double)
virtual void SetAxisBaseForZ (double[3])
virtual doubleGetAxisBaseForZ ()
virtual void GetAxisBaseForZ (double &, double &, double &)
virtual void GetAxisBaseForZ (double[3])
virtual void SetAxisOnOrigin (int)
virtual int GetAxisOnOrigin ()
virtual void SetLabelOffset (double)
virtual double GetLabelOffset ()
virtual void SetTitleOffset (double)
virtual double GetTitleOffset ()
virtual void SetScreenSize (double)
virtual double GetScreenSize ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkAxisActorSafeDownCast (vtkObjectBase *o)
static vtkAxisActorNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkAxisActor ()
 ~vtkAxisActor ()

Protected Attributes

char * Title
double Range [2]
double LastRange [2]
char * LabelFormat
int NumberOfLabelsBuilt
int MinorTicksVisible
int LastMinorTicksVisible
int TickLocation
int DrawGridlines
int DrawGridlinesOnly
int LastDrawGridlines
int DrawGridlinesLocation
int LastDrawGridlinesLocation
double GridlineXLength
double GridlineYLength
double GridlineZLength
int DrawInnerGridlines
int LastDrawInnerGridlines
int DrawGridpolys
int LastDrawGridpolys
int AxisVisibility
int TickVisibility
int LastTickVisibility
int LabelVisibility
int TitleVisibility
int AxisType
int AxisPosition
double Bounds [6]
double AxisBaseForX [3]
double AxisBaseForY [3]
double AxisBaseForZ [3]

Detailed Description

Create an axis with tick marks and labels.

$Date$ $Revision$

vtkAxisActor creates an axis with tick marks, labels, and/or a title, depending on the particular instance variable settings. It is assumed that the axes is part of a bounding box and is orthoganal to one of the coordinate axes. To use this class, you typically specify two points defining the start and end points of the line (xyz definition using vtkCoordinate class), the axis type (X, Y or Z), the axis location in relation to the bounding box, the bounding box, the number of labels, and the data range (min,max). You can also control what parts of the axis are visible including the line, the tick marks, the labels, and the title. It is also possible to control gridlines, and specifiy on which 'side' the tickmarks are drawn (again with respect to the underlying assumed bounding box). You can also specify the label format (a printf style format).

This class decides how to locate the labels, and how to create reasonable tick marks and labels.

Labels follow the camera so as to be legible from any viewpoint.

The instance variables Point1 and Point2 are instances of vtkCoordinate. All calculations and references are in World Coordinates.

Thanks:
This class was written by: Hank Childs, Kathleen Bonnell, Amy Squillacote, Brad Whitlock, Eric Brugger, Claire Guilbaud, Nicolas Dolegieviez, Will Schroeder, Karthik Krishnan, Aashish Chaudhary, Philippe Pebay, David Gobbi, David Partyka, Utkarsh Ayachit David Cole, Francois Bertel, and Mark Olesen Part of this work was supported by CEA/DIF - Commissariat a l'Energie Atomique, Centre DAM Ile-De-France, BP12, F-91297 Arpajon, France.
See also:
vtkActor vtkVectorText vtkPolyDataMapper vtkAxisActor2D vtkCoordinate
Tests:
vtkAxisActor (Tests)

Definition at line 91 of file vtkAxisActor.h.


Member Typedef Documentation

Reimplemented from vtkActor.

Definition at line 94 of file vtkAxisActor.h.


Constructor & Destructor Documentation

vtkAxisActor::vtkAxisActor ( ) [protected]
vtkAxisActor::~vtkAxisActor ( ) [protected]

Member Function Documentation

static int vtkAxisActor::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkActor.

virtual int vtkAxisActor::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkActor.

Reimplemented from vtkActor.

virtual vtkObjectBase* vtkAxisActor::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkActor.

Reimplemented from vtkActor.

void vtkAxisActor::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkActor.

static vtkAxisActor* vtkAxisActor::New ( ) [static]

Instantiate object.

Reimplemented from vtkActor.

Specify the position of the first point defining the axis.

virtual void vtkAxisActor::SetPoint1 ( double  x[3]) [inline, virtual]

Specify the position of the first point defining the axis.

Definition at line 103 of file vtkAxisActor.h.

virtual void vtkAxisActor::SetPoint1 ( double  x,
double  y,
double  z 
) [virtual]

Specify the position of the first point defining the axis.

virtual double* vtkAxisActor::GetPoint1 ( ) [virtual]

Specify the position of the first point defining the axis.

Specify the position of the second point defining the axis.

virtual void vtkAxisActor::SetPoint2 ( double  x[3]) [inline, virtual]

Specify the position of the second point defining the axis.

Definition at line 112 of file vtkAxisActor.h.

virtual void vtkAxisActor::SetPoint2 ( double  x,
double  y,
double  z 
) [virtual]

Specify the position of the second point defining the axis.

virtual double* vtkAxisActor::GetPoint2 ( ) [virtual]

Specify the position of the second point defining the axis.

virtual void vtkAxisActor::SetRange ( double  ,
double   
) [virtual]

Specify the (min,max) axis range. This will be used in the generation of labels, if labels are visible.

Specify the (min,max) axis range. This will be used in the generation of labels, if labels are visible.

virtual double* vtkAxisActor::GetRange ( ) [virtual]

Specify the (min,max) axis range. This will be used in the generation of labels, if labels are visible.

virtual void vtkAxisActor::GetRange ( double  data[2]) [virtual]

Specify the (min,max) axis range. This will be used in the generation of labels, if labels are visible.

void vtkAxisActor::SetBounds ( double  bounds[6])

Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).

void vtkAxisActor::SetBounds ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
double  zmin,
double  zmax 
)

Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).

double* vtkAxisActor::GetBounds ( void  ) [virtual]

Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).

Reimplemented from vtkActor.

void vtkAxisActor::GetBounds ( double  bounds[6])

Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).

Reimplemented from vtkActor.

virtual void vtkAxisActor::SetLabelFormat ( const char *  ) [virtual]

Set/Get the format with which to print the labels on the axis.

virtual char* vtkAxisActor::GetLabelFormat ( ) [virtual]

Set/Get the format with which to print the labels on the axis.

virtual void vtkAxisActor::SetMinorTicksVisible ( int  ) [virtual]

Set/Get the flag that controls whether the minor ticks are visible.

virtual int vtkAxisActor::GetMinorTicksVisible ( ) [virtual]

Set/Get the flag that controls whether the minor ticks are visible.

virtual void vtkAxisActor::MinorTicksVisibleOn ( ) [virtual]

Set/Get the flag that controls whether the minor ticks are visible.

virtual void vtkAxisActor::MinorTicksVisibleOff ( ) [virtual]

Set/Get the flag that controls whether the minor ticks are visible.

void vtkAxisActor::SetTitle ( const char *  t)

Set/Get the title of the axis actor,

virtual char* vtkAxisActor::GetTitle ( ) [virtual]

Set/Get the title of the axis actor,

virtual void vtkAxisActor::SetMajorTickSize ( double  ) [virtual]

Set/Get the size of the major tick marks

virtual double vtkAxisActor::GetMajorTickSize ( ) [virtual]

Set/Get the size of the major tick marks

virtual void vtkAxisActor::SetMinorTickSize ( double  ) [virtual]

Set/Get the size of the major tick marks

virtual double vtkAxisActor::GetMinorTickSize ( ) [virtual]

Set/Get the size of the major tick marks

virtual void vtkAxisActor::SetTickLocation ( int  ) [virtual]

Set/Get the location of the ticks.

virtual int vtkAxisActor::GetTickLocation ( ) [virtual]

Set/Get the location of the ticks.

void vtkAxisActor::SetTickLocationToInside ( void  ) [inline]

Definition at line 172 of file vtkAxisActor.h.

void vtkAxisActor::SetTickLocationToOutside ( void  ) [inline]

Definition at line 174 of file vtkAxisActor.h.

void vtkAxisActor::SetTickLocationToBoth ( void  ) [inline]

Definition at line 176 of file vtkAxisActor.h.

virtual void vtkAxisActor::SetAxisVisibility ( int  ) [virtual]

Set/Get visibility of the axis line.

virtual int vtkAxisActor::GetAxisVisibility ( ) [virtual]

Set/Get visibility of the axis line.

virtual void vtkAxisActor::AxisVisibilityOn ( ) [virtual]

Set/Get visibility of the axis line.

virtual void vtkAxisActor::AxisVisibilityOff ( ) [virtual]

Set/Get visibility of the axis line.

virtual void vtkAxisActor::SetTickVisibility ( int  ) [virtual]

Set/Get visibility of the axis tick marks.

virtual int vtkAxisActor::GetTickVisibility ( ) [virtual]

Set/Get visibility of the axis tick marks.

virtual void vtkAxisActor::TickVisibilityOn ( ) [virtual]

Set/Get visibility of the axis tick marks.

virtual void vtkAxisActor::TickVisibilityOff ( ) [virtual]

Set/Get visibility of the axis tick marks.

virtual void vtkAxisActor::SetLabelVisibility ( int  ) [virtual]

Set/Get visibility of the axis labels.

virtual int vtkAxisActor::GetLabelVisibility ( ) [virtual]

Set/Get visibility of the axis labels.

virtual void vtkAxisActor::LabelVisibilityOn ( ) [virtual]

Set/Get visibility of the axis labels.

virtual void vtkAxisActor::LabelVisibilityOff ( ) [virtual]

Set/Get visibility of the axis labels.

virtual void vtkAxisActor::SetTitleVisibility ( int  ) [virtual]

Set/Get visibility of the axis title.

virtual int vtkAxisActor::GetTitleVisibility ( ) [virtual]

Set/Get visibility of the axis title.

virtual void vtkAxisActor::TitleVisibilityOn ( ) [virtual]

Set/Get visibility of the axis title.

virtual void vtkAxisActor::TitleVisibilityOff ( ) [virtual]

Set/Get visibility of the axis title.

virtual void vtkAxisActor::SetTitleTextProperty ( vtkTextProperty p) [virtual]

Set/Get the axis title text property.

Set/Get the axis title text property.

virtual void vtkAxisActor::SetLabelTextProperty ( vtkTextProperty p) [virtual]

Set/Get the axis labels text property.

Set/Get the axis labels text property.

Get/Set axis actor property (axis and its ticks)

Get/Set axis actor property (axis and its ticks)

Get/Set gridlines actor property (outer grid lines)

Get/Set gridlines actor property (outer grid lines)

Get/Set inner gridlines actor property

Get/Set inner gridlines actor property

Get/Set gridPolys actor property (grid quads)

Get/Set gridPolys actor property (grid quads)

virtual void vtkAxisActor::SetDrawGridlines ( int  ) [virtual]

Set/Get whether gridlines should be drawn.

virtual int vtkAxisActor::GetDrawGridlines ( ) [virtual]

Set/Get whether gridlines should be drawn.

virtual void vtkAxisActor::DrawGridlinesOn ( ) [virtual]

Set/Get whether gridlines should be drawn.

virtual void vtkAxisActor::DrawGridlinesOff ( ) [virtual]

Set/Get whether gridlines should be drawn.

virtual void vtkAxisActor::SetDrawGridlinesOnly ( int  ) [virtual]

Set/Get whether ONLY the gridlines should be drawn. This will only draw GridLines and will skip any other part of the rendering such as Axis/Tick/Title/...

virtual int vtkAxisActor::GetDrawGridlinesOnly ( ) [virtual]

Set/Get whether ONLY the gridlines should be drawn. This will only draw GridLines and will skip any other part of the rendering such as Axis/Tick/Title/...

virtual void vtkAxisActor::DrawGridlinesOnlyOn ( ) [virtual]

Set/Get whether ONLY the gridlines should be drawn. This will only draw GridLines and will skip any other part of the rendering such as Axis/Tick/Title/...

virtual void vtkAxisActor::DrawGridlinesOnlyOff ( ) [virtual]

Set/Get whether ONLY the gridlines should be drawn. This will only draw GridLines and will skip any other part of the rendering such as Axis/Tick/Title/...

virtual void vtkAxisActor::SetDrawGridlinesLocation ( int  ) [virtual]
virtual void vtkAxisActor::SetDrawInnerGridlines ( int  ) [virtual]

Set/Get whether inner gridlines should be drawn.

Set/Get whether inner gridlines should be drawn.

virtual void vtkAxisActor::DrawInnerGridlinesOn ( ) [virtual]

Set/Get whether inner gridlines should be drawn.

virtual void vtkAxisActor::DrawInnerGridlinesOff ( ) [virtual]

Set/Get whether inner gridlines should be drawn.

virtual void vtkAxisActor::SetGridlineXLength ( double  ) [virtual]

Set/Get the length to use when drawing gridlines.

Set/Get the length to use when drawing gridlines.

virtual void vtkAxisActor::SetGridlineYLength ( double  ) [virtual]

Set/Get the length to use when drawing gridlines.

Set/Get the length to use when drawing gridlines.

virtual void vtkAxisActor::SetGridlineZLength ( double  ) [virtual]

Set/Get the length to use when drawing gridlines.

Set/Get the length to use when drawing gridlines.

virtual void vtkAxisActor::SetDrawGridpolys ( int  ) [virtual]

Set/Get whether gridpolys should be drawn.

virtual int vtkAxisActor::GetDrawGridpolys ( ) [virtual]

Set/Get whether gridpolys should be drawn.

virtual void vtkAxisActor::DrawGridpolysOn ( ) [virtual]

Set/Get whether gridpolys should be drawn.

virtual void vtkAxisActor::DrawGridpolysOff ( ) [virtual]

Set/Get whether gridpolys should be drawn.

virtual void vtkAxisActor::SetAxisType ( int  ) [virtual]

Set/Get the type of this axis.

virtual int vtkAxisActor::GetAxisType ( ) [virtual]

Set/Get the type of this axis.

void vtkAxisActor::SetAxisTypeToX ( void  ) [inline]

Set/Get the type of this axis.

Definition at line 290 of file vtkAxisActor.h.

void vtkAxisActor::SetAxisTypeToY ( void  ) [inline]

Set/Get the type of this axis.

Definition at line 291 of file vtkAxisActor.h.

void vtkAxisActor::SetAxisTypeToZ ( void  ) [inline]

Set/Get the type of this axis.

Definition at line 292 of file vtkAxisActor.h.

virtual void vtkAxisActor::SetAxisPosition ( int  ) [virtual]

Set/Get the position of this axis (in relation to an an assumed bounding box). For an x-type axis, MINMIN corresponds to the x-edge in the bounding box where Y values are minimum and Z values are minimum. For a y-type axis, MAXMIN corresponds to the y-edge where X values are maximum and Z values are minimum.

virtual int vtkAxisActor::GetAxisPosition ( ) [virtual]

Set/Get the position of this axis (in relation to an an assumed bounding box). For an x-type axis, MINMIN corresponds to the x-edge in the bounding box where Y values are minimum and Z values are minimum. For a y-type axis, MAXMIN corresponds to the y-edge where X values are maximum and Z values are minimum.

void vtkAxisActor::SetAxisPositionToMinMin ( void  ) [inline]

Definition at line 305 of file vtkAxisActor.h.

void vtkAxisActor::SetAxisPositionToMinMax ( void  ) [inline]

Definition at line 307 of file vtkAxisActor.h.

void vtkAxisActor::SetAxisPositionToMaxMax ( void  ) [inline]

Definition at line 309 of file vtkAxisActor.h.

void vtkAxisActor::SetAxisPositionToMaxMin ( void  ) [inline]

Definition at line 311 of file vtkAxisActor.h.

virtual void vtkAxisActor::SetCamera ( vtkCamera ) [virtual]

Set/Get the camera for this axis. The camera is used by the labels to 'follow' the camera and be legible from any viewpoint.

virtual vtkCamera* vtkAxisActor::GetCamera ( ) [virtual]

Set/Get the camera for this axis. The camera is used by the labels to 'follow' the camera and be legible from any viewpoint.

virtual int vtkAxisActor::RenderOpaqueGeometry ( vtkViewport viewport) [virtual]

Draw the axis.

Reimplemented from vtkActor.

virtual int vtkAxisActor::RenderTranslucentGeometry ( vtkViewport viewport) [virtual]

Draw the axis.

Draw the axis.

Reimplemented from vtkActor.

virtual int vtkAxisActor::RenderOverlay ( vtkViewport viewport) [virtual]

Draw the axis.

Reimplemented from vtkProp.

Draw the axis.

Reimplemented from vtkActor.

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 vtkActor.

virtual void vtkAxisActor::SetMinorStart ( double  ) [virtual]

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

virtual double vtkAxisActor::GetMinorStart ( ) [virtual]

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

void vtkAxisActor::SetMajorStart ( int  axis,
double  value 
)

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

virtual void vtkAxisActor::SetDeltaMinor ( double  ) [virtual]

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

virtual double vtkAxisActor::GetDeltaMinor ( ) [virtual]

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

void vtkAxisActor::SetDeltaMajor ( int  axis,
double  value 
)

Set/Get the starting position for minor and major tick points, and the delta values that determine their spacing.

virtual void vtkAxisActor::SetMinorRangeStart ( double  ) [virtual]

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing. The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing. The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

virtual void vtkAxisActor::SetMajorRangeStart ( double  ) [virtual]

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing. The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing. The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

virtual void vtkAxisActor::SetDeltaRangeMinor ( double  ) [virtual]

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing. The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing. The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

virtual void vtkAxisActor::SetDeltaRangeMajor ( double  ) [virtual]

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing. The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

Set/Get the starting position for minor and major tick points on the range and the delta values that determine their spacing. The range and the position need not be identical. ie the displayed values need not match the actual positions in 3D space.

void vtkAxisActor::BuildAxis ( vtkViewport viewport,
bool   
)

Get title actor and it is responsible for drawing title text.

Get label actors responsigle for drawing label text.

Definition at line 388 of file vtkAxisActor.h.

Get total number of labels built. Once built this count does not change.

virtual void vtkAxisActor::SetCalculateTitleOffset ( int  ) [virtual]

Set/Get flag whether to calculate title offset. Default is true.

Set/Get flag whether to calculate title offset. Default is true.

virtual void vtkAxisActor::CalculateTitleOffsetOn ( ) [virtual]

Set/Get flag whether to calculate title offset. Default is true.

virtual void vtkAxisActor::CalculateTitleOffsetOff ( ) [virtual]

Set/Get flag whether to calculate title offset. Default is true.

virtual void vtkAxisActor::SetCalculateLabelOffset ( int  ) [virtual]

Set/Get flag whether to calculate label offset. Default is true.

Set/Get flag whether to calculate label offset. Default is true.

virtual void vtkAxisActor::CalculateLabelOffsetOn ( ) [virtual]

Set/Get flag whether to calculate label offset. Default is true.

virtual void vtkAxisActor::CalculateLabelOffsetOff ( ) [virtual]

Set/Get flag whether to calculate label offset. Default is true.

virtual void vtkAxisActor::SetUse2DMode ( int  ) [virtual]

Set/Get the 2D mode

virtual int vtkAxisActor::GetUse2DMode ( ) [virtual]

Set/Get the 2D mode

virtual void vtkAxisActor::SetVerticalOffsetXTitle2D ( double  ) [virtual]

Set/Get the 2D mode the vertical offset for X title in 2D mode

Set/Get the 2D mode the vertical offset for X title in 2D mode

virtual void vtkAxisActor::SetHorizontalOffsetYTitle2D ( double  ) [virtual]

Set/Get the 2D mode the horizontal offset for Y title in 2D mode

Set/Get the 2D mode the horizontal offset for Y title in 2D mode

virtual void vtkAxisActor::SetSaveTitlePosition ( int  ) [virtual]

Set/Get whether title position must be saved in 2D mode

virtual int vtkAxisActor::GetSaveTitlePosition ( ) [virtual]

Set/Get whether title position must be saved in 2D mode

virtual void vtkAxisActor::SetAxisBaseForX ( double  ,
double  ,
double   
) [virtual]

Provide real vector for non aligned axis

virtual void vtkAxisActor::SetAxisBaseForX ( double  [3]) [virtual]

Provide real vector for non aligned axis

virtual double* vtkAxisActor::GetAxisBaseForX ( ) [virtual]

Provide real vector for non aligned axis

virtual void vtkAxisActor::GetAxisBaseForX ( double ,
double ,
double  
) [virtual]

Provide real vector for non aligned axis

virtual void vtkAxisActor::GetAxisBaseForX ( double  [3]) [virtual]

Provide real vector for non aligned axis

virtual void vtkAxisActor::SetAxisBaseForY ( double  ,
double  ,
double   
) [virtual]

Provide real vector for non aligned axis

virtual void vtkAxisActor::SetAxisBaseForY ( double  [3]) [virtual]

Provide real vector for non aligned axis

virtual double* vtkAxisActor::GetAxisBaseForY ( ) [virtual]

Provide real vector for non aligned axis

virtual void vtkAxisActor::GetAxisBaseForY ( double ,
double ,
double  
) [virtual]

Provide real vector for non aligned axis

virtual void vtkAxisActor::GetAxisBaseForY ( double  [3]) [virtual]

Provide real vector for non aligned axis

virtual void vtkAxisActor::SetAxisBaseForZ ( double  ,
double  ,
double   
) [virtual]

Provide real vector for non aligned axis

virtual void vtkAxisActor::SetAxisBaseForZ ( double  [3]) [virtual]

Provide real vector for non aligned axis

virtual double* vtkAxisActor::GetAxisBaseForZ ( ) [virtual]

Provide real vector for non aligned axis

virtual void vtkAxisActor::GetAxisBaseForZ ( double ,
double ,
double  
) [virtual]

Provide real vector for non aligned axis

virtual void vtkAxisActor::GetAxisBaseForZ ( double  [3]) [virtual]

Provide real vector for non aligned axis

virtual void vtkAxisActor::SetAxisOnOrigin ( int  ) [virtual]

Notify the axes that is not part of a cube anymore

virtual int vtkAxisActor::GetAxisOnOrigin ( ) [virtual]

Notify the axes that is not part of a cube anymore

virtual void vtkAxisActor::SetLabelOffset ( double  ) [virtual]

Set/Get the offsets used to position texts.

virtual double vtkAxisActor::GetLabelOffset ( ) [virtual]

Set/Get the offsets used to position texts.

virtual void vtkAxisActor::SetTitleOffset ( double  ) [virtual]

Set/Get the offsets used to position texts.

virtual double vtkAxisActor::GetTitleOffset ( ) [virtual]

Set/Get the offsets used to position texts.

virtual void vtkAxisActor::SetScreenSize ( double  ) [virtual]

Set/Get the offsets used to position texts.

virtual double vtkAxisActor::GetScreenSize ( ) [virtual]

Set/Get the offsets used to position texts.


Member Data Documentation

char* vtkAxisActor::Title [protected]

Definition at line 477 of file vtkAxisActor.h.

double vtkAxisActor::Range[2] [protected]

Definition at line 478 of file vtkAxisActor.h.

Definition at line 479 of file vtkAxisActor.h.

char* vtkAxisActor::LabelFormat [protected]

Definition at line 480 of file vtkAxisActor.h.

Definition at line 481 of file vtkAxisActor.h.

Definition at line 482 of file vtkAxisActor.h.

Definition at line 483 of file vtkAxisActor.h.

Definition at line 484 of file vtkAxisActor.h.

Definition at line 486 of file vtkAxisActor.h.

Definition at line 487 of file vtkAxisActor.h.

Definition at line 488 of file vtkAxisActor.h.

Definition at line 489 of file vtkAxisActor.h.

Definition at line 490 of file vtkAxisActor.h.

Definition at line 491 of file vtkAxisActor.h.

Definition at line 492 of file vtkAxisActor.h.

Definition at line 493 of file vtkAxisActor.h.

Definition at line 495 of file vtkAxisActor.h.

Definition at line 496 of file vtkAxisActor.h.

Definition at line 498 of file vtkAxisActor.h.

Definition at line 499 of file vtkAxisActor.h.

Definition at line 501 of file vtkAxisActor.h.

Definition at line 502 of file vtkAxisActor.h.

Definition at line 503 of file vtkAxisActor.h.

Definition at line 504 of file vtkAxisActor.h.

Definition at line 505 of file vtkAxisActor.h.

Definition at line 507 of file vtkAxisActor.h.

Definition at line 508 of file vtkAxisActor.h.

double vtkAxisActor::Bounds[6] [protected]

Reimplemented from vtkProp3D.

Definition at line 509 of file vtkAxisActor.h.

Definition at line 511 of file vtkAxisActor.h.

Definition at line 512 of file vtkAxisActor.h.

Definition at line 513 of file vtkAxisActor.h.


The documentation for this class was generated from the following file: