VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkAxisActor Class Reference

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

#include <vtkAxisActor.h>

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

Public Types

typedef vtkActor Superclass
 
- Public Types inherited from vtkActor
typedef vtkProp3D Superclass
 
- Public Types inherited from vtkProp3D
typedef vtkProp Superclass
 
- Public Types inherited from vtkProp
typedef vtkObject Superclass
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetTickLocationToInside (void)
 
void SetTickLocationToOutside (void)
 
void SetTickLocationToBoth (void)
 
void SetAxisPositionToMinMin (void)
 
void SetAxisPositionToMinMax (void)
 
void SetAxisPositionToMaxMax (void)
 
void SetAxisPositionToMaxMin (void)
 
void ReleaseGraphicsResources (vtkWindow *)
 
void ShallowCopy (vtkProp *prop)
 
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 double * GetPoint1 ()
 
virtual vtkCoordinateGetPoint2Coordinate ()
 
virtual void SetPoint2 (double x[3])
 
virtual void SetPoint2 (double x, double y, double z)
 
virtual double * GetPoint2 ()
 
virtual void SetRange (double, double)
 
void SetRange (double[2])
 
virtual double * GetRange ()
 
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)
 
double * GetBounds (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 SetDrawGridlines (int)
 
virtual int GetDrawGridlines ()
 
virtual void DrawGridlinesOn ()
 
virtual void DrawGridlinesOff ()
 
virtual void SetGridlineXLength (double)
 
virtual double GetGridlineXLength ()
 
virtual void SetGridlineYLength (double)
 
virtual double GetGridlineYLength ()
 
virtual void SetGridlineZLength (double)
 
virtual double GetGridlineZLength ()
 
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 *)
 
virtual void SetMinorStart (double)
 
virtual double GetMinorStart ()
 
virtual void SetMajorStart (double)
 
virtual double GetMajorStart ()
 
virtual void SetDeltaMinor (double)
 
virtual double GetDeltaMinor ()
 
virtual void SetDeltaMajor (double)
 
virtual double GetDeltaMajor ()
 
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 ()
 
- Public Member Functions inherited from vtkActor
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void GetActors (vtkPropCollection *)
 
virtual int HasTranslucentPolygonalGeometry ()
 
virtual void Render (vtkRenderer *, vtkMapper *)
 
void ShallowCopy (vtkProp *prop)
 
void ReleaseGraphicsResources (vtkWindow *)
 
virtual vtkPropertyMakeProperty ()
 
virtual void SetMapper (vtkMapper *)
 
virtual void ApplyProperties ()
 
unsigned long int GetMTime ()
 
virtual unsigned long GetRedrawMTime ()
 
virtual bool GetSupportsSelection ()
 
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)
 
void SetProperty (vtkProperty *lut)
 
vtkPropertyGetProperty ()
 
void SetBackfaceProperty (vtkProperty *lut)
 
virtual vtkPropertyGetBackfaceProperty ()
 
virtual void SetTexture (vtkTexture *)
 
virtual vtkTextureGetTexture ()
 
virtual vtkMapperGetMapper ()
 
void GetBounds (double bounds[6])
 
double * GetBounds ()
 
virtual void InitPartTraversal ()
 
virtual vtkActorGetNextPart ()
 
virtual int GetNumberOfParts ()
 
- Public Member Functions inherited from vtkProp3D
void PrintSelf (ostream &os, vtkIndent indent)
 
void ShallowCopy (vtkProp *prop)
 
void SetScale (double s)
 
double * GetCenter ()
 
double * GetXRange ()
 
double * GetYRange ()
 
double * GetZRange ()
 
double GetLength ()
 
void RotateX (double)
 
void RotateY (double)
 
void RotateZ (double)
 
void RotateWXYZ (double, double, double, double)
 
void SetOrientation (double, double, double)
 
void SetOrientation (double a[3])
 
double * GetOrientationWXYZ ()
 
void AddOrientation (double, double, double)
 
void AddOrientation (double a[3])
 
void PokeMatrix (vtkMatrix4x4 *matrix)
 
void InitPathTraversal ()
 
unsigned long int GetMTime ()
 
unsigned long int GetUserTransformMatrixMTime ()
 
virtual void ComputeMatrix ()
 
virtual void SetPosition (double _arg1, double _arg2, double _arg3)
 
virtual void SetPosition (double _arg[3])
 
virtual double * GetPosition ()
 
virtual void GetPosition (double data[3])
 
void AddPosition (double deltaPosition[3])
 
void AddPosition (double deltaX, double deltaY, double deltaZ)
 
