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

generate an x-y plot from input dataset(s) or field data More...

#include <vtkXYPlotActor.h>

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

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...
 
vtkXYPlotActorNewInstance () 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])
 
doubleGetPlotColor (int i)
 
void SetPlotSymbol (int i, vtkPolyData *input)
 
vtkPolyDataGetPlotSymbol (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...
 
vtkProperty2DGetChartBoxProperty ()
 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 vtkLegendBoxActorGetLegendActor ()
 Retrieve handles to the legend box and glyph source. More...
 
virtual vtkGlyphSource2DGetGlyphSource ()
 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...
 
vtkAxisActor2DGetXAxisActor2D ()
 Retrieve handles to the X and Y axis (so that you can set their text properties for example) More...
 
vtkAxisActor2DGetYAxisActor2D ()
 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 doubleGetXRange ()
 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 doubleGetYRange ()
 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 doubleGetTitlePosition ()
 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 doubleGetLegendPosition ()
 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 doubleGetLegendPosition2 ()
 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 vtkTextPropertyGetTitleTextProperty ()
 Set/Get the title text property. More...
 
virtual void SetAxisTitleTextProperty (vtkTextProperty *p)
 Set/Get the title text property of all axes. More...
 
virtual vtkTextPropertyGetAxisTitleTextProperty ()
 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 vtkTextPropertyGetAxisLabelTextProperty ()
 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 doubleGetPlotCoordinate ()
 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 doubleGetViewportCoordinate ()
 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...
 
vtkActor2DNewInstance () const
 
vtkTypeBool HasTranslucentPolygonalGeometry () override
 Does this prop have some translucent polygonal geometry? More...
 
vtkProperty2DGetProperty ()
 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 vtkCoordinateGetActualPositionCoordinate (void)
 Return the actual vtkCoordinate reference that the mapper should use to position the actor. More...
 
virtual vtkCoordinateGetActualPosition2Coordinate (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 vtkMapper2DGetMapper ()
 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 vtkCoordinateGetPositionCoordinate ()
 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 floatGetPosition ()
 Get the PositionCoordinate instance of vtkCoordinate. More...
 
virtual vtkCoordinateGetPosition2Coordinate ()
 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 floatGetPosition2 ()
 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
vtkPropNewInstance () 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 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 doubleGetBounds ()
 Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). 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 vtkMatrix4x4GetMatrix ()
 
virtual bool HasKeys (vtkInformation *requiredKeys)
 Tells if the prop has all the required keys. More...
 
virtual int RenderVolumetricGeometry (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 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 vtkAssemblyPathGetNextPath ()
 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 vtkInformationGetPropertyKeys ()
 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...
 
vtkObjectGetConsumer (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...
 
- 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...
 
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...
 
vtkCommandGetCommand (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 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...
 
void PrintRevisions (ostream &)
 Legacy. 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 vtkXYPlotActorSafeDownCast (vtkObjectBase *o)
 
static vtkXYPlotActorNew ()
 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 vtkActor2DSafeDownCast (vtkObjectBase *o)
 
static vtkActor2DNew ()
 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 vtkPropSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyGeneralTextureUnit ()
 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 vtkInformationDoubleVectorKeyGeneralTextureTransform ()
 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 vtkObjectNew ()
 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 vtkObjectBaseNew ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () 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, 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)
 
doubleTransformPoint (int pos[2], int pos2[2], double x[3], double xNew[3])
 
- Protected Member Functions inherited from vtkActor2D
 vtkActor2D ()
 
 ~vtkActor2D () override
 
- Protected Member Functions inherited from vtkProp
 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 CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkXYPlotActorConnections * InputConnectionHolder
 
char ** SelectedInputScalars
 
vtkIntArraySelectedInputScalarsComponent
 
vtkXYPlotActorConnections * DataObjectInputConnectionHolder
 
char * Title
 
char * XTitle
 
vtkTextActorYTitleActor
 
int XValues
 
int NumberOfXLabels
 
int NumberOfYLabels
 
vtkTypeBool Logx
 
char * XLabelFormat
 
char * YLabelFormat
 
double XRange [2]
 
double YRange [2]
 
double XComputedRange [2]
 
double YComputedRange [2]
 
int Border
 
vtkTypeBool PlotLines
 
vtkTypeBool PlotPoints
 
vtkTypeBool PlotCurveLines
 
vtkTypeBool PlotCurvePoints
 
vtkTypeBool ExchangeAxes
 
vtkTypeBool ReverseXAxis
 
vtkTypeBool ReverseYAxis
 
int AdjustXLabels
 
int AdjustYLabels
 
vtkTypeBool AdjustTitlePosition
 
double TitlePosition [2]
 
int AdjustTitlePositionMode
 
vtkTextMapperTitleMapper
 
vtkActor2DTitleActor
 
vtkTextPropertyTitleTextProperty
 
vtkAxisActor2DXAxis
 
vtkAxisActor2DYAxis
 
vtkTextPropertyAxisTitleTextProperty
 
vtkTextPropertyAxisLabelTextProperty
 
double ViewportCoordinate [2]
 
double PlotCoordinate [2]
 
int DataObjectPlotMode
 
vtkIntArrayXComponent
 
vtkIntArrayYComponent
 
vtkIntArrayLinesOn
 
vtkIntArrayPointsOn
 
int NumberOfInputs
 
vtkPolyData ** PlotData
 
vtkGlyph2D ** PlotGlyph
 
vtkAppendPolyData ** PlotAppend
 
vtkPolyDataMapper2D ** PlotMapper
 
vtkActor2D ** PlotActor
 
vtkTypeBool Legend
 
double LegendPosition [2]
 
double LegendPosition2 [2]
 
vtkLegendBoxActorLegendActor
 
vtkGlyphSource2DGlyphSource
 
vtkPlanesClipPlanes
 
double GlyphSize
 
vtkTypeBool ChartBox
 
vtkPolyDataChartBoxPolyData
 
vtkPolyDataMapper2DChartBoxMapper
 
vtkActor2DChartBoxActor
 
vtkTypeBool ChartBorder
 
vtkPolyDataChartBorderPolyData
 
vtkPolyDataMapper2DChartBorderMapper
 
vtkActor2DChartBorderActor
 
vtkTypeBool ShowReferenceXLine
 
vtkTypeBool ShowReferenceYLine
 
double ReferenceXValue
 
double ReferenceYValue
 
vtkPolyDataReferenceLinesPolyData
 
vtkPolyDataMapper2DReferenceLinesMapper
 
vtkActor2DReferenceLinesActor
 
int CachedSize [2]
 
vtkTimeStamp BuildTime
 
vtkSmartPointer< vtkDoubleArrayActiveCurve
 
int YAxisTitleSize
 
int ActiveCurveIndex
 
int PlotColorIndex
 
- Protected Attributes inherited from vtkActor2D
vtkMapper2DMapper
 
int LayerNumber
 
vtkProperty2DProperty
 
vtkCoordinatePositionCoordinate
 
vtkCoordinatePosition2Coordinate
 
- Protected Attributes inherited from vtkProp
vtkTypeBool Visibility
 
vtkTypeBool Pickable
 
vtkTypeBool Dragable
 
bool UseBounds
 
double AllocatedRenderTime
 
double EstimatedRenderTime
 
double SavedEstimatedRenderTime
 
double RenderTimeMultiplier
 
int NumberOfConsumers
 
vtkObject ** Consumers
 
vtkAssemblyPathsPaths
 
vtkInformationPropertyKeys
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

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.

Warning
If you are interested in plotting something other than scalar data, you can use the vtk data shuffling filters (e.g., vtkAttributeDataToFieldDataFilter and vtkFieldDataToAttributeDataFilter) to convert the data into scalar data and/or points.
Thanks:
This class was written by: Will Schroeder, Jim Miller, Charles Law, Sebastien Barre, Amy Squillacote, Ken Martin, Mathieu Malaterre, Jeff Lee, Francois Finet, Julien Bertel, Claire Guilbaud, and Philippe Pebay
See also
vtkActor2D vtkTextMapper vtkScalarBarActor vtkAxisActor2D vtkCubeAxesActor2D vtkAttributeDataToFieldDataFilter vtkFieldDataToAttributeDataFilter vtkTextProperty
Examples:
vtkXYPlotActor (Examples)
Tests:
vtkXYPlotActor (Tests)

Definition at line 133 of file vtkXYPlotActor.h.

Member Typedef Documentation

Definition at line 136 of file vtkXYPlotActor.h.

Member Enumeration Documentation

Enumerator
AlignLeft 
AlignRight 
AlignHCenter 
AlignTop 
AlignBottom 
AlignVCenter 
AlignAxisLeft 
AlignAxisRight 
AlignAxisHCenter 
AlignAxisTop 
AlignAxisBottom 
AlignAxisVCenter 

Definition at line 480 of file vtkXYPlotActor.h.

Constructor & Destructor Documentation

vtkXYPlotActor::vtkXYPlotActor ( )
protected
vtkXYPlotActor::~vtkXYPlotActor ( )
overrideprotected

Member Function Documentation

static vtkTypeBool vtkXYPlotActor::IsTypeOf ( const char *  type)
static
virtual vtkTypeBool vtkXYPlotActor::IsA ( const char *  name)
virtual

Return 1 if this class is the same type of (or a subclass of) the named class.

Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkActor2D.

static vtkXYPlotActor* vtkXYPlotActor::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkXYPlotActor::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkActor2D.

vtkXYPlotActor* vtkXYPlotActor::NewInstance ( ) const
void vtkXYPlotActor::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Methods invoked by print to print information about the object including superclasses.

Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

static vtkXYPlotActor* vtkXYPlotActor::New ( )
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.

void vtkXYPlotActor::AddDataSetInput ( vtkDataSet ds)
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 162 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.

void vtkXYPlotActor::AddDataSetInputConnection ( vtkAlgorithmOutput in)
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 164 of file vtkXYPlotActor.h.

void vtkXYPlotActor::RemoveDataSetInput ( vtkDataSet ds,
const char *  arrayName,
int  component 
)

Remove a dataset from the list of data to append.

void vtkXYPlotActor::RemoveDataSetInput ( vtkDataSet ds)
inline

Remove a dataset from the list of data to append.

Definition at line 172 of file vtkXYPlotActor.h.

void vtkXYPlotActor::RemoveDataSetInputConnection ( vtkAlgorithmOutput in,
const char *  arrayName,
int  component 
)

Remove a dataset from the list of data to append.

void vtkXYPlotActor::RemoveDataSetInputConnection ( vtkAlgorithmOutput in)
inline

Remove a dataset from the list of data to append.

Definition at line 174 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 void vtkXYPlotActor::SetXValues ( int  )
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 int vtkXYPlotActor::GetXValues ( )
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.)

void vtkXYPlotActor::SetXValuesToIndex ( )
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 209 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetXValuesToArcLength ( )
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 210 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetXValuesToNormalizedArcLength ( )
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 211 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetXValuesToValue ( )
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 213 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 void vtkXYPlotActor::SetDataObjectPlotMode ( int  )
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 int vtkXYPlotActor::GetDataObjectPlotMode ( )
virtual

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::SetDataObjectPlotModeToRows ( )
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 246 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetDataObjectPlotModeToColumns ( )
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 248 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 
)
void vtkXYPlotActor::SetPlotColor ( int  i,
const double  color[3] 
)
inline

Definition at line 286 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 vtkTypeBool vtkXYPlotActor::GetPlotCurvePoints ( )
virtual
virtual void vtkXYPlotActor::SetPlotCurvePoints ( vtkTypeBool  )
virtual
virtual void vtkXYPlotActor::PlotCurvePointsOn ( )
virtual
virtual void vtkXYPlotActor::PlotCurvePointsOff ( )
virtual
virtual vtkTypeBool vtkXYPlotActor::GetPlotCurveLines ( )
virtual
virtual void vtkXYPlotActor::SetPlotCurveLines ( vtkTypeBool  )
virtual
virtual void vtkXYPlotActor::PlotCurveLinesOn ( )
virtual
virtual void vtkXYPlotActor::PlotCurveLinesOff ( )
virtual
void vtkXYPlotActor::SetPlotLines ( int  i,
int   
)
int vtkXYPlotActor::GetPlotLines ( int  i)
void vtkXYPlotActor::SetPlotPoints ( int  i,
int   
)
int vtkXYPlotActor::GetPlotPoints ( int  i)
virtual void vtkXYPlotActor::SetExchangeAxes ( vtkTypeBool  )
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 vtkTypeBool vtkXYPlotActor::GetExchangeAxes ( )
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 void vtkXYPlotActor::ExchangeAxesOn ( )
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 void vtkXYPlotActor::ExchangeAxesOff ( )
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 void vtkXYPlotActor::SetReverseXAxis ( vtkTypeBool  )
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 vtkTypeBool vtkXYPlotActor::GetReverseXAxis ( )
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 void vtkXYPlotActor::ReverseXAxisOn ( )
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 void vtkXYPlotActor::ReverseXAxisOff ( )
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 void vtkXYPlotActor::SetReverseYAxis ( vtkTypeBool  )
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 vtkTypeBool vtkXYPlotActor::GetReverseYAxis ( )
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 void vtkXYPlotActor::ReverseYAxisOn ( )
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 void vtkXYPlotActor::ReverseYAxisOff ( )
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 vtkLegendBoxActor* vtkXYPlotActor::GetLegendActor ( )
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 vtkGlyphSource2D* vtkXYPlotActor::GetGlyphSource ( )
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 void vtkXYPlotActor::SetTitle ( const char *  )
virtual

Set/Get the title of the x-y plot.

virtual char* vtkXYPlotActor::GetTitle ( )
virtual

Set/Get the title of the x-y plot.

virtual void vtkXYPlotActor::SetXTitle ( const char *  )
virtual

Set/Get the title of the x axis.

virtual char* vtkXYPlotActor::GetXTitle ( )
virtual

Set/Get the title of the x axis.

virtual void vtkXYPlotActor::SetYTitle ( const char *  )
virtual

Set/Get the title of the y axis.

char* vtkXYPlotActor::GetYTitle ( )

Set/Get the title of the y axis.

vtkAxisActor2D* vtkXYPlotActor::GetXAxisActor2D ( )
inline

Retrieve handles to the X and Y axis (so that you can set their text properties for example)

Definition at line 384 of file vtkXYPlotActor.h.

vtkAxisActor2D* vtkXYPlotActor::GetYAxisActor2D ( )
inline

Retrieve handles to the X and Y axis (so that you can set their text properties for example)

Definition at line 388 of file vtkXYPlotActor.h.

virtual void vtkXYPlotActor::SetXRange ( double  ,
double   
)
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 double* vtkXYPlotActor::GetXRange ( )
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 void vtkXYPlotActor::GetXRange ( double  data[2])
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 void vtkXYPlotActor::SetYRange ( double  ,
double   
)
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 double* vtkXYPlotActor::GetYRange ( )
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 void vtkXYPlotActor::GetYRange ( double  data[2])
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::SetPlotRange ( double  xmin,
double  ymin,
double  xmax,
double  ymax 
)
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 407 of file vtkXYPlotActor.h.

virtual void vtkXYPlotActor::SetNumberOfXLabels ( int  )
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 int vtkXYPlotActor::GetNumberOfXLabels ( )
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 void vtkXYPlotActor::SetNumberOfYLabels ( int  )
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 int vtkXYPlotActor::GetNumberOfYLabels ( )
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.

void vtkXYPlotActor::SetNumberOfLabels ( int  num)
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 422 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 int vtkXYPlotActor::GetAdjustXLabels ( )
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 int vtkXYPlotActor::GetAdjustYLabels ( )
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 void vtkXYPlotActor::SetLegend ( vtkTypeBool  )
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 vtkTypeBool vtkXYPlotActor::GetLegend ( )
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 void vtkXYPlotActor::LegendOn ( )
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 void vtkXYPlotActor::LegendOff ( )
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 void vtkXYPlotActor::SetTitlePosition ( double  ,
double   
)
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 double* vtkXYPlotActor::GetTitlePosition ( )
virtual

Set/Get the position of the title.

This has no effect if AdjustTitlePosition is true.

virtual void vtkXYPlotActor::GetTitlePosition ( double ,
double  
)
virtual

Set/Get the position of the title.

This has no effect if AdjustTitlePosition is true.

virtual void vtkXYPlotActor::GetTitlePosition ( double  [2])
virtual

Set/Get the position of the title.

This has no effect if AdjustTitlePosition is true.

virtual void vtkXYPlotActor::SetAdjustTitlePosition ( vtkTypeBool  )
virtual

If true, the xyplot actor will adjust the position of the title automatically to be upper-middle.

Default is true.

virtual vtkTypeBool vtkXYPlotActor::GetAdjustTitlePosition ( )
virtual

If true, the xyplot actor will adjust the position of the title automatically to be upper-middle.

Default is true.

virtual void vtkXYPlotActor::AdjustTitlePositionOn ( )
virtual

If true, the xyplot actor will adjust the position of the title automatically to be upper-middle.

Default is true.

virtual void vtkXYPlotActor::AdjustTitlePositionOff ( )
virtual

If true, the xyplot actor will adjust the position of the title automatically to be upper-middle.

Default is true.

virtual void vtkXYPlotActor::SetAdjustTitlePositionMode ( int  )
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 int vtkXYPlotActor::GetAdjustTitlePositionMode ( )
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 void vtkXYPlotActor::SetLegendPosition ( double  ,
double   
)
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 double* vtkXYPlotActor::GetLegendPosition ( )
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 void vtkXYPlotActor::GetLegendPosition ( double ,
double  
)
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 void vtkXYPlotActor::GetLegendPosition ( double  [2])
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 void vtkXYPlotActor::SetLegendPosition2 ( double  ,
double   
)
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 double* vtkXYPlotActor::GetLegendPosition2 ( )
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 void vtkXYPlotActor::GetLegendPosition2 ( double ,
double  
)
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 void vtkXYPlotActor::GetLegendPosition2 ( double  [2])
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 void vtkXYPlotActor::SetTitleTextProperty ( vtkTextProperty p)
virtual

Set/Get the title text property.

virtual vtkTextProperty* vtkXYPlotActor::GetTitleTextProperty ( )
virtual

Set/Get the title text property.

virtual void vtkXYPlotActor::SetAxisTitleTextProperty ( vtkTextProperty p)
virtual

Set/Get the title text property of all axes.

Note that each axis can be controlled individually through the GetX/YAxisActor2D() methods.

virtual vtkTextProperty* vtkXYPlotActor::GetAxisTitleTextProperty ( )
virtual

Set/Get the title text property of all axes.

Note that each axis can be controlled individually through the GetX/YAxisActor2D() methods.

virtual void vtkXYPlotActor::SetAxisLabelTextProperty ( vtkTextProperty p)
virtual

Set/Get the labels text property of all axes.

Note that each axis can be controlled individually through the GetX/YAxisActor2D() methods.

virtual vtkTextProperty* vtkXYPlotActor::GetAxisLabelTextProperty ( )
virtual

Set/Get the labels text property of all axes.

Note that each axis can be controlled individually through the GetX/YAxisActor2D() methods.

virtual void vtkXYPlotActor::SetLogx ( vtkTypeBool  )
virtual

Enable/Disable plotting of Log of x-values.

virtual vtkTypeBool vtkXYPlotActor::GetLogx ( )
virtual

Enable/Disable plotting of Log of x-values.

virtual void vtkXYPlotActor::LogxOn ( )
virtual

Enable/Disable plotting of Log of x-values.

virtual void vtkXYPlotActor::LogxOff ( )
virtual

Enable/Disable plotting of Log of x-values.

virtual void vtkXYPlotActor::SetLabelFormat ( const char *  )
virtual

Set/Get the format with which to print the labels .

This sets both X and Y label formats. GetLabelFormat() returns X label format.

const char* vtkXYPlotActor::GetLabelFormat ( )
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 563 of file vtkXYPlotActor.h.

virtual void vtkXYPlotActor::SetXLabelFormat ( const char *  )
virtual

Set/Get the format with which to print the X label.

virtual char* vtkXYPlotActor::GetXLabelFormat ( )
virtual

Set/Get the format with which to print the X label.

virtual void vtkXYPlotActor::SetYLabelFormat ( const char *  )
virtual

Set/Get the format with which to print the Y label.

virtual char* vtkXYPlotActor::GetYLabelFormat ( )
virtual

Set/Get the format with which to print the Y label.

virtual void vtkXYPlotActor::SetBorder ( int  )
virtual

Set/Get the spacing between the plot window and the plot.

The value is specified in pixels.

virtual int vtkXYPlotActor::GetBorder ( )
virtual

Set/Get the spacing between the plot window and the plot.

The value is specified in pixels.

virtual vtkTypeBool vtkXYPlotActor::GetPlotPoints ( )
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 void vtkXYPlotActor::SetPlotPoints ( vtkTypeBool  )
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 void vtkXYPlotActor::PlotPointsOn ( )
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 void vtkXYPlotActor::PlotPointsOff ( )
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 vtkTypeBool vtkXYPlotActor::GetPlotLines ( )
virtual

Set/Get whether the lines are rendered.

The line width can be set in the property object.

virtual void vtkXYPlotActor::SetPlotLines ( vtkTypeBool  )
virtual

Set/Get whether the lines are rendered.

The line width can be set in the property object.

virtual void vtkXYPlotActor::PlotLinesOn ( )
virtual

Set/Get whether the lines are rendered.

The line width can be set in the property object.

virtual void vtkXYPlotActor::PlotLinesOff ( )
virtual

Set/Get whether the lines are rendered.

The line width can be set in the property object.

virtual void vtkXYPlotActor::SetGlyphSize ( double  )
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 double vtkXYPlotActor::GetGlyphSize ( )
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 void vtkXYPlotActor::SetPlotCoordinate ( double  ,
double   
)
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 double* vtkXYPlotActor::GetPlotCoordinate ( )
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 void vtkXYPlotActor::GetPlotCoordinate ( double ,
double  
)
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 void vtkXYPlotActor::GetPlotCoordinate ( double  [2])
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 void vtkXYPlotActor::SetViewportCoordinate ( double  ,
double   
)
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 double* vtkXYPlotActor::GetViewportCoordinate ( )
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 void vtkXYPlotActor::GetViewportCoordinate ( double ,
double  
)
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 void vtkXYPlotActor::GetViewportCoordinate ( double  [2])
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 void vtkXYPlotActor::SetChartBox ( vtkTypeBool  )
virtual

Set/Get the flag that controls whether a box will be drawn/filled corresponding to the chart box.

virtual vtkTypeBool vtkXYPlotActor::GetChartBox ( )
virtual

Set/Get the flag that controls whether a box will be drawn/filled corresponding to the chart box.

virtual void vtkXYPlotActor::ChartBoxOn ( )
virtual

Set/Get the flag that controls whether a box will be drawn/filled corresponding to the chart box.

virtual void vtkXYPlotActor::ChartBoxOff ( )
virtual

Set/Get the flag that controls whether a box will be drawn/filled corresponding to the chart box.

virtual void vtkXYPlotActor::SetChartBorder ( vtkTypeBool  )
virtual

Set/Get the flag that controls whether a box will be drawn/filled corresponding to the legend box.

virtual vtkTypeBool vtkXYPlotActor::GetChartBorder ( )
virtual

Set/Get the flag that controls whether a box will be drawn/filled corresponding to the legend box.

virtual void vtkXYPlotActor::ChartBorderOn ( )
virtual

Set/Get the flag that controls whether a box will be drawn/filled corresponding to the legend box.

virtual void vtkXYPlotActor::ChartBorderOff ( )
virtual

Set/Get the flag that controls whether a box will be drawn/filled corresponding to the legend box.

vtkProperty2D* vtkXYPlotActor::GetChartBoxProperty ( )
inline

Get the box vtkProperty2D.

Definition at line 688 of file vtkXYPlotActor.h.

virtual void vtkXYPlotActor::SetShowReferenceXLine ( vtkTypeBool  )
virtual

Set/Get if the X reference line is visible.

hidden by default

virtual vtkTypeBool vtkXYPlotActor::GetShowReferenceXLine ( )
virtual

Set/Get if the X reference line is visible.

hidden by default

virtual void vtkXYPlotActor::ShowReferenceXLineOn ( )
virtual

Set/Get if the X reference line is visible.

hidden by default

virtual void vtkXYPlotActor::ShowReferenceXLineOff ( )
virtual

Set/Get if the X reference line is visible.

hidden by default

virtual void vtkXYPlotActor::SetReferenceXValue ( double  )
virtual

Set/Get the value for the X reference line.

virtual double vtkXYPlotActor::GetReferenceXValue ( )
virtual

Set/Get the value for the X reference line.

virtual void vtkXYPlotActor::SetShowReferenceYLine ( vtkTypeBool  )
virtual

Set/Get if the Y reference line is visible.

hidden by default

virtual vtkTypeBool vtkXYPlotActor::GetShowReferenceYLine ( )
virtual

Set/Get if the Y reference line is visible.

hidden by default

virtual void vtkXYPlotActor::ShowReferenceYLineOn ( )
virtual

Set/Get if the Y reference line is visible.

hidden by default

virtual void vtkXYPlotActor::ShowReferenceYLineOff ( )
virtual

Set/Get if the Y reference line is visible.

hidden by default

virtual void vtkXYPlotActor::SetReferenceYValue ( double  )
virtual

Set/Get the value for the Y reference line.

virtual double vtkXYPlotActor::GetReferenceYValue ( )
virtual

Set/Get the value for the Y reference line.

vtkMTimeType vtkXYPlotActor::GetMTime ( )
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.

int vtkXYPlotActor::RenderOpaqueGeometry ( vtkViewport )
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.

int vtkXYPlotActor::RenderOverlay ( vtkViewport )
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.

int vtkXYPlotActor::RenderTranslucentPolygonalGeometry ( vtkViewport )
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 742 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::HasTranslucentPolygonalGeometry ( )
overridevirtual

Does this prop have some translucent polygonal geometry?

Reimplemented from vtkProp.

void vtkXYPlotActor::ReleaseGraphicsResources ( vtkWindow )
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 void vtkXYPlotActor::SetYTitlePosition ( int  )
virtual

Set/Get the position of the title of Y axis.

virtual int vtkXYPlotActor::GetYTitlePosition ( )
virtual

Set/Get the position of the title of Y axis.

void vtkXYPlotActor::SetYTitlePositionToTop ( )
inline

Set/Get the position of the title of Y axis.

Definition at line 771 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetYTitlePositionToHCenter ( )
inline

Set/Get the position of the title of Y axis.

Definition at line 775 of file vtkXYPlotActor.h.

void vtkXYPlotActor::SetYTitlePositionToVCenter ( )
inline

Set/Get the position of the title of Y axis.

Definition at line 779 of file vtkXYPlotActor.h.

virtual void vtkXYPlotActor::SetPlotGlyphType ( int  ,
int   
)
virtual

Set plot properties.

virtual void vtkXYPlotActor::SetLineWidth ( double  )
virtual

Set plot properties.

virtual void vtkXYPlotActor::AddUserCurvesPoint ( double  ,
double  ,
double   
)
virtual

Set plot properties.

virtual void vtkXYPlotActor::RemoveAllActiveCurves ( )
virtual

Set plot properties.

virtual void vtkXYPlotActor::SetLegendBorder ( int  )
virtual

Set legend properties.

virtual void vtkXYPlotActor::SetLegendBox ( int  )
virtual

Set legend properties.

virtual void vtkXYPlotActor::SetLegendUseBackground ( int  )
virtual

Set legend properties.

virtual void vtkXYPlotActor::SetLegendBackgroundColor ( double  ,
double  ,
double   
)
virtual

Set legend properties.

virtual void vtkXYPlotActor::SetTitleColor ( double  ,
double  ,
double   
)
virtual

Set title properties.

virtual void vtkXYPlotActor::SetTitleFontFamily ( int  )
virtual

Set title properties.

virtual void vtkXYPlotActor::SetTitleBold ( int  )
virtual

Set title properties.

virtual void vtkXYPlotActor::SetTitleItalic ( int  )
virtual

Set title properties.

virtual void vtkXYPlotActor::SetTitleShadow ( int  )
virtual

Set title properties.

virtual void vtkXYPlotActor::SetTitleFontSize ( int  )
virtual

Set title properties.

virtual void vtkXYPlotActor::SetTitleJustification ( int  )
virtual

Set title properties.

virtual void vtkXYPlotActor::SetTitleVerticalJustification ( int  )
virtual

Set title properties.

virtual void vtkXYPlotActor::SetXAxisColor ( double  ,
double  ,
double   
)
virtual

Set axes properties.

virtual void vtkXYPlotActor::SetYAxisColor ( double  ,
double  ,
double   
)
virtual

Set axes properties.

virtual void vtkXYPlotActor::SetAxisTitleColor ( double  ,
double  ,
double   
)
virtual

Set axis title properties.

virtual void vtkXYPlotActor::SetAxisTitleFontFamily ( int  )
virtual

Set axis title properties.

virtual void vtkXYPlotActor::SetAxisTitleBold ( int  )
virtual

Set axis title properties.

virtual void vtkXYPlotActor::SetAxisTitleItalic ( int  )
virtual

Set axis title properties.

virtual void vtkXYPlotActor::SetAxisTitleShadow ( int  )
virtual

Set axis title properties.

virtual void vtkXYPlotActor::SetAxisTitleFontSize ( int  )
virtual

Set axis title properties.

virtual void vtkXYPlotActor::SetAxisTitleJustification ( int  )
virtual

Set axis title properties.

virtual void vtkXYPlotActor::SetAxisTitleVerticalJustification ( int  )
virtual

Set axis title properties.

virtual void vtkXYPlotActor::SetAxisLabelColor ( double  ,
double  ,
double   
)
virtual

Set axis label properties.

virtual void vtkXYPlotActor::SetAxisLabelFontFamily ( int  )
virtual

Set axis label properties.

virtual void vtkXYPlotActor::SetAxisLabelBold ( int  )
virtual

Set axis label properties.

virtual void vtkXYPlotActor::SetAxisLabelItalic ( int  )
virtual

Set axis label properties.

virtual void vtkXYPlotActor::SetAxisLabelShadow ( int  )
virtual

Set axis label properties.

virtual void vtkXYPlotActor::SetAxisLabelFontSize ( int  )
virtual

Set axis label properties.

virtual void vtkXYPlotActor::SetAxisLabelJustification ( int  )
virtual

Set axis label properties.

virtual void vtkXYPlotActor::SetAxisLabelVerticalJustification ( int  )
virtual

Set axis label properties.

void vtkXYPlotActor::InitializeEntries ( )
protected
void vtkXYPlotActor::ComputeXRange ( double  range[2],
double lengths 
)
protected
void vtkXYPlotActor::ComputeYRange ( double  range[2])
protected
void vtkXYPlotActor::ComputeDORange ( double  xrange[2],
double  yrange[2],
double lengths 
)
protected
virtual void vtkXYPlotActor::CreatePlotData ( int pos,
int pos2,
double  xRange[2],
double  yRange[2],
double norms,
int  numDS,
int  numDO 
)
protectedvirtual
void vtkXYPlotActor::PlaceAxes ( vtkViewport viewport,
int size,
int  pos[2],
int  pos2[2] 
)
protected
void vtkXYPlotActor::GenerateClipPlanes ( int pos,
int pos2 
)
protected
double vtkXYPlotActor::ComputeGlyphScale ( int  i,
int pos,
int pos2 
)
protected
void vtkXYPlotActor::ClipPlotData ( int pos,
int pos2,
vtkPolyData pd 
)
protected
double* vtkXYPlotActor::TransformPoint ( int  pos[2],
int  pos2[2],
double  x[3],
double  xNew[3] 
)
protected

Member Data Documentation

vtkXYPlotActorConnections* vtkXYPlotActor::InputConnectionHolder
protected

Definition at line 859 of file vtkXYPlotActor.h.

char** vtkXYPlotActor::SelectedInputScalars
protected

Definition at line 860 of file vtkXYPlotActor.h.

vtkIntArray* vtkXYPlotActor::SelectedInputScalarsComponent
protected

Definition at line 861 of file vtkXYPlotActor.h.

vtkXYPlotActorConnections* vtkXYPlotActor::DataObjectInputConnectionHolder
protected

Definition at line 862 of file vtkXYPlotActor.h.

char* vtkXYPlotActor::Title
protected

Definition at line 863 of file vtkXYPlotActor.h.

char* vtkXYPlotActor::XTitle
protected

Definition at line 864 of file vtkXYPlotActor.h.

vtkTextActor* vtkXYPlotActor::YTitleActor
protected

Definition at line 865 of file vtkXYPlotActor.h.

int vtkXYPlotActor::XValues
protected

Definition at line 866 of file vtkXYPlotActor.h.

int vtkXYPlotActor::NumberOfXLabels
protected

Definition at line 867 of file vtkXYPlotActor.h.

int vtkXYPlotActor::NumberOfYLabels
protected

Definition at line 868 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::Logx
protected

Definition at line 869 of file vtkXYPlotActor.h.

char* vtkXYPlotActor::XLabelFormat
protected

Definition at line 870 of file vtkXYPlotActor.h.

char* vtkXYPlotActor::YLabelFormat
protected

Definition at line 871 of file vtkXYPlotActor.h.

double vtkXYPlotActor::XRange[2]
protected

Definition at line 872 of file vtkXYPlotActor.h.

double vtkXYPlotActor::YRange[2]
protected

Definition at line 873 of file vtkXYPlotActor.h.

double vtkXYPlotActor::XComputedRange[2]
protected

Definition at line 874 of file vtkXYPlotActor.h.

double vtkXYPlotActor::YComputedRange[2]
protected

Definition at line 875 of file vtkXYPlotActor.h.

int vtkXYPlotActor::Border
protected

Definition at line 876 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::PlotLines
protected

Definition at line 877 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::PlotPoints
protected

Definition at line 878 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::PlotCurveLines
protected

Definition at line 879 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::PlotCurvePoints
protected

Definition at line 880 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::ExchangeAxes
protected

Definition at line 881 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::ReverseXAxis
protected

Definition at line 882 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::ReverseYAxis
protected

Definition at line 883 of file vtkXYPlotActor.h.

int vtkXYPlotActor::AdjustXLabels
protected

Definition at line 884 of file vtkXYPlotActor.h.

int vtkXYPlotActor::AdjustYLabels
protected

Definition at line 885 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::AdjustTitlePosition
protected

Definition at line 886 of file vtkXYPlotActor.h.

double vtkXYPlotActor::TitlePosition[2]
protected

Definition at line 887 of file vtkXYPlotActor.h.

int vtkXYPlotActor::AdjustTitlePositionMode
protected

Definition at line 888 of file vtkXYPlotActor.h.

vtkTextMapper* vtkXYPlotActor::TitleMapper
protected

Definition at line 890 of file vtkXYPlotActor.h.

vtkActor2D* vtkXYPlotActor::TitleActor
protected

Definition at line 891 of file vtkXYPlotActor.h.

vtkTextProperty* vtkXYPlotActor::TitleTextProperty
protected

Definition at line 892 of file vtkXYPlotActor.h.

vtkAxisActor2D* vtkXYPlotActor::XAxis
protected

Definition at line 894 of file vtkXYPlotActor.h.

vtkAxisActor2D* vtkXYPlotActor::YAxis
protected

Definition at line 895 of file vtkXYPlotActor.h.

vtkTextProperty* vtkXYPlotActor::AxisTitleTextProperty
protected

Definition at line 897 of file vtkXYPlotActor.h.

vtkTextProperty* vtkXYPlotActor::AxisLabelTextProperty
protected

Definition at line 898 of file vtkXYPlotActor.h.

double vtkXYPlotActor::ViewportCoordinate[2]
protected

Definition at line 900 of file vtkXYPlotActor.h.

double vtkXYPlotActor::PlotCoordinate[2]
protected

Definition at line 901 of file vtkXYPlotActor.h.

int vtkXYPlotActor::DataObjectPlotMode
protected

Definition at line 904 of file vtkXYPlotActor.h.

vtkIntArray* vtkXYPlotActor::XComponent
protected

Definition at line 905 of file vtkXYPlotActor.h.

vtkIntArray* vtkXYPlotActor::YComponent
protected

Definition at line 906 of file vtkXYPlotActor.h.

vtkIntArray* vtkXYPlotActor::LinesOn
protected

Definition at line 907 of file vtkXYPlotActor.h.

vtkIntArray* vtkXYPlotActor::PointsOn
protected

Definition at line 908 of file vtkXYPlotActor.h.

int vtkXYPlotActor::NumberOfInputs
protected

Definition at line 913 of file vtkXYPlotActor.h.

vtkPolyData** vtkXYPlotActor::PlotData
protected

Definition at line 914 of file vtkXYPlotActor.h.

vtkGlyph2D** vtkXYPlotActor::PlotGlyph
protected

Definition at line 915 of file vtkXYPlotActor.h.

vtkAppendPolyData** vtkXYPlotActor::PlotAppend
protected

Definition at line 916 of file vtkXYPlotActor.h.

vtkPolyDataMapper2D** vtkXYPlotActor::PlotMapper
protected

Definition at line 917 of file vtkXYPlotActor.h.

vtkActor2D** vtkXYPlotActor::PlotActor
protected

Definition at line 918 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::Legend
protected

Definition at line 923 of file vtkXYPlotActor.h.

double vtkXYPlotActor::LegendPosition[2]
protected

Definition at line 924 of file vtkXYPlotActor.h.

double vtkXYPlotActor::LegendPosition2[2]
protected

Definition at line 925 of file vtkXYPlotActor.h.

vtkLegendBoxActor* vtkXYPlotActor::LegendActor
protected

Definition at line 926 of file vtkXYPlotActor.h.

vtkGlyphSource2D* vtkXYPlotActor::GlyphSource
protected

Definition at line 927 of file vtkXYPlotActor.h.

vtkPlanes* vtkXYPlotActor::ClipPlanes
protected

Definition at line 928 of file vtkXYPlotActor.h.

double vtkXYPlotActor::GlyphSize
protected

Definition at line 929 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::ChartBox
protected

Definition at line 932 of file vtkXYPlotActor.h.

vtkPolyData* vtkXYPlotActor::ChartBoxPolyData
protected

Definition at line 933 of file vtkXYPlotActor.h.

vtkPolyDataMapper2D* vtkXYPlotActor::ChartBoxMapper
protected

Definition at line 934 of file vtkXYPlotActor.h.

vtkActor2D* vtkXYPlotActor::ChartBoxActor
protected

Definition at line 935 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::ChartBorder
protected

Definition at line 936 of file vtkXYPlotActor.h.

vtkPolyData* vtkXYPlotActor::ChartBorderPolyData
protected

Definition at line 937 of file vtkXYPlotActor.h.

vtkPolyDataMapper2D* vtkXYPlotActor::ChartBorderMapper
protected

Definition at line 938 of file vtkXYPlotActor.h.

vtkActor2D* vtkXYPlotActor::ChartBorderActor
protected

Definition at line 939 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::ShowReferenceXLine
protected

Definition at line 942 of file vtkXYPlotActor.h.

vtkTypeBool vtkXYPlotActor::ShowReferenceYLine
protected

Definition at line 943 of file vtkXYPlotActor.h.

double vtkXYPlotActor::ReferenceXValue
protected

Definition at line 944 of file vtkXYPlotActor.h.

double vtkXYPlotActor::ReferenceYValue
protected

Definition at line 945 of file vtkXYPlotActor.h.

vtkPolyData* vtkXYPlotActor::ReferenceLinesPolyData
protected

Definition at line 947 of file vtkXYPlotActor.h.

vtkPolyDataMapper2D* vtkXYPlotActor::ReferenceLinesMapper
protected

Definition at line 948 of file vtkXYPlotActor.h.

vtkActor2D* vtkXYPlotActor::ReferenceLinesActor
protected

Definition at line 949 of file vtkXYPlotActor.h.

int vtkXYPlotActor::CachedSize[2]
protected

Definition at line 952 of file vtkXYPlotActor.h.

vtkTimeStamp vtkXYPlotActor::BuildTime
protected

Definition at line 953 of file vtkXYPlotActor.h.

vtkSmartPointer<vtkDoubleArray> vtkXYPlotActor::ActiveCurve
protected

Definition at line 968 of file vtkXYPlotActor.h.

int vtkXYPlotActor::YAxisTitleSize
protected

Definition at line 970 of file vtkXYPlotActor.h.

int vtkXYPlotActor::ActiveCurveIndex
protected

Definition at line 971 of file vtkXYPlotActor.h.

int vtkXYPlotActor::PlotColorIndex
protected

Definition at line 972 of file vtkXYPlotActor.h.


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