|
virtual int | IsA (const char *type) |
|
vtkAxisActor * | NewInstance () 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 scale) |
|
void | SetLabelScale (int labelIndex, const double scale) |
|
void | SetTitleScale (const double scale) |
|
void | SetLabels (vtkStringArray *labels) |
|
void | BuildAxis (vtkViewport *viewport, bool) |
|
|
virtual vtkCoordinate * | GetPoint1Coordinate () |
|
virtual void | SetPoint1 (double x[3]) |
|
virtual void | SetPoint1 (double x, double y, double z) |
|
virtual double * | GetPoint1 () |
|
|
virtual vtkCoordinate * | GetPoint2Coordinate () |
|
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 (const 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 | SetUseTextActor3D (int) |
|
virtual int | GetUseTextActor3D () |
|
|
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 vtkTextProperty * | GetTitleTextProperty () |
|
|
virtual void | SetLabelTextProperty (vtkTextProperty *p) |
|
virtual vtkTextProperty * | GetLabelTextProperty () |
|
|
void | SetAxisLinesProperty (vtkProperty *) |
|
vtkProperty * | GetAxisLinesProperty () |
|
|
void | SetGridlinesProperty (vtkProperty *) |
|
vtkProperty * | GetGridlinesProperty () |
|
|
void | SetInnerGridlinesProperty (vtkProperty *) |
|
vtkProperty * | GetInnerGridlinesProperty () |
|
|
void | SetGridpolysProperty (vtkProperty *) |
|
vtkProperty * | GetGridpolysProperty () |
|
|
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 vtkCamera * | GetCamera () |
|
|
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 vtkAxisFollower * | GetTitleActor () |
|
|
vtkAxisFollower ** | GetLabelActors () |
|
|
virtual vtkProp3DAxisFollower * | GetTitleProp3D () |
|
|
vtkProp3DAxisFollower ** | GetLabelProps3D () |
|
|
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 double * | GetAxisBaseForX () |
|
virtual void | GetAxisBaseForX (double &, double &, double &) |
|
virtual void | GetAxisBaseForX (double[3]) |
|
|
virtual void | SetAxisBaseForY (double, double, double) |
|
virtual void | SetAxisBaseForY (double[3]) |
|
virtual double * | GetAxisBaseForY () |
|
virtual void | GetAxisBaseForY (double &, double &, double &) |
|
virtual void | GetAxisBaseForY (double[3]) |
|
|
virtual void | SetAxisBaseForZ (double, double, double) |
|
virtual void | SetAxisBaseForZ (double[3]) |
|
virtual double * | GetAxisBaseForZ () |
|
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 () |
|
vtkActor * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | GetActors (vtkPropCollection *) |
|
virtual void | Render (vtkRenderer *, vtkMapper *) |
|
void | ShallowCopy (vtkProp *prop) |
|
void | ReleaseGraphicsResources (vtkWindow *) |
|
virtual vtkProperty * | MakeProperty () |
|
virtual void | SetMapper (vtkMapper *) |
|
virtual void | ApplyProperties () |
|
unsigned long int | GetMTime () |
|
virtual unsigned long | GetRedrawMTime () |
|
virtual bool | GetSupportsSelection () |
|
void | SetProperty (vtkProperty *lut) |
|
vtkProperty * | GetProperty () |
|
void | SetBackfaceProperty (vtkProperty *lut) |
|
virtual vtkProperty * | GetBackfaceProperty () |
|
virtual void | SetTexture (vtkTexture *) |
|
virtual vtkTexture * | GetTexture () |
|
virtual vtkMapper * | GetMapper () |
|
void | GetBounds (double bounds[6]) |
|
double * | GetBounds () |
|
vtkProp3D * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
void | ShallowCopy (vtkProp *prop) |
|
virtual void | SetPosition (double pos[3]) |
|
virtual double * | GetPosition () |
|
virtual void | GetPosition (double data[3]) |
|
void | AddPosition (double deltaPosition[3]) |
|
void | AddPosition (double deltaX, double deltaY, double deltaZ) |
|
double * | GetCenter () |
|
double * | GetXRange () |
|
double * | GetYRange () |
|
double * | GetZRange () |
|
double | GetLength () |
|
void | RotateX (double) |
|
void | RotateY (double) |
|
void | RotateZ (double) |
|
void | RotateWXYZ (double w, double x, double y, double z) |
|
void | SetOrientation (double x, double y, double z) |
|
void | SetOrientation (double orientation[3]) |
|
double * | GetOrientationWXYZ () |
|
void | AddOrientation (double x, double y, double z) |
|
void | AddOrientation (double orentation[3]) |
|
void | PokeMatrix (vtkMatrix4x4 *matrix) |
|
void | InitPathTraversal () |
|
unsigned long int | GetMTime () |
|
unsigned long int | GetUserTransformMatrixMTime () |
|
virtual void | ComputeMatrix () |
|
virtual void | SetPosition (double x, double y, double z) |
|
virtual void | SetOrigin (double x, double y, double z) |
|
virtual void | SetOrigin (const double pos[3]) |
|
virtual double * | GetOrigin () |
|
virtual void | GetOrigin (double data[3]) |
|
virtual void | SetScale (double x, double y, double z) |
|
virtual void | SetScale (double scale[3]) |
|
virtual double * | GetScale () |
|
virtual void | GetScale (double data[3]) |
|
void | SetScale (double s) |
|
void | SetUserTransform (vtkLinearTransform *transform) |
|
virtual vtkLinearTransform * | GetUserTransform () |
|
void | SetUserMatrix (vtkMatrix4x4 *matrix) |
|
vtkMatrix4x4 * | GetUserMatrix () |
|
virtual void | GetMatrix (vtkMatrix4x4 *m) |
|
virtual void | GetMatrix (double m[16]) |
|
void | GetBounds (double bounds[6]) |
|
double * | GetOrientation () |
|
void | GetOrientation (double orentation[3]) |
|
vtkMatrix4x4 * | GetMatrix () |
|
virtual int | GetIsIdentity () |
|
vtkProp * | NewInstance () const |
|
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 vtkAssemblyPath * | GetNextPath () |
|
virtual int | GetNumberOfPaths () |
|
virtual void | PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix)) |
|
virtual vtkInformation * | GetPropertyKeys () |
|
virtual void | SetPropertyKeys (vtkInformation *keys) |
|
virtual int | RenderVolumetricGeometry (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) |
|
vtkObject * | GetConsumer (int i) |
|
int | IsConsumer (vtkObject *c) |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool 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) |
|
vtkCommand * | GetCommand (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) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(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) |
|
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 &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
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 93 of file vtkAxisActor.h.