virtual void SetOrigin (double _arg1, double _arg2, double _arg3)
 
virtual void SetOrigin (double _arg[3])
 
virtual double * GetOrigin ()
 
virtual void GetOrigin (double data[3])
 
virtual void SetScale (double _arg1, double _arg2, double _arg3)
 
virtual void SetScale (double _arg[3])
 
virtual double * GetScale ()
 
virtual void GetScale (double data[3])
 
void SetUserTransform (vtkLinearTransform *transform)
 
virtual vtkLinearTransformGetUserTransform ()
 
void SetUserMatrix (vtkMatrix4x4 *matrix)
 
vtkMatrix4x4GetUserMatrix ()
 
virtual void GetMatrix (vtkMatrix4x4 *m)
 
virtual void GetMatrix (double m[16])
 
void GetBounds (double bounds[6])
 
double * GetOrientation ()
 
void GetOrientation (double o[3])
 
vtkMatrix4x4GetMatrix ()
 
virtual int GetIsIdentity ()
 
- Public Member Functions inherited from vtkProp
virtual void Pick ()
 
virtual bool HasKeys (vtkInformation *requiredKeys)
 
virtual void BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path)
 
virtual void GetActors2D (vtkPropCollection *)
 
virtual void GetVolumes (vtkPropCollection *)
 
virtual void SetVisibility (int)
 
virtual int GetVisibility ()
 
virtual void VisibilityOn ()
 
virtual void VisibilityOff ()
 
virtual void SetPickable (int)
 
virtual int GetPickable ()
 
virtual void PickableOn ()
 
virtual void PickableOff ()
 
virtual void SetDragable (int)
 
virtual int GetDragable ()
 
virtual void DragableOn ()
 
virtual void DragableOff ()
 
virtual void SetUseBounds (bool)
 
virtual bool GetUseBounds ()
 
virtual void UseBoundsOn ()
 
virtual void UseBoundsOff ()
 
virtual vtkAssemblyPathGetNextPath ()
 
virtual int GetNumberOfPaths ()
 
virtual void PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix))
 
virtual vtkInformationGetPropertyKeys ()
 
virtual void SetPropertyKeys (vtkInformation *keys)
 
virtual int RenderVolumetricGeometry (vtkViewport *)
 
virtual int RenderOverlay (vtkViewport *)
 
virtual bool RenderFilteredOpaqueGeometry (vtkViewport *v, vtkInformation *requiredKeys)
 
virtual bool RenderFilteredTranslucentPolygonalGeometry (vtkViewport *v, vtkInformation *requiredKeys)
 
virtual bool RenderFilteredVolumetricGeometry (vtkViewport *v, vtkInformation *requiredKeys)
 
virtual bool RenderFilteredOverlay (vtkViewport *v, vtkInformation *requiredKeys)
 
virtual double GetEstimatedRenderTime (vtkViewport *)
 
virtual double GetEstimatedRenderTime ()
 
virtual void SetEstimatedRenderTime (double t)
 
virtual void RestoreEstimatedRenderTime ()
 
virtual void AddEstimatedRenderTime (double t, vtkViewport *vtkNotUsed(vp))
 
virtual void SetAllocatedRenderTime (double t, vtkViewport *vtkNotUsed(v))
 
virtual double GetAllocatedRenderTime ()
 
void SetRenderTimeMultiplier (double t)
 
virtual double GetRenderTimeMultiplier ()
 
virtual int GetNumberOfConsumers ()
 
void AddConsumer (vtkObject *c)
 
void RemoveConsumer (vtkObject *c)
 
vtkObjectGetConsumer (int i)
 
int IsConsumer (vtkObject *c)
 
- Public Member Functions inherited from vtkObject
virtual void DebugOn ()
 
virtual void DebugOff ()
 
unsigned char GetDebug ()
 
void SetDebug (unsigned char debugFlag)
 
virtual void Modified ()
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
void PrintRevisions (ostream &os)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkAxisActorSafeDownCast (vtkObject *o)
 
static vtkAxisActorNew ()
 
- Static Public Member Functions inherited from vtkActor
static int IsTypeOf (const char *type)
 
static vtkActorSafeDownCast (vtkObject *o)
 
static vtkActorNew ()
 
- Static Public Member Functions inherited from vtkProp3D
static int IsTypeOf (const char *type)
 
static vtkProp3DSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkProp
static int IsTypeOf (const char *type)
 
static vtkPropSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObject *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkAxisActor ()
 
 ~vtkAxisActor ()
 
- Protected Member Functions inherited from vtkActor
 vtkActor ()
 
 ~vtkActor ()
 
