VTK
|
generate an x-y plot from input dataset(s) or field data More...
#include <vtkXYPlotActor.h>
Public Types | |
enum | Alignment { AlignLeft = 0x1, AlignRight = 0x2, AlignHCenter = 0x4, AlignTop = 0x10, AlignBottom = 0x20, AlignVCenter = 0x40, AlignAxisLeft = 0x100, AlignAxisRight = 0x200, AlignAxisHCenter = 0x400, AlignAxisTop = 0x1000, AlignAxisBottom = 0x2000, AlignAxisVCenter = 0x4000 } |
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 |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkXYPlotActor * | SafeDownCast (vtkObjectBase *o) |
static vtkXYPlotActor * | New () |
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 |
vtkXYPlotActor () | |
~vtkXYPlotActor () | |
void | InitializeEntries () |
void | ComputeXRange (double range[2], double *lengths) |
void | ComputeYRange (double range[2]) |
void | ComputeDORange (double xrange[2], double yrange[2], double *lengths) |
virtual void | CreatePlotData (int *pos, int *pos2, double xRange[2], double yRange[2], double *norms, int numDS, int numDO) |
void | PlaceAxes (vtkViewport *viewport, int *size, int pos[2], int pos2[2]) |
void | GenerateClipPlanes (int *pos, int *pos2) |
double | ComputeGlyphScale (int i, int *pos, int *pos2) |
void | ClipPlotData (int *pos, int *pos2, vtkPolyData *pd) |
double * | TransformPoint (int pos[2], int pos2[2], double x[3], double xNew[3]) |
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 &) |
generate an x-y plot from input dataset(s) or field data
vtkXYPlotActor creates an x-y plot of data from one or more input data sets or field data. The class plots dataset scalar values (y-axis) against the points (x-axis). The x-axis values are generated by taking the point ids, computing a cumulative arc length, or a normalized arc length. More than one input data set can be specified to generate multiple plots. Alternatively, if field data is supplied as input, the class plots one component against another. (The user must specify which component to use as the x-axis and which for the y-axis.)
To use this class to plot dataset(s), you must specify one or more input datasets containing scalar and point data. You'll probably also want to invoke a method to control how the point coordinates are converted into x values (by default point ids are used).
To use this class to plot field data, you must specify one or more input data objects with its associated field data. You'll also want to specify which component to use as the x-axis and which to use as the y-axis. Note that when plotting field data, the x and y values are used directly (i.e., there are no options to normalize the components).
Once you've set up the plot, you'll want to position it. The PositionCoordinate defines the lower-left location of the x-y plot (specified in normalized viewport coordinates) and the Position2Coordinate define the upper-right corner. (Note: the Position2Coordinate is relative to PositionCoordinate, so you can move the vtkXYPlotActor around the viewport by setting just the PositionCoordinate.) The combination of the two position coordinates specifies a rectangle in which the plot will lie.
Optional features include the ability to specify axes labels, label format and plot title. You can also manually specify the x and y plot ranges (by default they are computed automatically). The Border instance variable is used to create space between the boundary of the plot window (specified by PositionCoordinate and Position2Coordinate) and the plot itself.
The font property of the plot title can be modified through the TitleTextProperty attribute. The font property of the axes titles and labels can be modified through the AxisTitleTextProperty and AxisLabelTextProperty attributes. You may also use the GetXAxisActor2D or GetYAxisActor2D methods to access each individual axis actor to modify their font properties. In the same way, the GetLegendBoxActor method can be used to access the legend box actor to modify its font properties.
There are several advanced features as well. You can assign per curve properties (such as color and a plot symbol). (Note that each input dataset and/or data object creates a single curve.) Another option is to add a plot legend that graphically indicates the correspondance between the curve, curve symbols, and the data source. You can also exchange the x and y axes if you prefer you plot orientation that way.
Definition at line 132 of file vtkXYPlotActor.h.
typedef vtkActor2D vtkXYPlotActor::Superclass |
Definition at line 135 of file vtkXYPlotActor.h.
Enumerator | |
---|---|
AlignLeft | |
AlignRight | |
AlignHCenter | |
AlignTop | |
AlignBottom | |
AlignVCenter | |
AlignAxisLeft | |
AlignAxisRight | |
AlignAxisHCenter | |
AlignAxisTop | |
AlignAxisBottom | |
AlignAxisVCenter |
Definition at line 431 of file vtkXYPlotActor.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.
vtkXYPlotActor* vtkXYPlotActor::NewInstance | ( | ) | const |
|
virtual |
|
static |
Instantiate object with autorange computation; bold, italic, and shadows on; arial font family; the number of labels set to 5 for the x and y axes; a label format of "%-#6.3g"; and x coordinates computed from point ids.
void vtkXYPlotActor::AddDataSetInput | ( | vtkDataSet * | ds, |
const char * | arrayName, | ||
int | component | ||
) |
Add a dataset to the list of data to append. The array name specifies which point array to plot. The array must be a vtkDataArray subclass, i.e. a numeric array. If the array name is NULL, then the default scalars are used. The array can have multiple components, but only the first component is ploted. Note that AddInputDataSet() does not setup a pipeline connection whereas AddInputConnection() does.
|
inline |
Add a dataset to the list of data to append. The array name specifies which point array to plot. The array must be a vtkDataArray subclass, i.e. a numeric array. If the array name is NULL, then the default scalars are used. The array can have multiple components, but only the first component is ploted. Note that AddInputDataSet() does not setup a pipeline connection whereas AddInputConnection() does.
Definition at line 157 of file vtkXYPlotActor.h.
void vtkXYPlotActor::AddDataSetInputConnection | ( | vtkAlgorithmOutput * | in, |
const char * | arrayName, | ||
int | component | ||
) |
Add a dataset to the list of data to append. The array name specifies which point array to plot. The array must be a vtkDataArray subclass, i.e. a numeric array. If the array name is NULL, then the default scalars are used. The array can have multiple components, but only the first component is ploted. Note that AddInputDataSet() does not setup a pipeline connection whereas AddInputConnection() does.
|
inline |
Add a dataset to the list of data to append. The array name specifies which point array to plot. The array must be a vtkDataArray subclass, i.e. a numeric array. If the array name is NULL, then the default scalars are used. The array can have multiple components, but only the first component is ploted. Note that AddInputDataSet() does not setup a pipeline connection whereas AddInputConnection() does.
Definition at line 159 of file vtkXYPlotActor.h.
void vtkXYPlotActor::RemoveDataSetInput | ( | vtkDataSet * | ds, |
const char * | arrayName, | ||
int | component | ||
) |
Remove a dataset from the list of data to append.
|
inline |
Remove a dataset from the list of data to append.
Definition at line 165 of file vtkXYPlotActor.h.
void vtkXYPlotActor::RemoveDataSetInputConnection | ( | vtkAlgorithmOutput * | in, |
const char * | arrayName, | ||
int | component | ||
) |
Remove a dataset from the list of data to append.
|
inline |
Remove a dataset from the list of data to append.
Definition at line 167 of file vtkXYPlotActor.h.
void vtkXYPlotActor::RemoveAllDataSetInputConnections | ( | ) |
This removes all of the data set inputs, but does not change the data object inputs.
If plotting points by value, which component to use to determine the value. This sets a value per each input dataset (i.e., the ith dataset).
If plotting points by value, which component to use to determine the value. This sets a value per each input dataset (i.e., the ith dataset).
|
virtual |
Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)
|
virtual |
Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)
|
inline |
Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)
Definition at line 197 of file vtkXYPlotActor.h.
|
inline |
Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)
Definition at line 198 of file vtkXYPlotActor.h.
|
inline |
Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)
Definition at line 199 of file vtkXYPlotActor.h.
|
inline |
Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)
Definition at line 201 of file vtkXYPlotActor.h.
const char* vtkXYPlotActor::GetXValuesAsString | ( | ) |
Specify how the independent (x) variable is computed from the points. The independent variable can be the scalar/point index (i.e., point id), the accumulated arc length along the points, the normalized arc length, or by component value. If plotting datasets (e.g., points), the value that is used is specified by the PointComponent ivar. (Note: these methods also control how field data is plotted. Field data is usually plotted by value or index, if plotting length 1-dimensional length measures are used.)
void vtkXYPlotActor::AddDataObjectInput | ( | vtkDataObject * | in | ) |
Add a data object to the list of data to display.
void vtkXYPlotActor::AddDataObjectInputConnection | ( | vtkAlgorithmOutput * | alg | ) |
Add a data object to the list of data to display.
void vtkXYPlotActor::RemoveDataObjectInputConnection | ( | vtkAlgorithmOutput * | aout | ) |
Remove a dataset from the list of data to display.
void vtkXYPlotActor::RemoveDataObjectInput | ( | vtkDataObject * | in | ) |
Remove a dataset from the list of data to display.
|
virtual |
Indicate whether to plot rows or columns. If plotting rows, then the dependent variables is taken from a specified row, versus rows (y).
|
virtual |
Indicate whether to plot rows or columns. If plotting rows, then the dependent variables is taken from a specified row, versus rows (y).
|
inline |
Indicate whether to plot rows or columns. If plotting rows, then the dependent variables is taken from a specified row, versus rows (y).
Definition at line 227 of file vtkXYPlotActor.h.
|
inline |
Indicate whether to plot rows or columns. If plotting rows, then the dependent variables is taken from a specified row, versus rows (y).
Definition at line 229 of file vtkXYPlotActor.h.
const char* vtkXYPlotActor::GetDataObjectPlotModeAsString | ( | ) |
Indicate whether to plot rows or columns. If plotting rows, then the dependent variables is taken from a specified row, versus rows (y).
Specify which component of the input data object to use as the independent variable for the ith input data object. (This ivar is ignored if plotting the index.) Note that the value is interpreted differently depending on DataObjectPlotMode. If the mode is Rows, then the value of DataObjectXComponent is the row number; otherwise it's the column number.
Specify which component of the input data object to use as the independent variable for the ith input data object. (This ivar is ignored if plotting the index.) Note that the value is interpreted differently depending on DataObjectPlotMode. If the mode is Rows, then the value of DataObjectXComponent is the row number; otherwise it's the column number.
Specify which component of the input data object to use as the dependent variable for the ith input data object. (This ivar is ignored if plotting the index.) Note that the value is interpreted differently depending on DataObjectPlotMode. If the mode is Rows, then the value of DataObjectYComponent is the row number; otherwise it's the column number.
Specify which component of the input data object to use as the dependent variable for the ith input data object. (This ivar is ignored if plotting the index.) Note that the value is interpreted differently depending on DataObjectPlotMode. If the mode is Rows, then the value of DataObjectYComponent is the row number; otherwise it's the column number.
Definition at line 263 of file vtkXYPlotActor.h.
void vtkXYPlotActor::SetPlotSymbol | ( | int | i, |
vtkPolyData * | input | ||
) |
vtkPolyData* vtkXYPlotActor::GetPlotSymbol | ( | int | i | ) |
void vtkXYPlotActor::SetPlotLabel | ( | int | i, |
const char * | label | ||
) |
const char* vtkXYPlotActor::GetPlotLabel | ( | int | i | ) |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Enable/Disable exchange of the x-y axes (i.e., what was x becomes y, and vice-versa). Exchanging axes affects the labeling as well.
|
virtual |
Enable/Disable exchange of the x-y axes (i.e., what was x becomes y, and vice-versa). Exchanging axes affects the labeling as well.
|
virtual |
Enable/Disable exchange of the x-y axes (i.e., what was x becomes y, and vice-versa). Exchanging axes affects the labeling as well.
|
virtual |
Enable/Disable exchange of the x-y axes (i.e., what was x becomes y, and vice-versa). Exchanging axes affects the labeling as well.
|
virtual |
Normally the x-axis is plotted from minimum to maximum. Setting this instance variable causes the x-axis to be plotted from maximum to minimum. Note that boolean always applies to the x-axis even if ExchangeAxes is set.
|
virtual |
Normally the x-axis is plotted from minimum to maximum. Setting this instance variable causes the x-axis to be plotted from maximum to minimum. Note that boolean always applies to the x-axis even if ExchangeAxes is set.
|
virtual |
Normally the x-axis is plotted from minimum to maximum. Setting this instance variable causes the x-axis to be plotted from maximum to minimum. Note that boolean always applies to the x-axis even if ExchangeAxes is set.
|
virtual |
Normally the x-axis is plotted from minimum to maximum. Setting this instance variable causes the x-axis to be plotted from maximum to minimum. Note that boolean always applies to the x-axis even if ExchangeAxes is set.
|
virtual |
Normally the y-axis is plotted from minimum to maximum. Setting this instance variable causes the y-axis to be plotted from maximum to minimum. Note that boolean always applies to the y-axis even if ExchangeAxes is set.
|
virtual |
Normally the y-axis is plotted from minimum to maximum. Setting this instance variable causes the y-axis to be plotted from maximum to minimum. Note that boolean always applies to the y-axis even if ExchangeAxes is set.
|
virtual |
Normally the y-axis is plotted from minimum to maximum. Setting this instance variable causes the y-axis to be plotted from maximum to minimum. Note that boolean always applies to the y-axis even if ExchangeAxes is set.
|
virtual |
Normally the y-axis is plotted from minimum to maximum. Setting this instance variable causes the y-axis to be plotted from maximum to minimum. Note that boolean always applies to the y-axis even if ExchangeAxes is set.
|
virtual |
Retrieve handles to the legend box and glyph source. This is useful if you would like to change the default behavior of the legend box or glyph source. For example, the default glyph can be changed from a line to a vertex plus line, etc.)
|
virtual |
Retrieve handles to the legend box and glyph source. This is useful if you would like to change the default behavior of the legend box or glyph source. For example, the default glyph can be changed from a line to a vertex plus line, etc.)
|
virtual |
Set/Get the title of the x-y plot.
|
virtual |
Set/Get the title of the x-y plot.
|
virtual |
Set/Get the title of the x axis
|
virtual |
Set/Get the title of the x axis
|
virtual |
Set/Get the title of the y axis
char* vtkXYPlotActor::GetYTitle | ( | ) |
Set/Get the title of the y axis
|
inline |
Retrieve handles to the X and Y axis (so that you can set their text properties for example)
Definition at line 347 of file vtkXYPlotActor.h.
|
inline |
Retrieve handles to the X and Y axis (so that you can set their text properties for example)
Definition at line 351 of file vtkXYPlotActor.h.
Set the plot range (range of independent and dependent variables) to plot. Data outside of the range will be clipped. If the plot range of either the x or y variables is set to (v1,v2), where v1 == v2, then the range will be computed automatically. Note that the x-range values should be consistent with the way the independent variable is created (via INDEX, DISTANCE, or ARC_LENGTH).
void vtkXYPlotActor::SetXRange | ( | double | [2] | ) |
Set the plot range (range of independent and dependent variables) to plot. Data outside of the range will be clipped. If the plot range of either the x or y variables is set to (v1,v2), where v1 == v2, then the range will be computed automatically. Note that the x-range values should be consistent with the way the independent variable is created (via INDEX, DISTANCE, or ARC_LENGTH).
|
virtual |
Set the plot range (range of independent and dependent variables) to plot. Data outside of the range will be clipped. If the plot range of either the x or y variables is set to (v1,v2), where v1 == v2, then the range will be computed automatically. Note that the x-range values should be consistent with the way the independent variable is created (via INDEX, DISTANCE, or ARC_LENGTH).
|
virtual |
Set the plot range (range of independent and dependent variables) to plot. Data outside of the range will be clipped. If the plot range of either the x or y variables is set to (v1,v2), where v1 == v2, then the range will be computed automatically. Note that the x-range values should be consistent with the way the independent variable is created (via INDEX, DISTANCE, or ARC_LENGTH).
Set the plot range (range of independent and dependent variables) to plot. Data outside of the range will be clipped. If the plot range of either the x or y variables is set to (v1,v2), where v1 == v2, then the range will be computed automatically. Note that the x-range values should be consistent with the way the independent variable is created (via INDEX, DISTANCE, or ARC_LENGTH).
void vtkXYPlotActor::SetYRange | ( | double | [2] | ) |
Set the plot range (range of independent and dependent variables) to plot. Data outside of the range will be clipped. If the plot range of either the x or y variables is set to (v1,v2), where v1 == v2, then the range will be computed automatically. Note that the x-range values should be consistent with the way the independent variable is created (via INDEX, DISTANCE, or ARC_LENGTH).
|
virtual |
Set the plot range (range of independent and dependent variables) to plot. Data outside of the range will be clipped. If the plot range of either the x or y variables is set to (v1,v2), where v1 == v2, then the range will be computed automatically. Note that the x-range values should be consistent with the way the independent variable is created (via INDEX, DISTANCE, or ARC_LENGTH).
|
virtual |
Set the plot range (range of independent and dependent variables) to plot. Data outside of the range will be clipped. If the plot range of either the x or y variables is set to (v1,v2), where v1 == v2, then the range will be computed automatically. Note that the x-range values should be consistent with the way the independent variable is created (via INDEX, DISTANCE, or ARC_LENGTH).
Set the plot range (range of independent and dependent variables) to plot. Data outside of the range will be clipped. If the plot range of either the x or y variables is set to (v1,v2), where v1 == v2, then the range will be computed automatically. Note that the x-range values should be consistent with the way the independent variable is created (via INDEX, DISTANCE, or ARC_LENGTH).
Definition at line 368 of file vtkXYPlotActor.h.
|
virtual |
Set/Get the number of annotation labels to show along the x and y axes. This values is a suggestion: the number of labels may vary depending on the particulars of the data. The convenience method SetNumberOfLabels() sets the number of x and y labels to the same value.
|
virtual |
Set/Get the number of annotation labels to show along the x and y axes. This values is a suggestion: the number of labels may vary depending on the particulars of the data. The convenience method SetNumberOfLabels() sets the number of x and y labels to the same value.
|
virtual |
Set/Get the number of annotation labels to show along the x and y axes. This values is a suggestion: the number of labels may vary depending on the particulars of the data. The convenience method SetNumberOfLabels() sets the number of x and y labels to the same value.
|
virtual |
Set/Get the number of annotation labels to show along the x and y axes. This values is a suggestion: the number of labels may vary depending on the particulars of the data. The convenience method SetNumberOfLabels() sets the number of x and y labels to the same value.
|
inline |
Set/Get the number of annotation labels to show along the x and y axes. This values is a suggestion: the number of labels may vary depending on the particulars of the data. The convenience method SetNumberOfLabels() sets the number of x and y labels to the same value.
Definition at line 382 of file vtkXYPlotActor.h.
void vtkXYPlotActor::SetAdjustXLabels | ( | int | adjust | ) |
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.
|
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.
void vtkXYPlotActor::SetAdjustYLabels | ( | int | adjust | ) |
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.
|
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.
void vtkXYPlotActor::SetNumberOfXMinorTicks | ( | int | num | ) |
Set/Get the number of minor ticks in X or Y.
int vtkXYPlotActor::GetNumberOfXMinorTicks | ( | ) |
Set/Get the number of minor ticks in X or Y.
void vtkXYPlotActor::SetNumberOfYMinorTicks | ( | int | num | ) |
Set/Get the number of minor ticks in X or Y.
int vtkXYPlotActor::GetNumberOfYMinorTicks | ( | ) |
Set/Get the number of minor ticks in X or Y.
|
virtual |
Enable/Disable the creation of a legend. If on, the legend labels will be created automatically unless the per plot legend symbol has been set.
|
virtual |
Enable/Disable the creation of a legend. If on, the legend labels will be created automatically unless the per plot legend symbol has been set.
|
virtual |
Enable/Disable the creation of a legend. If on, the legend labels will be created automatically unless the per plot legend symbol has been set.
|
virtual |
Enable/Disable the creation of a legend. If on, the legend labels will be created automatically unless the per plot legend symbol has been set.
Set/Get the position of the title. This has no effect if AdjustTitlePosition is true.
void vtkXYPlotActor::SetTitlePosition | ( | double | [2] | ) |
Set/Get the position of the title. This has no effect if AdjustTitlePosition is true.
|
virtual |
Set/Get the position of the title. This has no effect if AdjustTitlePosition is true.
Set/Get the position of the title. This has no effect if AdjustTitlePosition is true.
|
virtual |
Set/Get the position of the title. This has no effect if AdjustTitlePosition is true.
|
virtual |
If true, the xyplot actor will adjust the position of the title automatically to be upper-middle. Default is true.
|
virtual |
If true, the xyplot actor will adjust the position of the title automatically to be upper-middle. Default is true.
|
virtual |
If true, the xyplot actor will adjust the position of the title automatically to be upper-middle. Default is true.
|
virtual |
If true, the xyplot actor will adjust the position of the title automatically to be upper-middle. Default is true.
|
virtual |
If AdjustTitlePosition is true, the xyplot actor will adjust the position of the title automatically depending on the given mode, the mode is a combination of the Alignment flags. by default: vtkXYPlotActor::AlignHCenter | vtkXYPlotActor::Top | vtkXYPlotActor::AlignAxisVCenter
|
virtual |
If AdjustTitlePosition is true, the xyplot actor will adjust the position of the title automatically depending on the given mode, the mode is a combination of the Alignment flags. by default: vtkXYPlotActor::AlignHCenter | vtkXYPlotActor::Top | vtkXYPlotActor::AlignAxisVCenter
Use these methods to control the position of the legend. The variables LegendPosition and LegendPosition2 define the lower-left and upper-right position of the legend. The coordinates are expressed as normalized values with respect to the rectangle defined by PositionCoordinate and Position2Coordinate. Note that LegendPosition2 is relative to LegendPosition.
void vtkXYPlotActor::SetLegendPosition | ( | double | [2] | ) |
Use these methods to control the position of the legend. The variables LegendPosition and LegendPosition2 define the lower-left and upper-right position of the legend. The coordinates are expressed as normalized values with respect to the rectangle defined by PositionCoordinate and Position2Coordinate. Note that LegendPosition2 is relative to LegendPosition.
|
virtual |
Use these methods to control the position of the legend. The variables LegendPosition and LegendPosition2 define the lower-left and upper-right position of the legend. The coordinates are expressed as normalized values with respect to the rectangle defined by PositionCoordinate and Position2Coordinate. Note that LegendPosition2 is relative to LegendPosition.
Use these methods to control the position of the legend. The variables LegendPosition and LegendPosition2 define the lower-left and upper-right position of the legend. The coordinates are expressed as normalized values with respect to the rectangle defined by PositionCoordinate and Position2Coordinate. Note that LegendPosition2 is relative to LegendPosition.
|
virtual |
Use these methods to control the position of the legend. The variables LegendPosition and LegendPosition2 define the lower-left and upper-right position of the legend. The coordinates are expressed as normalized values with respect to the rectangle defined by PositionCoordinate and Position2Coordinate. Note that LegendPosition2 is relative to LegendPosition.
Use these methods to control the position of the legend. The variables LegendPosition and LegendPosition2 define the lower-left and upper-right position of the legend. The coordinates are expressed as normalized values with respect to the rectangle defined by PositionCoordinate and Position2Coordinate. Note that LegendPosition2 is relative to LegendPosition.
void vtkXYPlotActor::SetLegendPosition2 | ( | double | [2] | ) |
Use these methods to control the position of the legend. The variables LegendPosition and LegendPosition2 define the lower-left and upper-right position of the legend. The coordinates are expressed as normalized values with respect to the rectangle defined by PositionCoordinate and Position2Coordinate. Note that LegendPosition2 is relative to LegendPosition.
|
virtual |
Use these methods to control the position of the legend. The variables LegendPosition and LegendPosition2 define the lower-left and upper-right position of the legend. The coordinates are expressed as normalized values with respect to the rectangle defined by PositionCoordinate and Position2Coordinate. Note that LegendPosition2 is relative to LegendPosition.
Use these methods to control the position of the legend. The variables LegendPosition and LegendPosition2 define the lower-left and upper-right position of the legend. The coordinates are expressed as normalized values with respect to the rectangle defined by PositionCoordinate and Position2Coordinate. Note that LegendPosition2 is relative to LegendPosition.
|
virtual |
Use these methods to control the position of the legend. The variables LegendPosition and LegendPosition2 define the lower-left and upper-right position of the legend. The coordinates are expressed as normalized values with respect to the rectangle defined by PositionCoordinate and Position2Coordinate. Note that LegendPosition2 is relative to LegendPosition.
|
virtual |
Set/Get the title text property.
|
virtual |
Set/Get the title text property.
|
virtual |
Set/Get the title text property of all axes. Note that each axis can be controlled individually through the GetX/YAxisActor2D() methods.
|
virtual |
Set/Get the title text property of all axes. Note that each axis can be controlled individually through the GetX/YAxisActor2D() methods.
|
virtual |
Set/Get the labels text property of all axes. Note that each axis can be controlled individually through the GetX/YAxisActor2D() methods.
|
virtual |
Set/Get the labels text property of all axes. Note that each axis can be controlled individually through the GetX/YAxisActor2D() methods.
|
virtual |
Enable/Disable plotting of Log of x-values.
|
virtual |
Enable/Disable plotting of Log of x-values.
|
virtual |
Enable/Disable plotting of Log of x-values.
|
virtual |
Enable/Disable plotting of Log of x-values.
|
virtual |
Set/Get the format with which to print the labels . This sets both X and Y label formats. GetLabelFormat() returns X label format.
|
inline |
Set/Get the format with which to print the labels . This sets both X and Y label formats. GetLabelFormat() returns X label format.
Definition at line 500 of file vtkXYPlotActor.h.
|
virtual |
Set/Get the format with which to print the X label.
|
virtual |
Set/Get the format with which to print the X label.
|
virtual |
Set/Get the format with which to print the Y label.
|
virtual |
Set/Get the format with which to print the Y label.
|
virtual |
Set/Get the spacing between the plot window and the plot. The value is specified in pixels.
|
virtual |
Set/Get the spacing between the plot window and the plot. The value is specified in pixels.
|
virtual |
Set/Get whether the points are rendered. The point size can be set in the property object. This is a global flag which affects the plot only if per curve symbols are not defined.
|
virtual |
Set/Get whether the points are rendered. The point size can be set in the property object. This is a global flag which affects the plot only if per curve symbols are not defined.
|
virtual |
Set/Get whether the points are rendered. The point size can be set in the property object. This is a global flag which affects the plot only if per curve symbols are not defined.
|
virtual |
Set/Get whether the points are rendered. The point size can be set in the property object. This is a global flag which affects the plot only if per curve symbols are not defined.
|
virtual |
Set/Get whether the lines are rendered. The line width can be set in the property object.
|
virtual |
Set/Get whether the lines are rendered. The line width can be set in the property object.
|
virtual |
Set/Get whether the lines are rendered. The line width can be set in the property object.
|
virtual |
Set/Get whether the lines are rendered. The line width can be set in the property object.
|
virtual |
Set/Get the factor that controls how big glyphs are in the plot. The number is expressed as a fraction of the length of the diagonal of the plot bounding box.
|
virtual |
Set/Get the factor that controls how big glyphs are in the plot. The number is expressed as a fraction of the length of the diagonal of the plot bounding box.
void vtkXYPlotActor::ViewportToPlotCoordinate | ( | vtkViewport * | viewport, |
double & | u, | ||
double & | v | ||
) |
Given a position within the viewport used by the plot, return the the plot coordinates (XAxis value, YAxis value)
void vtkXYPlotActor::ViewportToPlotCoordinate | ( | vtkViewport * | viewport | ) |
An alternate form of ViewportToPlotCoordinate() above. This method inputs the viewport coordinate pair (defined by the ivar ViewportCoordinate)and then stores them in the ivar PlotCoordinate.
An alternate form of ViewportToPlotCoordinate() above. This method inputs the viewport coordinate pair (defined by the ivar ViewportCoordinate)and then stores them in the ivar PlotCoordinate.
void vtkXYPlotActor::SetPlotCoordinate | ( | double | [2] | ) |
An alternate form of ViewportToPlotCoordinate() above. This method inputs the viewport coordinate pair (defined by the ivar ViewportCoordinate)and then stores them in the ivar PlotCoordinate.
|
virtual |
An alternate form of ViewportToPlotCoordinate() above. This method inputs the viewport coordinate pair (defined by the ivar ViewportCoordinate)and then stores them in the ivar PlotCoordinate.
An alternate form of ViewportToPlotCoordinate() above. This method inputs the viewport coordinate pair (defined by the ivar ViewportCoordinate)and then stores them in the ivar PlotCoordinate.
|
virtual |
An alternate form of ViewportToPlotCoordinate() above. This method inputs the viewport coordinate pair (defined by the ivar ViewportCoordinate)and then stores them in the ivar PlotCoordinate.
void vtkXYPlotActor::PlotToViewportCoordinate | ( | vtkViewport * | viewport, |
double & | u, | ||
double & | v | ||
) |
Given a plot coordinate, return the viewpoint position
void vtkXYPlotActor::PlotToViewportCoordinate | ( | vtkViewport * | viewport | ) |
An alternate form of PlotToViewportCoordinate() above. This method inputs the plot coordinate pair (defined in the ivar PlotCoordinate) and then stores them in the ivar ViewportCoordinate. (This method can be wrapped.)
An alternate form of PlotToViewportCoordinate() above. This method inputs the plot coordinate pair (defined in the ivar PlotCoordinate) and then stores them in the ivar ViewportCoordinate. (This method can be wrapped.)
void vtkXYPlotActor::SetViewportCoordinate | ( | double | [2] | ) |
An alternate form of PlotToViewportCoordinate() above. This method inputs the plot coordinate pair (defined in the ivar PlotCoordinate) and then stores them in the ivar ViewportCoordinate. (This method can be wrapped.)
|
virtual |
An alternate form of PlotToViewportCoordinate() above. This method inputs the plot coordinate pair (defined in the ivar PlotCoordinate) and then stores them in the ivar ViewportCoordinate. (This method can be wrapped.)
An alternate form of PlotToViewportCoordinate() above. This method inputs the plot coordinate pair (defined in the ivar PlotCoordinate) and then stores them in the ivar ViewportCoordinate. (This method can be wrapped.)
|
virtual |
An alternate form of PlotToViewportCoordinate() above. This method inputs the plot coordinate pair (defined in the ivar PlotCoordinate) and then stores them in the ivar ViewportCoordinate. (This method can be wrapped.)
int vtkXYPlotActor::IsInPlot | ( | vtkViewport * | viewport, |
double | u, | ||
double | v | ||
) |
Is the specified viewport position within the plot area (as opposed to the region used by the plot plus the labels)?
|
virtual |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the chart box.
|
virtual |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the chart box.
|
virtual |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the chart box.
|
virtual |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the chart box.
|
virtual |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the legend box.
|
virtual |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the legend box.
|
virtual |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the legend box.
|
virtual |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the legend box.
|
inline |
Get the box vtkProperty2D.
Definition at line 597 of file vtkXYPlotActor.h.
|
virtual |
Set/Get if the X reference line is visible. hidden by default
|
virtual |
Set/Get if the X reference line is visible. hidden by default
|
virtual |
Set/Get if the X reference line is visible. hidden by default
|
virtual |
Set/Get if the X reference line is visible. hidden by default
|
virtual |
Set/Get the value for the X reference line
|
virtual |
Set/Get the value for the X reference line
|
virtual |
Set/Get if the Y reference line is visible. hidden by default
|
virtual |
Set/Get if the Y reference line is visible. hidden by default
|
virtual |
Set/Get if the Y reference line is visible. hidden by default
|
virtual |
Set/Get if the Y reference line is visible. hidden by default
|
virtual |
Set/Get the value for the Y reference line
|
virtual |
Set/Get the value for the Y reference line
|
virtual |
Take into account the modified time of internal helper classes.
Reimplemented from vtkActor2D.
void vtkXYPlotActor::PrintAsCSV | ( | ostream & | os | ) |
Write the XY Ploat Actor as a CSV (comma separated value) representation.
|
virtual |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS. Draw the x-y plot.
Reimplemented from vtkActor2D.
|
virtual |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS. Draw the x-y plot.
Reimplemented from vtkActor2D.
|
inlinevirtual |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS. Draw the x-y plot.
Reimplemented from vtkActor2D.
Definition at line 638 of file vtkXYPlotActor.h.
|
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.
void vtkXYPlotActor::SetXTitlePosition | ( | double | position | ) |
Set/Get the position of the title of X axis.
double vtkXYPlotActor::GetXTitlePosition | ( | ) |
Set/Get the position of the title of X axis.
|
virtual |
Set/Get the position of the title of Y axis.
|
virtual |
Set/Get the position of the title of Y axis.
|
inline |
Set/Get the position of the title of Y axis.
Definition at line 662 of file vtkXYPlotActor.h.
|
inline |
Set/Get the position of the title of Y axis.
Definition at line 666 of file vtkXYPlotActor.h.
|
inline |
Set/Get the position of the title of Y axis.
Definition at line 670 of file vtkXYPlotActor.h.
|
virtual |
Set plot properties
Set plot properties
|
virtual |
Set plot properties
|
virtual |
Set legend properties
|
virtual |
Set legend properties
|
virtual |
Set legend properties
Set legend properties
Set title properties
|
virtual |
Set title properties
|
virtual |
Set title properties
|
virtual |
Set title properties
|
virtual |
Set title properties
|
virtual |
Set title properties
|
virtual |
Set title properties
|
virtual |
Set title properties
Set axis title properties
|
virtual |
Set axis title properties
|
virtual |
Set axis title properties
|
virtual |
Set axis title properties
|
virtual |
Set axis title properties
|
virtual |
Set axis title properties
|
virtual |
Set axis title properties
|
virtual |
Set axis title properties
Set axis label properties
|
virtual |
Set axis label properties
|
virtual |
Set axis label properties
|
virtual |
Set axis label properties
|
virtual |
Set axis label properties
|
virtual |
Set axis label properties
|
virtual |
Set axis label properties
|
virtual |
Set axis label properties
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 738 of file vtkXYPlotActor.h.
|
protected |
Definition at line 739 of file vtkXYPlotActor.h.
|
protected |
Definition at line 740 of file vtkXYPlotActor.h.
|
protected |
Definition at line 741 of file vtkXYPlotActor.h.
|
protected |
Definition at line 742 of file vtkXYPlotActor.h.
|
protected |
Definition at line 743 of file vtkXYPlotActor.h.
|
protected |
Definition at line 744 of file vtkXYPlotActor.h.
|
protected |
Definition at line 745 of file vtkXYPlotActor.h.
|
protected |
Definition at line 746 of file vtkXYPlotActor.h.
|
protected |
Definition at line 747 of file vtkXYPlotActor.h.
|
protected |
Definition at line 748 of file vtkXYPlotActor.h.
|
protected |
Definition at line 749 of file vtkXYPlotActor.h.
|
protected |
Definition at line 750 of file vtkXYPlotActor.h.
|
protected |
Definition at line 751 of file vtkXYPlotActor.h.
|
protected |
Definition at line 752 of file vtkXYPlotActor.h.
|
protected |
Definition at line 753 of file vtkXYPlotActor.h.
|
protected |
Definition at line 754 of file vtkXYPlotActor.h.
|
protected |
Definition at line 755 of file vtkXYPlotActor.h.
|
protected |
Definition at line 756 of file vtkXYPlotActor.h.
|
protected |
Definition at line 757 of file vtkXYPlotActor.h.
|
protected |
Definition at line 758 of file vtkXYPlotActor.h.
|
protected |
Definition at line 759 of file vtkXYPlotActor.h.
|
protected |
Definition at line 760 of file vtkXYPlotActor.h.
|
protected |
Definition at line 761 of file vtkXYPlotActor.h.
|
protected |
Definition at line 762 of file vtkXYPlotActor.h.
|
protected |
Definition at line 763 of file vtkXYPlotActor.h.
|
protected |
Definition at line 764 of file vtkXYPlotActor.h.
|
protected |
Definition at line 765 of file vtkXYPlotActor.h.
|
protected |
Definition at line 766 of file vtkXYPlotActor.h.
|
protected |
Definition at line 767 of file vtkXYPlotActor.h.
|
protected |
Definition at line 769 of file vtkXYPlotActor.h.
|
protected |
Definition at line 770 of file vtkXYPlotActor.h.
|
protected |
Definition at line 771 of file vtkXYPlotActor.h.
|
protected |
Definition at line 773 of file vtkXYPlotActor.h.
|
protected |
Definition at line 774 of file vtkXYPlotActor.h.
|
protected |
Definition at line 776 of file vtkXYPlotActor.h.
|
protected |
Definition at line 777 of file vtkXYPlotActor.h.
|
protected |
Definition at line 779 of file vtkXYPlotActor.h.
|
protected |
Definition at line 780 of file vtkXYPlotActor.h.
|
protected |
Definition at line 783 of file vtkXYPlotActor.h.
|
protected |
Definition at line 784 of file vtkXYPlotActor.h.
|
protected |
Definition at line 785 of file vtkXYPlotActor.h.
|
protected |
Definition at line 786 of file vtkXYPlotActor.h.
|
protected |
Definition at line 787 of file vtkXYPlotActor.h.
|
protected |
Definition at line 792 of file vtkXYPlotActor.h.
|
protected |
Definition at line 793 of file vtkXYPlotActor.h.
|
protected |
Definition at line 794 of file vtkXYPlotActor.h.
|
protected |
Definition at line 795 of file vtkXYPlotActor.h.
|
protected |
Definition at line 796 of file vtkXYPlotActor.h.
|
protected |
Definition at line 797 of file vtkXYPlotActor.h.
|
protected |
Definition at line 802 of file vtkXYPlotActor.h.
|
protected |
Definition at line 803 of file vtkXYPlotActor.h.
|
protected |
Definition at line 804 of file vtkXYPlotActor.h.
|
protected |
Definition at line 805 of file vtkXYPlotActor.h.
|
protected |
Definition at line 806 of file vtkXYPlotActor.h.
|
protected |
Definition at line 807 of file vtkXYPlotActor.h.
|
protected |
Definition at line 808 of file vtkXYPlotActor.h.
|
protected |
Definition at line 811 of file vtkXYPlotActor.h.
|
protected |
Definition at line 812 of file vtkXYPlotActor.h.
|
protected |
Definition at line 813 of file vtkXYPlotActor.h.
|
protected |
Definition at line 814 of file vtkXYPlotActor.h.
|
protected |
Definition at line 815 of file vtkXYPlotActor.h.
|
protected |
Definition at line 816 of file vtkXYPlotActor.h.
|
protected |
Definition at line 817 of file vtkXYPlotActor.h.
|
protected |
Definition at line 818 of file vtkXYPlotActor.h.
|
protected |
Definition at line 821 of file vtkXYPlotActor.h.
|
protected |
Definition at line 822 of file vtkXYPlotActor.h.
|
protected |
Definition at line 823 of file vtkXYPlotActor.h.
|
protected |
Definition at line 824 of file vtkXYPlotActor.h.
|
protected |
Definition at line 826 of file vtkXYPlotActor.h.
|
protected |
Definition at line 827 of file vtkXYPlotActor.h.
|
protected |
Definition at line 828 of file vtkXYPlotActor.h.
|
protected |
Definition at line 831 of file vtkXYPlotActor.h.
|
protected |
Definition at line 832 of file vtkXYPlotActor.h.
|
protected |
Definition at line 848 of file vtkXYPlotActor.h.
|
protected |
Definition at line 850 of file vtkXYPlotActor.h.
|
protected |
Definition at line 851 of file vtkXYPlotActor.h.
|
protected |
Definition at line 852 of file vtkXYPlotActor.h.