VTK
9.1.0
|
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 Member Functions | |
virtual vtkTypeBool | IsA (const char *type) |
Return 1 if this class is the same type of (or a subclass of) the named class. More... | |
vtkXYPlotActor * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. More... | |
void | RemoveAllDataSetInputConnections () |
This removes all of the data set inputs, but does not change the data object inputs. More... | |
void | SetPlotColor (int i, double r, double g, double b) |
void | SetPlotColor (int i, const double color[3]) |
double * | GetPlotColor (int i) |
void | SetPlotSymbol (int i, vtkPolyData *input) |
vtkPolyData * | GetPlotSymbol (int i) |
void | SetPlotLabel (int i, const char *label) |
const char * | GetPlotLabel (int i) |
virtual vtkTypeBool | GetPlotCurvePoints () |
virtual void | SetPlotCurvePoints (vtkTypeBool) |
virtual void | PlotCurvePointsOn () |
virtual void | PlotCurvePointsOff () |
virtual vtkTypeBool | GetPlotCurveLines () |
virtual void | SetPlotCurveLines (vtkTypeBool) |
virtual void | PlotCurveLinesOn () |
virtual void | PlotCurveLinesOff () |
void | SetPlotLines (int i, int) |
int | GetPlotLines (int i) |
void | SetPlotPoints (int i, int) |
int | GetPlotPoints (int i) |
void | 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) More... | |
void | PlotToViewportCoordinate (vtkViewport *viewport, double &u, double &v) |
Given a plot coordinate, return the viewpoint position. More... | |
int | 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)? More... | |
vtkProperty2D * | GetChartBoxProperty () |
Get the box vtkProperty2D. More... | |
vtkMTimeType | GetMTime () override |
Take into account the modified time of internal helper classes. More... | |
void | PrintAsCSV (ostream &os) |
Write the XY Ploat Actor as a CSV (comma separated value) representation. More... | |
vtkTypeBool | HasTranslucentPolygonalGeometry () override |
Does this prop have some translucent polygonal geometry? More... | |
void | ReleaseGraphicsResources (vtkWindow *) override |
Release any graphics resources that are being consumed by this actor. More... | |
void | AddDataSetInput (vtkDataSet *ds, const char *arrayName, int component) |
Add a dataset to the list of data to append. More... | |
void | AddDataSetInput (vtkDataSet *ds) |
Add a dataset to the list of data to append. More... | |
void | AddDataSetInputConnection (vtkAlgorithmOutput *in, const char *arrayName, int component) |
Add a dataset to the list of data to append. More... | |
void | AddDataSetInputConnection (vtkAlgorithmOutput *in) |
Add a dataset to the list of data to append. More... | |
void | RemoveDataSetInput (vtkDataSet *ds, const char *arrayName, int component) |
Remove a dataset from the list of data to append. More... | |
void | RemoveDataSetInput (vtkDataSet *ds) |
Remove a dataset from the list of data to append. More... | |
void | RemoveDataSetInputConnection (vtkAlgorithmOutput *in, const char *arrayName, int component) |
Remove a dataset from the list of data to append. More... | |
void | RemoveDataSetInputConnection (vtkAlgorithmOutput *in) |
Remove a dataset from the list of data to append. More... | |
void | SetPointComponent (int i, int comp) |
If plotting points by value, which component to use to determine the value. More... | |
int | GetPointComponent (int i) |
If plotting points by value, which component to use to determine the value. More... | |
virtual void | SetXValues (int) |
Specify how the independent (x) variable is computed from the points. More... | |
virtual int | GetXValues () |
Specify how the independent (x) variable is computed from the points. More... | |
void | SetXValuesToIndex () |
Specify how the independent (x) variable is computed from the points. More... | |
void | SetXValuesToArcLength () |
Specify how the independent (x) variable is computed from the points. More... | |
void | SetXValuesToNormalizedArcLength () |
Specify how the independent (x) variable is computed from the points. More... | |
void | SetXValuesToValue () |
Specify how the independent (x) variable is computed from the points. More... | |
const char * | GetXValuesAsString () |
Specify how the independent (x) variable is computed from the points. More... | |
void | AddDataObjectInput (vtkDataObject *in) |
Add a data object to the list of data to display. More... | |
void | AddDataObjectInputConnection (vtkAlgorithmOutput *alg) |
Add a data object to the list of data to display. More... | |
void | RemoveDataObjectInputConnection (vtkAlgorithmOutput *aout) |
Remove a dataset from the list of data to display. More... | |
void | RemoveDataObjectInput (vtkDataObject *in) |
Remove a dataset from the list of data to display. More... | |
virtual void | SetDataObjectPlotMode (int) |
Indicate whether to plot rows or columns. More... | |
virtual int | GetDataObjectPlotMode () |
Indicate whether to plot rows or columns. More... | |
void | SetDataObjectPlotModeToRows () |
Indicate whether to plot rows or columns. More... | |
void | SetDataObjectPlotModeToColumns () |
Indicate whether to plot rows or columns. More... | |
const char * | GetDataObjectPlotModeAsString () |
Indicate whether to plot rows or columns. More... | |
void | SetDataObjectXComponent (int i, int comp) |
Specify which component of the input data object to use as the independent variable for the ith input data object. More... | |
int | GetDataObjectXComponent (int i) |
Specify which component of the input data object to use as the independent variable for the ith input data object. More... | |
void | SetDataObjectYComponent (int i, int comp) |
Specify which component of the input data object to use as the dependent variable for the ith input data object. More... | |
int | GetDataObjectYComponent (int i) |
Specify which component of the input data object to use as the dependent variable for the ith input data object. More... | |
virtual void | SetExchangeAxes (vtkTypeBool) |
Enable/Disable exchange of the x-y axes (i.e., what was x becomes y, and vice-versa). More... | |
virtual vtkTypeBool | GetExchangeAxes () |
Enable/Disable exchange of the x-y axes (i.e., what was x becomes y, and vice-versa). More... | |
virtual void | ExchangeAxesOn () |
Enable/Disable exchange of the x-y axes (i.e., what was x becomes y, and vice-versa). More... | |
virtual void | ExchangeAxesOff () |
Enable/Disable exchange of the x-y axes (i.e., what was x becomes y, and vice-versa). More... | |
virtual void | SetReverseXAxis (vtkTypeBool) |
Normally the x-axis is plotted from minimum to maximum. More... | |
virtual vtkTypeBool | GetReverseXAxis () |
Normally the x-axis is plotted from minimum to maximum. More... | |
virtual void | ReverseXAxisOn () |
Normally the x-axis is plotted from minimum to maximum. More... | |
virtual void | ReverseXAxisOff () |
Normally the x-axis is plotted from minimum to maximum. More... | |
virtual void | SetReverseYAxis (vtkTypeBool) |
Normally the y-axis is plotted from minimum to maximum. More... | |
virtual vtkTypeBool | GetReverseYAxis () |
Normally the y-axis is plotted from minimum to maximum. More... | |
virtual void | ReverseYAxisOn () |
Normally the y-axis is plotted from minimum to maximum. More... | |
virtual void | ReverseYAxisOff () |
Normally the y-axis is plotted from minimum to maximum. More... | |
virtual vtkLegendBoxActor * | GetLegendActor () |
Retrieve handles to the legend box and glyph source. More... | |
virtual vtkGlyphSource2D * | GetGlyphSource () |
Retrieve handles to the legend box and glyph source. More... | |
virtual void | SetTitle (const char *) |
Set/Get the title of the x-y plot. More... | |
virtual char * | GetTitle () |
Set/Get the title of the x-y plot. More... | |
virtual void | SetXTitle (const char *) |
Set/Get the title of the x axis. More... | |
virtual char * | GetXTitle () |
Set/Get the title of the x axis. More... | |
virtual void | SetYTitle (const char *) |
Set/Get the title of the y axis. More... | |
char * | GetYTitle () |
Set/Get the title of the y axis. More... | |
vtkAxisActor2D * | GetXAxisActor2D () |
Retrieve handles to the X and Y axis (so that you can set their text properties for example) More... | |
vtkAxisActor2D * | GetYAxisActor2D () |
Retrieve handles to the X and Y axis (so that you can set their text properties for example) More... | |
virtual void | SetXRange (double, double) |
Set the plot range (range of independent and dependent variables) to plot. More... | |
void | SetXRange (double[2]) |
Set the plot range (range of independent and dependent variables) to plot. More... | |
virtual double * | GetXRange () |
Set the plot range (range of independent and dependent variables) to plot. More... | |
virtual void | GetXRange (double data[2]) |
Set the plot range (range of independent and dependent variables) to plot. More... | |
virtual void | SetYRange (double, double) |
Set the plot range (range of independent and dependent variables) to plot. More... | |
void | SetYRange (double[2]) |
Set the plot range (range of independent and dependent variables) to plot. More... | |
virtual double * | GetYRange () |
Set the plot range (range of independent and dependent variables) to plot. More... | |
virtual void | GetYRange (double data[2]) |
Set the plot range (range of independent and dependent variables) to plot. More... | |
void | SetPlotRange (double xmin, double ymin, double xmax, double ymax) |
Set the plot range (range of independent and dependent variables) to plot. More... | |
virtual void | SetNumberOfXLabels (int) |
Set/Get the number of annotation labels to show along the x and y axes. More... | |
virtual int | GetNumberOfXLabels () |
Set/Get the number of annotation labels to show along the x and y axes. More... | |
virtual void | SetNumberOfYLabels (int) |
Set/Get the number of annotation labels to show along the x and y axes. More... | |
virtual int | GetNumberOfYLabels () |
Set/Get the number of annotation labels to show along the x and y axes. More... | |
void | SetNumberOfLabels (int num) |
Set/Get the number of annotation labels to show along the x and y axes. More... | |
void | 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. More... | |
virtual int | GetAdjustXLabels () |
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. More... | |
void | 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. More... | |
virtual int | GetAdjustYLabels () |
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. More... | |
void | SetNumberOfXMinorTicks (int num) |
Set/Get the number of minor ticks in X or Y. More... | |
int | GetNumberOfXMinorTicks () |
Set/Get the number of minor ticks in X or Y. More... | |
void | SetNumberOfYMinorTicks (int num) |
Set/Get the number of minor ticks in X or Y. More... | |
int | GetNumberOfYMinorTicks () |
Set/Get the number of minor ticks in X or Y. More... | |
virtual void | SetLegend (vtkTypeBool) |
Enable/Disable the creation of a legend. More... | |
virtual vtkTypeBool | GetLegend () |
Enable/Disable the creation of a legend. More... | |
virtual void | LegendOn () |
Enable/Disable the creation of a legend. More... | |
virtual void | LegendOff () |
Enable/Disable the creation of a legend. More... | |
virtual void | SetTitlePosition (double, double) |
Set/Get the position of the title. More... | |
void | SetTitlePosition (double[2]) |
Set/Get the position of the title. More... | |
virtual double * | GetTitlePosition () |
Set/Get the position of the title. More... | |
virtual void | GetTitlePosition (double &, double &) |
Set/Get the position of the title. More... | |
virtual void | GetTitlePosition (double[2]) |
Set/Get the position of the title. More... | |
virtual void | SetAdjustTitlePosition (vtkTypeBool) |
If true, the xyplot actor will adjust the position of the title automatically to be upper-middle. More... | |
virtual vtkTypeBool | GetAdjustTitlePosition () |
If true, the xyplot actor will adjust the position of the title automatically to be upper-middle. More... | |
virtual void | AdjustTitlePositionOn () |
If true, the xyplot actor will adjust the position of the title automatically to be upper-middle. More... | |
virtual void | AdjustTitlePositionOff () |
If true, the xyplot actor will adjust the position of the title automatically to be upper-middle. More... | |
virtual void | SetAdjustTitlePositionMode (int) |
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. More... | |
virtual int | GetAdjustTitlePositionMode () |
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. More... | |
virtual void | SetLegendPosition (double, double) |
Use these methods to control the position of the legend. More... | |
void | SetLegendPosition (double[2]) |
Use these methods to control the position of the legend. More... | |
virtual double * | GetLegendPosition () |
Use these methods to control the position of the legend. More... | |
virtual void | GetLegendPosition (double &, double &) |
Use these methods to control the position of the legend. More... | |
virtual void | GetLegendPosition (double[2]) |
Use these methods to control the position of the legend. More... | |
virtual void | SetLegendPosition2 (double, double) |
Use these methods to control the position of the legend. More... | |
void | SetLegendPosition2 (double[2]) |
Use these methods to control the position of the legend. More... | |
virtual double * | GetLegendPosition2 () |
Use these methods to control the position of the legend. More... | |
virtual void | GetLegendPosition2 (double &, double &) |
Use these methods to control the position of the legend. More... | |
virtual void | GetLegendPosition2 (double[2]) |
Use these methods to control the position of the legend. More... | |
virtual void | SetTitleTextProperty (vtkTextProperty *p) |
Set/Get the title text property. More... | |
virtual vtkTextProperty * | GetTitleTextProperty () |
Set/Get the title text property. More... | |
virtual void | SetAxisTitleTextProperty (vtkTextProperty *p) |
Set/Get the title text property of all axes. More... | |
virtual vtkTextProperty * | GetAxisTitleTextProperty () |
Set/Get the title text property of all axes. More... | |
virtual void | SetAxisLabelTextProperty (vtkTextProperty *p) |
Set/Get the labels text property of all axes. More... | |
virtual vtkTextProperty * | GetAxisLabelTextProperty () |
Set/Get the labels text property of all axes. More... | |
virtual void | SetLogx (vtkTypeBool) |
Enable/Disable plotting of Log of x-values. More... | |
virtual vtkTypeBool | GetLogx () |
Enable/Disable plotting of Log of x-values. More... | |
virtual void | LogxOn () |
Enable/Disable plotting of Log of x-values. More... | |
virtual void | LogxOff () |
Enable/Disable plotting of Log of x-values. More... | |
virtual void | SetLabelFormat (const char *) |
Set/Get the format with which to print the labels . More... | |
const char * | GetLabelFormat () |
Set/Get the format with which to print the labels . More... | |
virtual void | SetXLabelFormat (const char *) |
Set/Get the format with which to print the X label. More... | |
virtual char * | GetXLabelFormat () |
Set/Get the format with which to print the X label. More... | |
virtual void | SetYLabelFormat (const char *) |
Set/Get the format with which to print the Y label. More... | |
virtual char * | GetYLabelFormat () |
Set/Get the format with which to print the Y label. More... | |
virtual void | SetBorder (int) |
Set/Get the spacing between the plot window and the plot. More... | |
virtual int | GetBorder () |
Set/Get the spacing between the plot window and the plot. More... | |
virtual vtkTypeBool | GetPlotPoints () |
Set/Get whether the points are rendered. More... | |
virtual void | SetPlotPoints (vtkTypeBool) |
Set/Get whether the points are rendered. More... | |
virtual void | PlotPointsOn () |
Set/Get whether the points are rendered. More... | |
virtual void | PlotPointsOff () |
Set/Get whether the points are rendered. More... | |
virtual vtkTypeBool | GetPlotLines () |
Set/Get whether the lines are rendered. More... | |
virtual void | SetPlotLines (vtkTypeBool) |
Set/Get whether the lines are rendered. More... | |
virtual void | PlotLinesOn () |
Set/Get whether the lines are rendered. More... | |
virtual void | PlotLinesOff () |
Set/Get whether the lines are rendered. More... | |
virtual void | SetGlyphSize (double) |
Set/Get the factor that controls how big glyphs are in the plot. More... | |
virtual double | GetGlyphSize () |
Set/Get the factor that controls how big glyphs are in the plot. More... | |
void | ViewportToPlotCoordinate (vtkViewport *viewport) |
An alternate form of ViewportToPlotCoordinate() above. More... | |
virtual void | SetPlotCoordinate (double, double) |
An alternate form of ViewportToPlotCoordinate() above. More... | |
void | SetPlotCoordinate (double[2]) |
An alternate form of ViewportToPlotCoordinate() above. More... | |
virtual double * | GetPlotCoordinate () |
An alternate form of ViewportToPlotCoordinate() above. More... | |
virtual void | GetPlotCoordinate (double &, double &) |
An alternate form of ViewportToPlotCoordinate() above. More... | |
virtual void | GetPlotCoordinate (double[2]) |
An alternate form of ViewportToPlotCoordinate() above. More... | |
void | PlotToViewportCoordinate (vtkViewport *viewport) |
An alternate form of PlotToViewportCoordinate() above. More... | |
virtual void | SetViewportCoordinate (double, double) |
An alternate form of PlotToViewportCoordinate() above. More... | |
void | SetViewportCoordinate (double[2]) |
An alternate form of PlotToViewportCoordinate() above. More... | |
virtual double * | GetViewportCoordinate () |
An alternate form of PlotToViewportCoordinate() above. More... | |
virtual void | GetViewportCoordinate (double &, double &) |
An alternate form of PlotToViewportCoordinate() above. More... | |
virtual void | GetViewportCoordinate (double[2]) |
An alternate form of PlotToViewportCoordinate() above. More... | |
virtual void | SetChartBox (vtkTypeBool) |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the chart box. More... | |
virtual vtkTypeBool | GetChartBox () |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the chart box. More... | |
virtual void | ChartBoxOn () |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the chart box. More... | |
virtual void | ChartBoxOff () |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the chart box. More... | |
virtual void | SetChartBorder (vtkTypeBool) |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the legend box. More... | |
virtual vtkTypeBool | GetChartBorder () |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the legend box. More... | |
virtual void | ChartBorderOn () |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the legend box. More... | |
virtual void | ChartBorderOff () |
Set/Get the flag that controls whether a box will be drawn/filled corresponding to the legend box. More... | |
virtual void | SetShowReferenceXLine (vtkTypeBool) |
Set/Get if the X reference line is visible. More... | |
virtual vtkTypeBool | GetShowReferenceXLine () |
Set/Get if the X reference line is visible. More... | |
virtual void | ShowReferenceXLineOn () |
Set/Get if the X reference line is visible. More... | |
virtual void | ShowReferenceXLineOff () |
Set/Get if the X reference line is visible. More... | |
virtual void | SetReferenceXValue (double) |
Set/Get the value for the X reference line. More... | |
virtual double | GetReferenceXValue () |
Set/Get the value for the X reference line. More... | |
virtual void | SetShowReferenceYLine (vtkTypeBool) |
Set/Get if the Y reference line is visible. More... | |
virtual vtkTypeBool | GetShowReferenceYLine () |
Set/Get if the Y reference line is visible. More... | |
virtual void | ShowReferenceYLineOn () |
Set/Get if the Y reference line is visible. More... | |
virtual void | ShowReferenceYLineOff () |
Set/Get if the Y reference line is visible. More... | |
virtual void | SetReferenceYValue (double) |
Set/Get the value for the Y reference line. More... | |
virtual double | GetReferenceYValue () |
Set/Get the value for the Y reference line. More... | |
int | RenderOpaqueGeometry (vtkViewport *) override |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS. More... | |
int | RenderOverlay (vtkViewport *) override |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS. More... | |
int | RenderTranslucentPolygonalGeometry (vtkViewport *) override |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS. More... | |
void | SetXTitlePosition (double position) |
Set/Get the position of the title of X axis. More... | |
double | GetXTitlePosition () |
Set/Get the position of the title of X axis. More... | |
virtual void | SetYTitlePosition (int) |
Set/Get the position of the title of Y axis. More... | |
virtual int | GetYTitlePosition () |
Set/Get the position of the title of Y axis. More... | |
void | SetYTitlePositionToTop () |
Set/Get the position of the title of Y axis. More... | |
void | SetYTitlePositionToHCenter () |
Set/Get the position of the title of Y axis. More... | |
void | SetYTitlePositionToVCenter () |
Set/Get the position of the title of Y axis. More... | |
virtual void | SetPlotGlyphType (int, int) |
Set plot properties. More... | |
virtual void | SetLineWidth (double) |
Set plot properties. More... | |
virtual void | AddUserCurvesPoint (double, double, double) |
Set plot properties. More... | |
virtual void | RemoveAllActiveCurves () |
Set plot properties. More... | |
virtual void | SetLegendBorder (int) |
Set legend properties. More... | |
virtual void | SetLegendBox (int) |
Set legend properties. More... | |
virtual void | SetLegendUseBackground (int) |
Set legend properties. More... | |
virtual void | SetLegendBackgroundColor (double, double, double) |
Set legend properties. More... | |
virtual void | SetTitleColor (double, double, double) |
Set title properties. More... | |
virtual void | SetTitleFontFamily (int) |
Set title properties. More... | |
virtual void | SetTitleBold (int) |
Set title properties. More... | |
virtual void | SetTitleItalic (int) |
Set title properties. More... | |
virtual void | SetTitleShadow (int) |
Set title properties. More... | |
virtual void | SetTitleFontSize (int) |
Set title properties. More... | |
virtual void | SetTitleJustification (int) |
Set title properties. More... | |
virtual void | SetTitleVerticalJustification (int) |
Set title properties. More... | |
virtual void | SetXAxisColor (double, double, double) |
Set axes properties. More... | |
virtual void | SetYAxisColor (double, double, double) |
Set axes properties. More... | |
virtual void | SetAxisTitleColor (double, double, double) |
Set axis title properties. More... | |
virtual void | SetAxisTitleFontFamily (int) |
Set axis title properties. More... | |
virtual void | SetAxisTitleBold (int) |
Set axis title properties. More... | |
virtual void | SetAxisTitleItalic (int) |
Set axis title properties. More... | |
virtual void | SetAxisTitleShadow (int) |
Set axis title properties. More... | |
virtual void | SetAxisTitleFontSize (int) |
Set axis title properties. More... | |
virtual void | SetAxisTitleJustification (int) |
Set axis title properties. More... | |
virtual void | SetAxisTitleVerticalJustification (int) |
Set axis title properties. More... | |
virtual void | SetAxisLabelColor (double, double, double) |
Set axis label properties. More... | |
virtual void | SetAxisLabelFontFamily (int) |
Set axis label properties. More... | |
virtual void | SetAxisLabelBold (int) |
Set axis label properties. More... | |
virtual void | SetAxisLabelItalic (int) |
Set axis label properties. More... | |
virtual void | SetAxisLabelShadow (int) |
Set axis label properties. More... | |
virtual void | SetAxisLabelFontSize (int) |
Set axis label properties. More... | |
virtual void | SetAxisLabelJustification (int) |
Set axis label properties. More... | |
virtual void | SetAxisLabelVerticalJustification (int) |
Set axis label properties. More... | |
Public Member Functions inherited from vtkActor2D | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. More... | |
virtual vtkTypeBool | IsA (const char *type) |
Return 1 if this class is the same type of (or a subclass of) the named class. More... | |
vtkActor2D * | NewInstance () const |
vtkTypeBool | HasTranslucentPolygonalGeometry () override |
Does this prop have some translucent polygonal geometry? More... | |
vtkProperty2D * | GetProperty () |
Returns this actor's vtkProperty2D. More... | |
virtual void | SetProperty (vtkProperty2D *) |
Set this vtkProp's vtkProperty2D. More... | |
void | SetDisplayPosition (int, int) |
Set the Prop2D's position in display coordinates. More... | |
vtkMTimeType | GetMTime () override |
Return this objects MTime. More... | |
void | GetActors2D (vtkPropCollection *pc) override |
For some exporters and other other operations we must be able to collect all the actors or volumes. More... | |
void | ShallowCopy (vtkProp *prop) override |
Shallow copy of this vtkActor2D. More... | |
void | ReleaseGraphicsResources (vtkWindow *) override |
Release any graphics resources that are being consumed by this actor. More... | |
virtual vtkCoordinate * | GetActualPositionCoordinate (void) |
Return the actual vtkCoordinate reference that the mapper should use to position the actor. More... | |
virtual vtkCoordinate * | GetActualPosition2Coordinate (void) |
Return the actual vtkCoordinate reference that the mapper should use to position the actor. More... | |
int | RenderOverlay (vtkViewport *viewport) override |
Support the standard render methods. More... | |
int | RenderOpaqueGeometry (vtkViewport *viewport) override |
Support the standard render methods. More... | |
int | RenderTranslucentPolygonalGeometry (vtkViewport *viewport) override |
Support the standard render methods. More... | |
virtual void | SetMapper (vtkMapper2D *mapper) |
Set/Get the vtkMapper2D which defines the data to be drawn. More... | |
virtual vtkMapper2D * | GetMapper () |
Set/Get the vtkMapper2D which defines the data to be drawn. More... | |
virtual void | SetLayerNumber (int) |
Set/Get the layer number in the overlay planes into which to render. More... | |
virtual int | GetLayerNumber () |
Set/Get the layer number in the overlay planes into which to render. More... | |
virtual vtkCoordinate * | GetPositionCoordinate () |
Get the PositionCoordinate instance of vtkCoordinate. More... | |
virtual void | SetPosition (float x[2]) |
Get the PositionCoordinate instance of vtkCoordinate. More... | |
virtual void | SetPosition (float x, float y) |
Get the PositionCoordinate instance of vtkCoordinate. More... | |
virtual float * | GetPosition () |
Get the PositionCoordinate instance of vtkCoordinate. More... | |
virtual vtkCoordinate * | GetPosition2Coordinate () |
Access the Position2 instance variable. More... | |
virtual void | SetPosition2 (float x[2]) |
Access the Position2 instance variable. More... | |
virtual void | SetPosition2 (float x, float y) |
Access the Position2 instance variable. More... | |
virtual float * | GetPosition2 () |
Access the Position2 instance variable. More... | |
void | SetWidth (double w) |
Set/Get the height and width of the Actor2D. More... | |
double | GetWidth () |
Set/Get the height and width of the Actor2D. More... | |
void | SetHeight (double h) |
Set/Get the height and width of the Actor2D. More... | |
double | GetHeight () |
Set/Get the height and width of the Actor2D. More... | |
Public Member Functions inherited from vtkProp | |
virtual vtkTypeBool | IsA (const char *type) |
Return 1 if this class is the same type of (or a subclass of) the named class. More... | |
vtkProp * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. More... | |
virtual void | GetActors (vtkPropCollection *) |
For some exporters and other other operations we must be able to collect all the actors or volumes. More... | |
virtual void | GetActors2D (vtkPropCollection *) |
virtual void | GetVolumes (vtkPropCollection *) |
virtual void | Pick () |
Method fires PickEvent if the prop is picked. More... | |
virtual vtkMTimeType | GetRedrawMTime () |
Return the mtime of anything that would cause the rendered image to appear differently. More... | |
virtual double * | GetBounds () |
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). More... | |
virtual void | ShallowCopy (vtkProp *prop) |
Shallow copy of this vtkProp. More... | |
virtual void | PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix)) |
These methods are used by subclasses to place a matrix (if any) in the prop prior to rendering. More... | |
virtual vtkMatrix4x4 * | GetMatrix () |
virtual bool | HasKeys (vtkInformation *requiredKeys) |
Tells if the prop has all the required keys. More... | |
virtual int | RenderOpaqueGeometry (vtkViewport *) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS All concrete subclasses must be able to render themselves. More... | |
virtual int | RenderTranslucentPolygonalGeometry (vtkViewport *) |
virtual int | RenderVolumetricGeometry (vtkViewport *) |
virtual int | RenderOverlay (vtkViewport *) |
virtual bool | RenderFilteredOpaqueGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
Render the opaque geometry only if the prop has all the requiredKeys. More... | |
virtual bool | RenderFilteredTranslucentPolygonalGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
Render the translucent polygonal geometry only if the prop has all the requiredKeys. More... | |
virtual bool | RenderFilteredVolumetricGeometry (vtkViewport *v, vtkInformation *requiredKeys) |
Render the volumetric geometry only if the prop has all the requiredKeys. More... | |
virtual bool | RenderFilteredOverlay (vtkViewport *v, vtkInformation *requiredKeys) |
Render in the overlay of the viewport only if the prop has all the requiredKeys. More... | |
virtual vtkTypeBool | HasTranslucentPolygonalGeometry () |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS Does this prop have some translucent polygonal geometry? This method is called during the rendering process to know if there is some translucent polygonal geometry. More... | |
virtual vtkTypeBool | HasOpaqueGeometry () |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS Does this prop have some opaque geometry? This method is called during the rendering process to know if there is some opaque geometry. More... | |
virtual void | ReleaseGraphicsResources (vtkWindow *) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE Release any graphics resources that are being consumed by this actor. More... | |
virtual double | GetEstimatedRenderTime (vtkViewport *) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS The EstimatedRenderTime may be used to select between different props, for example in LODProp it is used to select the level-of-detail. More... | |
virtual double | GetEstimatedRenderTime () |
virtual void | SetEstimatedRenderTime (double t) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS This method is used by, for example, the vtkLODProp3D in order to initialize the estimated render time at start-up to some user defined value. More... | |
virtual void | RestoreEstimatedRenderTime () |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS When the EstimatedRenderTime is first set to 0.0 (in the SetAllocatedRenderTime method) the old value is saved. More... | |
virtual void | AddEstimatedRenderTime (double t, vtkViewport *vtkNotUsed(vp)) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS This method is intended to allow the renderer to add to the EstimatedRenderTime in props that require information that the renderer has in order to do this. More... | |
void | SetRenderTimeMultiplier (double t) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Get/Set the multiplier for the render time. More... | |
virtual double | GetRenderTimeMultiplier () |
virtual void | BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used to construct assembly paths and perform part traversal. More... | |
virtual bool | GetSupportsSelection () |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS Used by vtkHardwareSelector to determine if the prop supports hardware selection. More... | |
virtual void | ProcessSelectorPixelBuffers (vtkHardwareSelector *, std::vector< unsigned int > &) |
allows a prop to update a selections color buffers More... | |
virtual void | SetVisibility (vtkTypeBool) |
Set/Get visibility of this vtkProp. More... | |
virtual vtkTypeBool | GetVisibility () |
Set/Get visibility of this vtkProp. More... | |
virtual void | VisibilityOn () |
Set/Get visibility of this vtkProp. More... | |
virtual void | VisibilityOff () |
Set/Get visibility of this vtkProp. More... | |
virtual void | SetPickable (vtkTypeBool) |
Set/Get the pickable instance variable. More... | |
virtual vtkTypeBool | GetPickable () |
Set/Get the pickable instance variable. More... | |
virtual void | PickableOn () |
Set/Get the pickable instance variable. More... | |
virtual void | PickableOff () |
Set/Get the pickable instance variable. More... | |
virtual void | SetDragable (vtkTypeBool) |
Set/Get the value of the dragable instance variable. More... | |
virtual vtkTypeBool | GetDragable () |
Set/Get the value of the dragable instance variable. More... | |
virtual void | DragableOn () |
Set/Get the value of the dragable instance variable. More... | |
virtual void | DragableOff () |
Set/Get the value of the dragable instance variable. More... | |
virtual void | SetUseBounds (bool) |
In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in vtkRenderer::ResetCamera(). More... | |
virtual bool | GetUseBounds () |
In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in vtkRenderer::ResetCamera(). More... | |
virtual void | UseBoundsOn () |
In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in vtkRenderer::ResetCamera(). More... | |
virtual void | UseBoundsOff () |
In case the Visibility flag is true, tell if the bounds of this prop should be taken into account or ignored during the computation of other bounding boxes, like in vtkRenderer::ResetCamera(). More... | |
virtual void | InitPathTraversal () |
vtkProp and its subclasses can be picked by subclasses of vtkAbstractPicker (e.g., vtkPropPicker). More... | |
virtual vtkAssemblyPath * | GetNextPath () |
vtkProp and its subclasses can be picked by subclasses of vtkAbstractPicker (e.g., vtkPropPicker). More... | |
virtual int | GetNumberOfPaths () |
vtkProp and its subclasses can be picked by subclasses of vtkAbstractPicker (e.g., vtkPropPicker). More... | |
virtual vtkInformation * | GetPropertyKeys () |
Set/Get property keys. More... | |
virtual void | SetPropertyKeys (vtkInformation *keys) |
Set/Get property keys. More... | |
virtual void | SetAllocatedRenderTime (double t, vtkViewport *vtkNotUsed(v)) |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS The renderer may use the allocated rendering time to determine how to render this actor. More... | |
virtual double | GetAllocatedRenderTime () |
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERING PROCESS. More... | |
virtual int | GetNumberOfConsumers () |
Get the number of consumers. More... | |
void | AddConsumer (vtkObject *c) |
Add or remove or get or check a consumer,. More... | |
void | RemoveConsumer (vtkObject *c) |
Add or remove or get or check a consumer,. More... | |
vtkObject * | GetConsumer (int i) |
Add or remove or get or check a consumer,. More... | |
int | IsConsumer (vtkObject *c) |
Add or remove or get or check a consumer,. More... | |
virtual void | SetShaderProperty (vtkShaderProperty *property) |
Set/Get the shader property. More... | |
virtual vtkShaderProperty * | GetShaderProperty () |
Set/Get the shader property. More... | |
virtual bool | IsRenderingTranslucentPolygonalGeometry () |
Public Member Functions inherited from vtkObject | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
Turn debugging output on. More... | |
virtual void | DebugOff () |
Turn debugging output off. More... | |
bool | GetDebug () |
Get the value of the debug flag. More... | |
void | SetDebug (bool debugFlag) |
Set the value of the debug flag. More... | |
virtual void | Modified () |
Update the modification time for this object. More... | |
virtual vtkMTimeType | GetMTime () |
Return this object's modified time. More... | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. More... | |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
vtkTypeBool | HasObserver (unsigned long event) |
vtkTypeBool | HasObserver (const char *event) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
vtkCommand * | GetCommand (unsigned long tag) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
void | RemoveObserver (vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
void | RemoveObservers (unsigned long event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
void | RemoveObservers (const char *event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. More... | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More... | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More... | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
Allow user to set the AbortFlagOn() with the return value of the callback method. More... | |
int | InvokeEvent (unsigned long event, void *callData) |
This method invokes an event and return whether the event was aborted or not. More... | |
int | InvokeEvent (const char *event, void *callData) |
This method invokes an event and return whether the event was aborted or not. More... | |
Public Member Functions inherited from vtkObjectBase | |
const char * | GetClassName () const |
Return the class name as a string. More... | |
virtual vtkTypeBool | IsA (const char *name) |
Return 1 if this class is the same type of (or a subclass of) the named class. More... | |
virtual vtkIdType | GetNumberOfGenerationsFromBase (const char *name) |
Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More... | |
virtual void | Delete () |
Delete a VTK object. More... | |
virtual void | FastDelete () |
Delete a reference to this object. More... | |
void | InitializeObjectBase () |
void | Print (ostream &os) |
Print an object to an ostream. More... | |
virtual void | Register (vtkObjectBase *o) |
Increase the reference count (mark as used by another object). More... | |
virtual void | UnRegister (vtkObjectBase *o) |
Decrease the reference count (release by another object). More... | |
int | GetReferenceCount () |
Return the current reference count of this object. More... | |
void | SetReferenceCount (int) |
Sets the reference count. More... | |
bool | GetIsInMemkind () const |
A local state flag that remembers whether this object lives in the normal or extended memory space. More... | |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
Methods invoked by print to print information about the object including superclasses. More... | |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
Methods invoked by print to print information about the object including superclasses. More... | |
Static Public Member Functions | |
static vtkTypeBool | IsTypeOf (const char *type) |
static vtkXYPlotActor * | SafeDownCast (vtkObjectBase *o) |
static vtkXYPlotActor * | New () |
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. More... | |
Static Public Member Functions inherited from vtkActor2D | |
static vtkTypeBool | IsTypeOf (const char *type) |
static vtkActor2D * | SafeDownCast (vtkObjectBase *o) |
static vtkActor2D * | New () |
Creates an actor2D with the following defaults: position (0,0) (coordinate system is viewport); at layer 0. More... | |
Static Public Member Functions inherited from vtkProp | |
static vtkTypeBool | IsTypeOf (const char *type) |
static vtkProp * | SafeDownCast (vtkObjectBase *o) |
static vtkInformationIntegerKey * | GeneralTextureUnit () |
Optional Key Indicating the texture unit for general texture mapping Old OpenGL was a state machine where you would push or pop items. More... | |
static vtkInformationDoubleVectorKey * | GeneralTextureTransform () |
Optional Key Indicating the texture transform for general texture mapping Old OpenGL was a state machine where you would push or pop items. More... | |
Static Public Member Functions inherited from vtkObject | |
static vtkObject * | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
static void | BreakOnError () |
This method is called when vtkErrorMacro executes. More... | |
static void | SetGlobalWarningDisplay (int val) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static void | GlobalWarningDisplayOn () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static void | GlobalWarningDisplayOff () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static int | GetGlobalWarningDisplay () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
Static Public Member Functions inherited from vtkObjectBase | |
static vtkTypeBool | IsTypeOf (const char *name) |
Return 1 if this class type is the same type of (or a subclass of) the named class. More... | |
static vtkIdType | GetNumberOfGenerationsFromBaseType (const char *name) |
Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More... | |
static vtkObjectBase * | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
static void | SetMemkindDirectory (const char *directoryname) |
The name of a directory, ideally mounted -o dax, to memory map an extended memory space within. More... | |
static bool | GetUsingMemkind () |
A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space. More... | |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkXYPlotActor () | |
~vtkXYPlotActor () override | |
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, const 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 | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkActor2D () | |
~vtkActor2D () override | |
Protected Member Functions inherited from vtkProp | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkProp () | |
~vtkProp () override | |
Protected Member Functions inherited from vtkObject | |
vtkObject () | |
~vtkObject () override | |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr) |
These methods allow a command to exclusively grab all events. More... | |
void | InternalReleaseFocus () |
These methods allow a command to exclusively grab all events. More... | |
Protected Member Functions inherited from vtkObjectBase | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) |
virtual void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Additional Inherited Members | |
Static Protected Member Functions inherited from vtkObjectBase | |
static vtkMallocingFunction | GetCurrentMallocFunction () |
static vtkReallocingFunction | GetCurrentReallocFunction () |
static vtkFreeingFunction | GetCurrentFreeFunction () |
static vtkFreeingFunction | GetAlternateFreeFunction () |
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 correspondence 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 146 of file vtkXYPlotActor.h.
typedef vtkActor2D vtkXYPlotActor::Superclass |
Definition at line 149 of file vtkXYPlotActor.h.
Enumerator | |
---|---|
AlignLeft | |
AlignRight | |
AlignHCenter | |
AlignTop | |
AlignBottom | |
AlignVCenter | |
AlignAxisLeft | |
AlignAxisRight | |
AlignAxisHCenter | |
AlignAxisTop | |
AlignAxisBottom | |
AlignAxisVCenter |
Definition at line 495 of file vtkXYPlotActor.h.
|
protected |
|
overrideprotected |
|
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 |
|
overridevirtual |
|
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 175 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 177 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 188 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 190 of file vtkXYPlotActor.h.
void vtkXYPlotActor::RemoveAllDataSetInputConnections | ( | ) |
This removes all of the data set inputs, but does not change the data object inputs.
void vtkXYPlotActor::SetPointComponent | ( | int | i, |
int | comp | ||
) |
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).
int vtkXYPlotActor::GetPointComponent | ( | int | i | ) |
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 225 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 226 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 227 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 228 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 261 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 262 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).
void vtkXYPlotActor::SetDataObjectXComponent | ( | int | i, |
int | comp | ||
) |
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.
int vtkXYPlotActor::GetDataObjectXComponent | ( | int | i | ) |
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.
void vtkXYPlotActor::SetDataObjectYComponent | ( | int | i, |
int | comp | ||
) |
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.
int vtkXYPlotActor::GetDataObjectYComponent | ( | int | i | ) |
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.
void vtkXYPlotActor::SetPlotColor | ( | int | i, |
double | r, | ||
double | g, | ||
double | b | ||
) |
|
inline |
Definition at line 299 of file vtkXYPlotActor.h.
double * vtkXYPlotActor::GetPlotColor | ( | int | i | ) |
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 |
void vtkXYPlotActor::SetPlotLines | ( | int | i, |
int | |||
) |
int vtkXYPlotActor::GetPlotLines | ( | int | i | ) |
void vtkXYPlotActor::SetPlotPoints | ( | int | i, |
int | |||
) |
int vtkXYPlotActor::GetPlotPoints | ( | int | i | ) |
|
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 399 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 400 of file vtkXYPlotActor.h.
|
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).
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).
|
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).
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).
|
inline |
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 416 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 434 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.
|
virtual |
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.
|
virtual |
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
|
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.
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.
|
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 |
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.
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.
|
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 |
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 579 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.
|
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::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.
|
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.
|
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.)
|
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.)
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.)
|
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.)
|
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 701 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.
|
overridevirtual |
Take into account the modified time of internal helper classes.
Reimplemented from vtkObject.
void vtkXYPlotActor::PrintAsCSV | ( | ostream & | os | ) |
Write the XY Ploat Actor as a CSV (comma separated value) representation.
|
overridevirtual |
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 vtkProp.
|
overridevirtual |
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 vtkProp.
|
inlineoverridevirtual |
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 vtkProp.
Definition at line 755 of file vtkXYPlotActor.h.
|
overridevirtual |
Does this prop have some translucent polygonal geometry?
Reimplemented from vtkProp.
|
overridevirtual |
Release any graphics resources that are being consumed by this actor.
The parameter window could be used to determine which graphic resources to release.
Reimplemented from vtkProp.
void 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 784 of file vtkXYPlotActor.h.
|
inline |
Set/Get the position of the title of Y axis.
Definition at line 785 of file vtkXYPlotActor.h.
|
inline |
Set/Get the position of the title of Y axis.
Definition at line 786 of file vtkXYPlotActor.h.
|
virtual |
Set plot properties.
|
virtual |
Set plot properties.
|
virtual |
Set plot properties.
|
virtual |
Set plot properties.
|
virtual |
Set legend properties.
|
virtual |
Set legend properties.
|
virtual |
Set legend properties.
|
virtual |
Set legend 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.
|
virtual |
Set title properties.
|
virtual |
Set axes properties.
|
virtual |
Set axes 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.
|
virtual |
Set axis title 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.
|
virtual |
Set axis label properties.
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 863 of file vtkXYPlotActor.h.
|
protected |
Definition at line 864 of file vtkXYPlotActor.h.
|
protected |
Definition at line 865 of file vtkXYPlotActor.h.
|
protected |
Definition at line 866 of file vtkXYPlotActor.h.
|
protected |
Definition at line 867 of file vtkXYPlotActor.h.
|
protected |
Definition at line 868 of file vtkXYPlotActor.h.
|
protected |
Definition at line 869 of file vtkXYPlotActor.h.
|
protected |
Definition at line 870 of file vtkXYPlotActor.h.
|
protected |
Definition at line 871 of file vtkXYPlotActor.h.
|
protected |
Definition at line 872 of file vtkXYPlotActor.h.
|
protected |
Definition at line 873 of file vtkXYPlotActor.h.
|
protected |
Definition at line 874 of file vtkXYPlotActor.h.
|
protected |
Definition at line 875 of file vtkXYPlotActor.h.
|
protected |
Definition at line 876 of file vtkXYPlotActor.h.
|
protected |
Definition at line 877 of file vtkXYPlotActor.h.
|
protected |
Definition at line 878 of file vtkXYPlotActor.h.
|
protected |
Definition at line 879 of file vtkXYPlotActor.h.
|
protected |
Definition at line 880 of file vtkXYPlotActor.h.
|
protected |
Definition at line 881 of file vtkXYPlotActor.h.
|
protected |
Definition at line 882 of file vtkXYPlotActor.h.
|
protected |
Definition at line 883 of file vtkXYPlotActor.h.
|
protected |
Definition at line 884 of file vtkXYPlotActor.h.
|
protected |
Definition at line 885 of file vtkXYPlotActor.h.
|
protected |
Definition at line 886 of file vtkXYPlotActor.h.
|
protected |
Definition at line 887 of file vtkXYPlotActor.h.
|
protected |
Definition at line 888 of file vtkXYPlotActor.h.
|
protected |
Definition at line 889 of file vtkXYPlotActor.h.
|
protected |
Definition at line 890 of file vtkXYPlotActor.h.
|
protected |
Definition at line 891 of file vtkXYPlotActor.h.
|
protected |
Definition at line 892 of file vtkXYPlotActor.h.
|
protected |
Definition at line 894 of file vtkXYPlotActor.h.
|
protected |
Definition at line 895 of file vtkXYPlotActor.h.
|
protected |
Definition at line 896 of file vtkXYPlotActor.h.
|
protected |
Definition at line 898 of file vtkXYPlotActor.h.
|
protected |
Definition at line 899 of file vtkXYPlotActor.h.
|
protected |
Definition at line 901 of file vtkXYPlotActor.h.
|
protected |
Definition at line 902 of file vtkXYPlotActor.h.
|
protected |
Definition at line 904 of file vtkXYPlotActor.h.
|
protected |
Definition at line 905 of file vtkXYPlotActor.h.
|
protected |
Definition at line 908 of file vtkXYPlotActor.h.
|
protected |
Definition at line 909 of file vtkXYPlotActor.h.
|
protected |
Definition at line 910 of file vtkXYPlotActor.h.
|
protected |
Definition at line 911 of file vtkXYPlotActor.h.
|
protected |
Definition at line 912 of file vtkXYPlotActor.h.
|
protected |
Definition at line 917 of file vtkXYPlotActor.h.
|
protected |
Definition at line 918 of file vtkXYPlotActor.h.
|
protected |
Definition at line 919 of file vtkXYPlotActor.h.
|
protected |
Definition at line 920 of file vtkXYPlotActor.h.
|
protected |
Definition at line 921 of file vtkXYPlotActor.h.
|
protected |
Definition at line 922 of file vtkXYPlotActor.h.
|
protected |
Definition at line 927 of file vtkXYPlotActor.h.
|
protected |
Definition at line 928 of file vtkXYPlotActor.h.
|
protected |
Definition at line 929 of file vtkXYPlotActor.h.
|
protected |
Definition at line 930 of file vtkXYPlotActor.h.
|
protected |
Definition at line 931 of file vtkXYPlotActor.h.
|
protected |
Definition at line 932 of file vtkXYPlotActor.h.
|
protected |
Definition at line 933 of file vtkXYPlotActor.h.
|
protected |
Definition at line 936 of file vtkXYPlotActor.h.
|
protected |
Definition at line 937 of file vtkXYPlotActor.h.
|
protected |
Definition at line 938 of file vtkXYPlotActor.h.
|
protected |
Definition at line 939 of file vtkXYPlotActor.h.
|
protected |
Definition at line 940 of file vtkXYPlotActor.h.
|
protected |
Definition at line 941 of file vtkXYPlotActor.h.
|
protected |
Definition at line 942 of file vtkXYPlotActor.h.
|
protected |
Definition at line 943 of file vtkXYPlotActor.h.
|
protected |
Definition at line 946 of file vtkXYPlotActor.h.
|
protected |
Definition at line 947 of file vtkXYPlotActor.h.
|
protected |
Definition at line 948 of file vtkXYPlotActor.h.
|
protected |
Definition at line 949 of file vtkXYPlotActor.h.
|
protected |
Definition at line 951 of file vtkXYPlotActor.h.
|
protected |
Definition at line 952 of file vtkXYPlotActor.h.
|
protected |
Definition at line 953 of file vtkXYPlotActor.h.
|
protected |
Definition at line 956 of file vtkXYPlotActor.h.
|
protected |
Definition at line 957 of file vtkXYPlotActor.h.
|
protected |
Definition at line 971 of file vtkXYPlotActor.h.
|
protected |
Definition at line 973 of file vtkXYPlotActor.h.
|
protected |
Definition at line 974 of file vtkXYPlotActor.h.
|
protected |
Definition at line 975 of file vtkXYPlotActor.h.