int GetIsOpaque ()
 
- Protected Member Functions inherited from vtkProp3D
 vtkProp3D ()
 
 ~vtkProp3D ()
 
- Protected Member Functions inherited from vtkProp
 vtkProp ()
 
 ~vtkProp ()
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &os)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

char * Title
 
double Range [2]
 
double LastRange [2]
 
char * LabelFormat
 
int NumberOfLabelsBuilt
 
int MinorTicksVisible
 
int LastMinorTicksVisible
 
int TickLocation
 
int DrawGridlines
 
int LastDrawGridlines
 
double GridlineXLength
 
double GridlineYLength
 
double GridlineZLength
 
int AxisVisibility
 
int TickVisibility
 
int LastTickVisibility
 
int LabelVisibility
 
int TitleVisibility
 
int AxisType
 
int AxisPosition
 
double Bounds [6]
 
- Protected Attributes inherited from vtkActor
vtkPropertyProperty
 
vtkPropertyBackfaceProperty
 
vtkTextureTexture
 
vtkMapperMapper
 
double MapperBounds [6]
 
vtkTimeStamp BoundsMTime
 
- Protected Attributes inherited from vtkProp3D
vtkLinearTransformUserTransform
 
vtkMatrix4x4UserMatrix
 
vtkMatrix4x4Matrix
 
vtkTimeStamp MatrixMTime
 
double Origin [3]
 
double Position [3]
 
double Orientation [3]
 
double Scale [3]
 
double Center [3]
 
vtkTransformTransform
 
double Bounds [6]
 
vtkProp3DCachedProp3D
 
int IsIdentity
 
- Protected Attributes inherited from vtkProp
int Visibility
 
int Pickable
 
int Dragable
 
bool UseBounds
 
double AllocatedRenderTime
 
double EstimatedRenderTime
 
double SavedEstimatedRenderTime
 
double RenderTimeMultiplier
 
int NumberOfConsumers
 
vtkObject ** Consumers
 
vtkAssemblyPathsPaths
 
vtkInformationPropertyKeys
 
- Protected Attributes inherited from vtkObject
unsigned char Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
int ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

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.

Attention
This class was adapted from a 2D version created by Hank Childs called vtkHankAxisActor2D.
See also
vtkActor vtkVectorText vtkPolyDataMapper vtkAxisActor2D vtkCoordinate
Tests:
vtkAxisActor (Tests)

Definition at line 90 of file vtkAxisActor.h.

Member Typedef Documentation

Definition at line 93 of file vtkAxisActor.h.

Constructor & Destructor Documentation

vtkAxisActor::vtkAxisActor ( )
protected
vtkAxisActor::~vtkAxisActor ( )
protected

Member Function Documentation

virtual const char* vtkAxisActor::GetClassName ( )
virtual

Reimplemented from vtkActor.

static int vtkAxisActor::IsTypeOf ( const char *  type)
static
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.

static vtkAxisActor* vtkAxisActor::SafeDownCast ( vtkObject o)
static
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 vtkProp.

static vtkAxisActor* vtkAxisActor::New ( )
static

Instantiate object.

virtual vtkCoordinate* vtkAxisActor::GetPoint1Coordinate ( )
virtual

Specify the position of the first point defining the axis.

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

Specify the position of the first point defining the axis.

Definition at line 102 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.

virtual vtkCoordinate* vtkAxisActor::GetPoint2Coordinate ( )
virtual

Specify the position of the second point defining the axis.

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

Specify the position of the second point defining the axis.

Definition at line 111 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.

void vtkAxisActor::SetRange ( double  [2])

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

Implements vtkProp3D.

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

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

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 171 of file vtkAxisActor.h.

void vtkAxisActor::SetTickLocationToOutside ( void  )
inline

Definition at line 173 of file vtkAxisActor.h.

void vtkAxisActor::SetTickLocationToBoth ( void  )
inline

Definition at line 175 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::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::SetGridlineXLength ( double  )
virtual

Set/Get the length to use when drawing gridlines.

virtual double vtkAxisActor::GetGridlineXLength ( )
virtual

Set/Get the length to use when drawing gridlines.

virtual void vtkAxisActor::SetGridlineYLength ( double  )
virtual

Set/Get the length to use when drawing gridlines.

virtual double vtkAxisActor::GetGridlineYLength ( )
virtual

Set/Get the length to use when drawing gridlines.

virtual void vtkAxisActor::SetGridlineZLength ( double  )
virtual

Set/Get the length to use when drawing gridlines.

