VTK
|
Create an axis with tick marks and labels. More...
#include <vtkAxisActor2D.h>
Public Types | |
typedef vtkActor2D | Superclass |
Public Types inherited from vtkActor2D | |
typedef vtkProp | Superclass |
Public Types inherited from vtkProp | |
typedef vtkObject | Superclass |
Public Types inherited from vtkObject | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkAxisActor2D * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | HasTranslucentPolygonalGeometry () |
void | ReleaseGraphicsResources (vtkWindow *) |
void | ShallowCopy (vtkProp *prop) |
virtual vtkCoordinate * | GetPoint1Coordinate () |
virtual void | SetPoint1 (double x[2]) |
virtual void | SetPoint1 (double x, double y) |
virtual double * | GetPoint1 () |
virtual vtkCoordinate * | GetPoint2Coordinate () |
virtual void | SetPoint2 (double x[2]) |
virtual void | SetPoint2 (double x, double y) |
virtual double * | GetPoint2 () |
virtual void | SetRange (double, double) |
void | SetRange (double[2]) |
virtual double * | GetRange () |
virtual void | GetRange (double data[2]) |
virtual void | SetRulerMode (int) |
virtual int | GetRulerMode () |
virtual void | RulerModeOn () |
virtual void | RulerModeOff () |
virtual void | SetRulerDistance (double) |
virtual double | GetRulerDistance () |
virtual void | SetNumberOfLabels (int) |
virtual int | GetNumberOfLabels () |
virtual void | SetLabelFormat (const char *) |
virtual char * | GetLabelFormat () |
virtual void | SetAdjustLabels (int) |
virtual int | GetAdjustLabels () |
virtual void | AdjustLabelsOn () |
virtual void | AdjustLabelsOff () |
virtual double * | GetAdjustedRange () |
virtual void | GetAdjustedRange (double &_arg1, double &_arg2) |
virtual void | GetAdjustedRange (double _arg[2]) |
virtual int | GetAdjustedNumberOfLabels () |
virtual void | SetTitle (const char *) |
virtual char * | GetTitle () |
virtual void | SetTitleTextProperty (vtkTextProperty *p) |
virtual vtkTextProperty * | GetTitleTextProperty () |
virtual void | SetLabelTextProperty (vtkTextProperty *p) |
virtual vtkTextProperty * | GetLabelTextProperty () |
virtual void | SetTickLength (int) |
virtual int | GetTickLength () |
virtual void | SetNumberOfMinorTicks (int) |
virtual int | GetNumberOfMinorTicks () |
virtual void | SetMinorTickLength (int) |
virtual int | GetMinorTickLength () |
virtual void | SetTickOffset (int) |
virtual int | GetTickOffset () |
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 | SetTitlePosition (double) |
virtual double | GetTitlePosition () |
virtual void | SetFontFactor (double) |
virtual double | GetFontFactor () |
virtual void | SetLabelFactor (double) |
virtual double | GetLabelFactor () |
int | RenderOverlay (vtkViewport *viewport) |
int | RenderOpaqueGeometry (vtkViewport *viewport) |
virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *) |
virtual void | SetSizeFontRelativeToAxis (int) |
virtual int | GetSizeFontRelativeToAxis () |
virtual void | SizeFontRelativeToAxisOn () |
virtual void | SizeFontRelativeToAxisOff () |
Public Member Functions inherited from vtkActor2D | |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkActor2D * | NewInstance () const |
vtkProperty2D * | GetProperty () |
virtual void | SetProperty (vtkProperty2D *) |
void | SetDisplayPosition (int, int) |
virtual unsigned long | GetMTime () |
virtual void | GetActors2D (vtkPropCollection *pc) |
virtual void | SetMapper (vtkMapper2D *mapper) |
virtual vtkMapper2D * | GetMapper () |
virtual void | SetLayerNumber (int) |
virtual int | GetLayerNumber () |
virtual vtkCoordinate * | GetPositionCoordinate () |
virtual void | SetPosition (float x[2]) |
virtual void | SetPosition (float x, float y) |
virtual float * | GetPosition () |
virtual vtkCoordinate * | GetPosition2Coordinate () |
virtual void | SetPosition2 (float x[2]) |
virtual void | SetPosition2 (float x, float y) |
virtual float * | GetPosition2 () |
void | SetWidth (double w) |
double | GetWidth () |
void | SetHeight (double h) |
double | GetHeight () |
virtual vtkCoordinate * | GetActualPositionCoordinate (void) |
virtual vtkCoordinate * | GetActualPosition2Coordinate (void) |
Public Member Functions inherited from vtkProp | |
vtkProp * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Pick () |
virtual bool | HasKeys (vtkInformation *requiredKeys) |
virtual void | BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path) |
virtual void | GetActors (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 unsigned long | GetRedrawMTime () |
virtual void | SetUseBounds (bool) |
virtual bool | GetUseBounds () |
virtual void | UseBoundsOn () |
virtual void | UseBoundsOff () |
virtual double * | GetBounds () |
virtual void | InitPathTraversal () |
virtual vtkAssemblyPath * | GetNextPath () |
virtual int | GetNumberOfPaths () |
virtual void | PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix)) |
virtual vtkMatrix4x4 * | GetMatrix () |
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 bool | GetSupportsSelection () |
virtual int | GetNumberOfConsumers () |
void | AddConsumer (vtkObject *c) |
void | RemoveConsumer (vtkObject *c) |
vtkObject * | GetConsumer (int i) |
int | IsConsumer (vtkObject *c) |
Public Member Functions inherited from vtkObject | |
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) |
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 &) |
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 vtkAxisActor2D * | SafeDownCast (vtkObjectBase *o) |
static vtkAxisActor2D * | New () |
static void | ComputeRange (double inRange[2], double outRange[2], int inNumTicks, int &outNumTicks, double &interval) |
static int | SetMultipleFontSize (vtkViewport *viewport, vtkTextMapper **textMappers, int nbOfMappers, int *targetSize, double factor, int *stringSize) |
Static Public Member Functions inherited from vtkActor2D | |
static int | IsTypeOf (const char *type) |
static vtkActor2D * | SafeDownCast (vtkObjectBase *o) |
static vtkActor2D * | New () |
Static Public Member Functions inherited from vtkProp | |
static int | IsTypeOf (const char *type) |
static vtkProp * | SafeDownCast (vtkObjectBase *o) |
static vtkInformationIntegerKey * | GeneralTextureUnit () |
static vtkInformationDoubleVectorKey * | GeneralTextureTransform () |
Static Public Member Functions inherited from vtkObject | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObjectBase *o) |
static vtkObject * | New () |
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 vtkObjectBase * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkAxisActor2D () | |
~vtkAxisActor2D () | |
virtual void | BuildAxis (vtkViewport *viewport) |
virtual void | UpdateAdjustedRange () |
Protected Member Functions inherited from vtkActor2D | |
vtkActor2D () | |
~vtkActor2D () | |
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 &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Static Protected Member Functions | |
static double | ComputeStringOffset (double width, double height, double theta) |
static void | SetOffsetPosition (double xTick[3], double theta, int stringHeight, int stringWidth, int offset, vtkActor2D *actor) |
Create an axis with tick marks and labels.
vtkAxisActor2D creates an axis with tick marks, labels, and/or a title, depending on the particular instance variable settings. vtkAxisActor2D is a 2D actor; that is, it is drawn on the overlay plane and is not occluded by 3D geometry. To use this class, you typically specify two points defining the start and end points of the line (x-y definition using vtkCoordinate class), 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. You can also specify the label format (a printf style format).
This class decides what font size to use and how to locate the labels. It also decides how to create reasonable tick marks and labels. The number of labels and the range of values may not match the number specified, but should be close.
Labels are drawn on the "right" side of the axis. The "right" side is the side of the axis on the right as you move from Position to Position2. The way the labels and title line up with the axis and tick marks depends on whether the line is considered horizontal or vertical.
The vtkActor2D instance variables Position and Position2 are instances of vtkCoordinate. Note that the Position2 is an absolute position in that class (it was by default relative to Position in vtkActor2D).
What this means is that you can specify the axis in a variety of coordinate systems. Also, the axis does not have to be either horizontal or vertical. The tick marks are created so that they are perpendicular to the axis.
Set the text property/attributes of the title and the labels through the vtkTextProperty objects associated to this actor.
Definition at line 73 of file vtkAxisActor2D.h.
typedef vtkActor2D vtkAxisActor2D::Superclass |
Definition at line 76 of file vtkAxisActor2D.h.
|
protected |
|
protected |
|
static |
|
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 vtkActor2D.
|
static |
|
protectedvirtual |
Reimplemented from vtkActor2D.
vtkAxisActor2D* vtkAxisActor2D::NewInstance | ( | ) | const |
|
virtual |
|
static |
Instantiate object.
|
inlinevirtual |
Specify the position of the first point defining the axis. Note: backward compatibility only, use vtkActor2D's Position instead.
Definition at line 85 of file vtkAxisActor2D.h.
|
inlinevirtual |
Specify the position of the first point defining the axis. Note: backward compatibility only, use vtkActor2D's Position instead.
Definition at line 87 of file vtkAxisActor2D.h.
Specify the position of the first point defining the axis. Note: backward compatibility only, use vtkActor2D's Position instead.
Definition at line 88 of file vtkAxisActor2D.h.
|
inlinevirtual |
Specify the position of the first point defining the axis. Note: backward compatibility only, use vtkActor2D's Position instead.
Definition at line 89 of file vtkAxisActor2D.h.
|
inlinevirtual |
Specify the position of the second point defining the axis. Note that the order from Point1 to Point2 controls which side the tick marks are drawn on (ticks are drawn on the right, if visible). Note: backward compatibility only, use vtkActor2D's Position2 instead.
Definition at line 97 of file vtkAxisActor2D.h.
|
inlinevirtual |
Specify the position of the second point defining the axis. Note that the order from Point1 to Point2 controls which side the tick marks are drawn on (ticks are drawn on the right, if visible). Note: backward compatibility only, use vtkActor2D's Position2 instead.
Definition at line 99 of file vtkAxisActor2D.h.
Specify the position of the second point defining the axis. Note that the order from Point1 to Point2 controls which side the tick marks are drawn on (ticks are drawn on the right, if visible). Note: backward compatibility only, use vtkActor2D's Position2 instead.
Definition at line 100 of file vtkAxisActor2D.h.
|
inlinevirtual |
Specify the position of the second point defining the axis. Note that the order from Point1 to Point2 controls which side the tick marks are drawn on (ticks are drawn on the right, if visible). Note: backward compatibility only, use vtkActor2D's Position2 instead.
Definition at line 101 of file vtkAxisActor2D.h.
Specify the (min,max) axis range. This will be used in the generation of labels, if labels are visible.
void vtkAxisActor2D::SetRange | ( | double | [2] | ) |
Specify the (min,max) axis range. This will be used in the generation of labels, if labels are visible.
|
virtual |
Specify the (min,max) axis range. This will be used in the generation of labels, if labels are visible.
|
virtual |
Specify the (min,max) axis range. This will be used in the generation of labels, if labels are visible.
|
virtual |
Specify whether this axis should act like a measuring tape (or ruler) with specified major tick spacing. If enabled, the distance between major ticks is controlled by the RulerDistance ivar.
|
virtual |
Specify whether this axis should act like a measuring tape (or ruler) with specified major tick spacing. If enabled, the distance between major ticks is controlled by the RulerDistance ivar.
|
virtual |
Specify whether this axis should act like a measuring tape (or ruler) with specified major tick spacing. If enabled, the distance between major ticks is controlled by the RulerDistance ivar.
|
virtual |
Specify whether this axis should act like a measuring tape (or ruler) with specified major tick spacing. If enabled, the distance between major ticks is controlled by the RulerDistance ivar.
|
virtual |
Specify the RulerDistance which indicates the spacing of the major ticks. This ivar only has effect when the RulerMode is on.
|
virtual |
Specify the RulerDistance which indicates the spacing of the major ticks. This ivar only has effect when the RulerMode is on.
|
virtual |
Set/Get the number of annotation labels to show. This also controls the number of major ticks shown. Note that this ivar only holds meaning if the RulerMode is off.
|
virtual |
Set/Get the number of annotation labels to show. This also controls the number of major ticks shown. Note that this ivar only holds meaning if the RulerMode is off.
|
virtual |
Set/Get the format with which to print the labels on the scalar bar.
|
virtual |
Set/Get the format with which to print the labels on the scalar bar.
|
virtual |
Set/Get the flag that controls whether the labels and ticks are adjusted for "nice" numerical values to make it easier to read the labels. The adjustment is based in the Range instance variable. Call GetAdjustedRange and GetAdjustedNumberOfLabels to get the adjusted range and number of labels. Note that if RulerMode is on, then the number of labels is a function of the range and ruler distance.
|
virtual |
Set/Get the flag that controls whether the labels and ticks are adjusted for "nice" numerical values to make it easier to read the labels. The adjustment is based in the Range instance variable. Call GetAdjustedRange and GetAdjustedNumberOfLabels to get the adjusted range and number of labels. Note that if RulerMode is on, then the number of labels is a function of the range and ruler distance.
|
virtual |
Set/Get the flag that controls whether the labels and ticks are adjusted for "nice" numerical values to make it easier to read the labels. The adjustment is based in the Range instance variable. Call GetAdjustedRange and GetAdjustedNumberOfLabels to get the adjusted range and number of labels. Note that if RulerMode is on, then the number of labels is a function of the range and ruler distance.
|
virtual |
Set/Get the flag that controls whether the labels and ticks are adjusted for "nice" numerical values to make it easier to read the labels. The adjustment is based in the Range instance variable. Call GetAdjustedRange and GetAdjustedNumberOfLabels to get the adjusted range and number of labels. Note that if RulerMode is on, then the number of labels is a function of the range and ruler distance.
|
inlinevirtual |
Set/Get the flag that controls whether the labels and ticks are adjusted for "nice" numerical values to make it easier to read the labels. The adjustment is based in the Range instance variable. Call GetAdjustedRange and GetAdjustedNumberOfLabels to get the adjusted range and number of labels. Note that if RulerMode is on, then the number of labels is a function of the range and ruler distance.
Definition at line 151 of file vtkAxisActor2D.h.
Set/Get the flag that controls whether the labels and ticks are adjusted for "nice" numerical values to make it easier to read the labels. The adjustment is based in the Range instance variable. Call GetAdjustedRange and GetAdjustedNumberOfLabels to get the adjusted range and number of labels. Note that if RulerMode is on, then the number of labels is a function of the range and ruler distance.
Definition at line 156 of file vtkAxisActor2D.h.
|
inlinevirtual |
Set/Get the flag that controls whether the labels and ticks are adjusted for "nice" numerical values to make it easier to read the labels. The adjustment is based in the Range instance variable. Call GetAdjustedRange and GetAdjustedNumberOfLabels to get the adjusted range and number of labels. Note that if RulerMode is on, then the number of labels is a function of the range and ruler distance.
Definition at line 162 of file vtkAxisActor2D.h.
|
inlinevirtual |
Set/Get the flag that controls whether the labels and ticks are adjusted for "nice" numerical values to make it easier to read the labels. The adjustment is based in the Range instance variable. Call GetAdjustedRange and GetAdjustedNumberOfLabels to get the adjusted range and number of labels. Note that if RulerMode is on, then the number of labels is a function of the range and ruler distance.
Definition at line 166 of file vtkAxisActor2D.h.
|
virtual |
Set/Get the title of the scalar bar actor,
|
virtual |
Set/Get the title of the scalar bar actor,
|
virtual |
Set/Get the title text property.
|
virtual |
Set/Get the title text property.
|
virtual |
Set/Get the labels text property.
|
virtual |
Set/Get the labels text property.
|
virtual |
Set/Get the length of the tick marks (expressed in pixels or display coordinates).
|
virtual |
Set/Get the length of the tick marks (expressed in pixels or display coordinates).
|
virtual |
Number of minor ticks to be displayed between each tick. Default is 0.
|
virtual |
Number of minor ticks to be displayed between each tick. Default is 0.
|
virtual |
Set/Get the length of the minor tick marks (expressed in pixels or display coordinates).
|
virtual |
Set/Get the length of the minor tick marks (expressed in pixels or display coordinates).
|
virtual |
Set/Get the offset of the labels (expressed in pixels or display coordinates). The offset is the distance of labels from tick marks or other objects.
|
virtual |
Set/Get the offset of the labels (expressed in pixels or display coordinates). The offset is the distance of labels from tick marks or other objects.
|
virtual |
Set/Get visibility of the axis line.
|
virtual |
Set/Get visibility of the axis line.
|
virtual |
Set/Get visibility of the axis line.
|
virtual |
Set/Get visibility of the axis line.
|
virtual |
Set/Get visibility of the axis tick marks.
|
virtual |
Set/Get visibility of the axis tick marks.
|
virtual |
Set/Get visibility of the axis tick marks.
|
virtual |
Set/Get visibility of the axis tick marks.
|
virtual |
Set/Get visibility of the axis labels.
|
virtual |
Set/Get visibility of the axis labels.
|
virtual |
Set/Get visibility of the axis labels.
|
virtual |
Set/Get visibility of the axis labels.
|
virtual |
Set/Get visibility of the axis title.
|
virtual |
Set/Get visibility of the axis title.
|
virtual |
Set/Get visibility of the axis title.
|
virtual |
Set/Get visibility of the axis title.
|
virtual |
Set/Get position of the axis title. 0 is at the start of the axis whereas 1 is at the end.
|
virtual |
Set/Get position of the axis title. 0 is at the start of the axis whereas 1 is at the end.
|
virtual |
Set/Get the factor that controls the overall size of the fonts used to label and title the axes. This ivar used in conjunction with the LabelFactor can be used to control font sizes.
|
virtual |
Set/Get the factor that controls the overall size of the fonts used to label and title the axes. This ivar used in conjunction with the LabelFactor can be used to control font sizes.
|
virtual |
Set/Get the factor that controls the relative size of the axis labels to the axis title.
|
virtual |
Set/Get the factor that controls the relative size of the axis labels to the axis title.
|
virtual |
Draw the axis.
Reimplemented from vtkActor2D.
|
virtual |
Draw the axis.
Reimplemented from vtkActor2D.
|
inlinevirtual |
|
virtual |
Does this prop have some translucent polygonal geometry?
Reimplemented from vtkActor2D.
|
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 vtkActor2D.
|
static |
This method computes the range of the axis given an input range. It also computes the number of tick marks given a suggested number. (The number of tick marks includes end ticks as well.) The number of tick marks computed (in conjunction with the output range) will yield "nice" tick values. For example, if the input range is (0.25,96.7) and the number of ticks requested is 10, the output range will be (0,100) with the number of computed ticks to 11 to yield tick values of (0,10,20,...,100).
|
static |
General method to computes font size from a representative size on the viewport (given by size[2]). The method returns the font size (in points) and the string height/width (in pixels). It also sets the font size of the instance of vtkTextMapper provided. The factor is used when you're trying to create text of different size-factor (it is usually = 1 but you can adjust the font size by making factor larger or smaller).
|
virtual |
Specify whether to size the fonts relative to the viewport or relative to length of the axis. By default, fonts are resized relative to the axis.
|
virtual |
Specify whether to size the fonts relative to the viewport or relative to length of the axis. By default, fonts are resized relative to the axis.
|
virtual |
Specify whether to size the fonts relative to the viewport or relative to length of the axis. By default, fonts are resized relative to the axis.
|
virtual |
Specify whether to size the fonts relative to the viewport or relative to length of the axis. By default, fonts are resized relative to the axis.
|
virtual |
Shallow copy of an axis actor. Overloads the virtual vtkProp method.
Reimplemented from vtkActor2D.
|
protectedvirtual |
|
staticprotected |
|
staticprotected |
|
protectedvirtual |
|
protected |
Definition at line 333 of file vtkAxisActor2D.h.
|
protected |
Definition at line 334 of file vtkAxisActor2D.h.
|
protected |
Definition at line 336 of file vtkAxisActor2D.h.
|
protected |
Definition at line 337 of file vtkAxisActor2D.h.
|
protected |
Definition at line 338 of file vtkAxisActor2D.h.
|
protected |
Definition at line 339 of file vtkAxisActor2D.h.
|
protected |
Definition at line 340 of file vtkAxisActor2D.h.
|
protected |
Definition at line 341 of file vtkAxisActor2D.h.
|
protected |
Definition at line 342 of file vtkAxisActor2D.h.
|
protected |
Definition at line 343 of file vtkAxisActor2D.h.
|
protected |
Definition at line 344 of file vtkAxisActor2D.h.
|
protected |
Definition at line 345 of file vtkAxisActor2D.h.
|
protected |
Definition at line 346 of file vtkAxisActor2D.h.
|
protected |
Definition at line 347 of file vtkAxisActor2D.h.
|
protected |
Definition at line 348 of file vtkAxisActor2D.h.
|
protected |
Definition at line 349 of file vtkAxisActor2D.h.
|
protected |
Definition at line 351 of file vtkAxisActor2D.h.
|
protected |
Definition at line 352 of file vtkAxisActor2D.h.
|
protected |
Definition at line 353 of file vtkAxisActor2D.h.
|
protected |
Definition at line 355 of file vtkAxisActor2D.h.
|
protected |
Definition at line 356 of file vtkAxisActor2D.h.
|
protected |
Definition at line 357 of file vtkAxisActor2D.h.
|
protected |
Definition at line 358 of file vtkAxisActor2D.h.
|
protected |
Definition at line 360 of file vtkAxisActor2D.h.
|
protected |
Definition at line 361 of file vtkAxisActor2D.h.
|
protected |
Definition at line 363 of file vtkAxisActor2D.h.
|
protected |
Definition at line 364 of file vtkAxisActor2D.h.
|
protected |
Definition at line 366 of file vtkAxisActor2D.h.
|
protected |
Definition at line 375 of file vtkAxisActor2D.h.
|
protected |
Definition at line 376 of file vtkAxisActor2D.h.
|
protected |
Definition at line 378 of file vtkAxisActor2D.h.
|
protected |
Definition at line 379 of file vtkAxisActor2D.h.
|
protected |
Definition at line 381 of file vtkAxisActor2D.h.
|
protected |
Definition at line 382 of file vtkAxisActor2D.h.
|
protected |
Definition at line 383 of file vtkAxisActor2D.h.
|
protected |
Definition at line 385 of file vtkAxisActor2D.h.
|
protected |
Definition at line 386 of file vtkAxisActor2D.h.