virtual double vtkAxisActor::GetGridlineZLength ( )
virtual

Set/Get the length to use when drawing gridlines.

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 227 of file vtkAxisActor.h.

void vtkAxisActor::SetAxisTypeToY ( void  )
inline

Set/Get the type of this axis.

Definition at line 228 of file vtkAxisActor.h.

void vtkAxisActor::SetAxisTypeToZ ( void  )
inline

Set/Get the type of this axis.

Definition at line 229 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 242 of file vtkAxisActor.h.

void vtkAxisActor::SetAxisPositionToMinMax ( void  )
inline

Definition at line 244 of file vtkAxisActor.h.

void vtkAxisActor::SetAxisPositionToMaxMax ( void  )
inline

Definition at line 246 of file vtkAxisActor.h.

void vtkAxisActor::SetAxisPositionToMaxMin ( void  )
inline

Definition at line 248 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 )
inlinevirtual

Draw the axis.

Definition at line 261 of file vtkAxisActor.h.

void vtkAxisActor::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 vtkAxisActor::ShallowCopy ( vtkProp prop)
virtual

Shallow copy of an axis actor. Overloads the virtual vtkProp method.

Reimplemented from vtkProp.

double vtkAxisActor::ComputeMaxLabelLength ( const double  [3])
double vtkAxisActor::ComputeTitleLength ( const double  [3])
void vtkAxisActor::SetLabelScale ( const double  )
void vtkAxisActor::SetTitleScale ( const double  )
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.

virtual void vtkAxisActor::SetMajorStart ( double  )
virtual

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

virtual double vtkAxisActor::GetMajorStart ( )
virtual

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.

virtual void vtkAxisActor::SetDeltaMajor ( double  )
virtual

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

virtual double vtkAxisActor::GetDeltaMajor ( )
virtual

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.

virtual double vtkAxisActor::GetMinorRangeStart ( )
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.

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.

virtual double vtkAxisActor::GetMajorRangeStart ( )
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.

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.

virtual double vtkAxisActor::GetDeltaRangeMinor ( )
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.

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.

virtual double vtkAxisActor::GetDeltaRangeMajor ( )
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.

void vtkAxisActor::SetLabels ( vtkStringArray labels)
void vtkAxisActor::BuildAxis ( vtkViewport viewport,
bool   
)

Member Data Documentation

char* vtkAxisActor::Title
protected

Definition at line 318 of file vtkAxisActor.h.

double vtkAxisActor::Range[2]
protected

Definition at line 319 of file vtkAxisActor.h.

double vtkAxisActor::LastRange[2]
protected

Definition at line 320 of file vtkAxisActor.h.

char* vtkAxisActor::LabelFormat
protected

Definition at line 321 of file vtkAxisActor.h.

int vtkAxisActor::NumberOfLabelsBuilt
protected

Definition at line 322 of file vtkAxisActor.h.

int vtkAxisActor::MinorTicksVisible
protected

Definition at line 323 of file vtkAxisActor.h.

int vtkAxisActor::LastMinorTicksVisible
protected

Definition at line 324 of file vtkAxisActor.h.

int vtkAxisActor::TickLocation
protected

Definition at line 325 of file vtkAxisActor.h.

int vtkAxisActor::DrawGridlines
protected

Definition at line 327 of file vtkAxisActor.h.

int vtkAxisActor::LastDrawGridlines
protected

Definition at line 328 of file vtkAxisActor.h.

double vtkAxisActor::GridlineXLength
protected

Definition at line 329 of file vtkAxisActor.h.

double vtkAxisActor::GridlineYLength
protected

Definition at line 330 of file vtkAxisActor.h.

double vtkAxisActor::GridlineZLength
protected

Definition at line 331 of file vtkAxisActor.h.

int vtkAxisActor::AxisVisibility
protected

Definition at line 333 of file vtkAxisActor.h.

int vtkAxisActor::TickVisibility
protected

Definition at line 334 of file vtkAxisActor.h.

int vtkAxisActor::LastTickVisibility
protected

Definition at line 335 of file vtkAxisActor.h.

int vtkAxisActor::LabelVisibility
protected

Definition at line 336 of file vtkAxisActor.h.

int vtkAxisActor::TitleVisibility
protected

Definition at line 337 of file vtkAxisActor.h.

int vtkAxisActor::AxisType
protected

Definition at line 339 of file vtkAxisActor.h.

int vtkAxisActor::AxisPosition
protected

Definition at line 340 of file vtkAxisActor.h.

double vtkAxisActor::Bounds[6]
protected

Definition at line 341 of file vtkAxisActor.h.


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