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 AddDataSetInput (vtkDataSet *ds, const char *arrayName, int component)
 Add a dataset to the list of data to append. More...
 
void AddDataSetInput (vtkDataSet *ds)
 
void AddDataSetInputConnection (vtkAlgorithmOutput *in, const char *arrayName, int component)
 
void AddDataSetInputConnection (vtkAlgorithmOutput *in)
 
void RemoveDataSetInput (vtkDataSet *ds, const char *arrayName, int component)
 Remove a dataset from the list of data to append. More...
 
void RemoveDataSetInput (vtkDataSet *ds)
 
void RemoveDataSetInputConnection (vtkAlgorithmOutput *in, const char *arrayName, int component)
 
void RemoveDataSetInputConnection (vtkAlgorithmOutput *in)
 
void RemoveAllDataSetInputConnections ()
 This removes all of the data set inputs, but does not change the data object inputs. 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)
 
virtual void SetXValues (int)
 Specify how the independent (x) variable is computed from the points. More...
 
virtual int GetXValues ()
 
void SetXValuesToIndex ()
 
void SetXValuesToArcLength ()
 
void SetXValuesToNormalizedArcLength ()
 
void SetXValuesToValue ()
 
const char * GetXValuesAsString ()
 
void AddDataObjectInput (vtkDataObject *in)
 Add a data object to the list of data to display. More...
 
void AddDataObjectInputConnection (vtkAlgorithmOutput *alg)
 
void RemoveDataObjectInputConnection (vtkAlgorithmOutput *aout)
 Remove a dataset from the list of data to display. More...
 
void RemoveDataObjectInput (vtkDataObject *in)
 
virtual void SetDataObjectPlotMode (int)
 Indicate whether to plot rows or columns. More...
 
virtual int GetDataObjectPlotMode ()
 
void SetDataObjectPlotModeToRows ()
 
void SetDataObjectPlotModeToColumns ()
 
const char * GetDataObjectPlotModeAsString ()
 
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)
 
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)
 
void SetPlotColor (int i, double r, double g, double b)
 
void SetPlotColor (int i, const double color[3])
 
double * GetPlotColor (int i)
 
void SetPlotSymbol (int i, vtkPolyData *input)
 
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)
 
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 ()
 
virtual void ExchangeAxesOn ()
 
virtual void ExchangeAxesOff ()
 
virtual void SetReverseXAxis (vtkTypeBool)
 Normally the x-axis is plotted from minimum to maximum. More...
 
virtual vtkTypeBool GetReverseXAxis ()
 
virtual void ReverseXAxisOn ()
 
virtual void ReverseXAxisOff ()
 
virtual void SetReverseYAxis (vtkTypeBool)
 Normally the y-axis is plotted from minimum to maximum. More...
 
virtual vtkTypeBool GetReverseYAxis ()
 
virtual void ReverseYAxisOn ()
 
virtual void ReverseYAxisOff ()
 
virtual vtkLegendBoxActorGetLegendActor ()
 Retrieve handles to the legend box and glyph source. More...
 
virtual vtkGlyphSource2DGetGlyphSource ()
 
virtual void SetTitle (const char *)
 Set/Get the title of the x-y plot. More...
 
virtual char * GetTitle ()
 
virtual void SetXTitle (const char *)
 Set/Get the title of the x axis. More...
 
virtual char * GetXTitle ()
 
virtual void SetYTitle (const char *)
 Set/Get the title of the y axis. More...
 
char * GetYTitle ()
 
vtkAxisActor2DGetXAxisActor2D ()
 Retrieve handles to the X and Y axis (so that you can set their text properties for example) More...
 
vtkAxisActor2DGetYAxisActor2D ()
 
virtual void SetXRange (double, double)
 Set the plot range (range of independent and dependent variables) to plot. More...
 
void SetXRange (double[2])
 
virtual double * GetXRange ()
 
virtual void GetXRange (double data[2])
 
virtual void SetYRange (double, double)
 
void SetYRange (double[2])
 
virtual double * GetYRange ()
 
virtual void GetYRange (double data[2])
 
void SetPlotRange (double xmin, double ymin, double xmax, double ymax)
 
virtual void SetNumberOfXLabels (int)
 Set/Get the number of annotation labels to show along the x and y axes. More...
 
virtual int GetNumberOfXLabels ()
 
virtual void SetNumberOfYLabels (int)
 
virtual int GetNumberOfYLabels ()
 
void SetNumberOfLabels (int num)
 
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 ()
 
void SetAdjustYLabels (int adjust)
 
virtual int GetAdjustYLabels ()
 
void SetNumberOfXMinorTicks (int num)
 Set/Get the number of minor ticks in X or Y. More...
 
int GetNumberOfXMinorTicks ()
 
void SetNumberOfYMinorTicks (int num)
 
int GetNumberOfYMinorTicks ()
 
virtual void SetLegend (vtkTypeBool)
 Enable/Disable the creation of a legend. More...
 
virtual vtkTypeBool GetLegend ()
 
virtual void LegendOn ()
 
virtual void LegendOff ()
 
virtual void SetTitlePosition (double, double)
 Set/Get the position of the title. More...
 
void SetTitlePosition (double[2])
 
virtual double * GetTitlePosition ()
 
virtual void GetTitlePosition (double &, double &)
 
virtual void GetTitlePosition (double[2])
 
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 ()
 
virtual void AdjustTitlePositionOn ()
 
virtual void AdjustTitlePositionOff ()
 
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 ()
 
virtual void SetLegendPosition (double, double)
 Use these methods to control the position of the legend. More...
 
void SetLegendPosition (double[2])
 
virtual double * GetLegendPosition ()
 
virtual void GetLegendPosition (double &, double &)
 
virtual void GetLegendPosition (double[2])
 
virtual void SetLegendPosition2 (double, double)
 
void SetLegendPosition2 (double[2])
 
virtual double * GetLegendPosition2 ()
 
virtual void GetLegendPosition2 (double &, double &)
 
virtual void GetLegendPosition2 (double[2])
 
virtual void SetTitleTextProperty (vtkTextProperty *p)
 Set/Get the title text property. More...
 
virtual vtkTextPropertyGetTitleTextProperty ()
 
virtual void SetAxisTitleTextProperty (vtkTextProperty *p)
 Set/Get the title text property of all axes. More...
 
virtual vtkTextPropertyGetAxisTitleTextProperty ()
 
virtual void SetAxisLabelTextProperty (vtkTextProperty *p)
 Set/Get the labels text property of all axes. More...
 
virtual vtkTextPropertyGetAxisLabelTextProperty ()
 
virtual void SetLogx (vtkTypeBool)
 Enable/Disable plotting of Log of x-values. More...
 
virtual vtkTypeBool GetLogx ()
 
virtual void LogxOn ()
 
virtual void LogxOff ()
 
virtual void SetLabelFormat (const char *)
 Set/Get the format with which to print the labels . More...
 
const char * GetLabelFormat ()
 
virtual void SetXLabelFormat (const char *)
 Set/Get the format with which to print the X label. More...
 
virtual char * GetXLabelFormat ()
 
virtual void SetYLabelFormat (const char *)
 Set/Get the format with which to print the Y label. More...
 
virtual char * GetYLabelFormat ()
 
virtual void SetBorder (int)
 Set/Get the spacing between the plot window and the plot. More...
 
virtual int GetBorder ()
 
virtual vtkTypeBool GetPlotPoints ()
 Set/Get whether the points are rendered. More...
 
virtual void SetPlotPoints (vtkTypeBool)
 
virtual void PlotPointsOn ()
 
virtual void PlotPointsOff ()
 
virtual vtkTypeBool GetPlotLines ()
 Set/Get whether the lines are rendered. More...
 
virtual void SetPlotLines (vtkTypeBool)
 
virtual void PlotLinesOn ()
 
virtual void PlotLinesOff ()
 
virtual void SetGlyphSize (double)
 Set/Get the factor that controls how big glyphs are in the plot. More...
 
virtual double GetGlyphSize ()
 
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 ViewportToPlotCoordinate (vtkViewport *viewport)
 An alternate form of ViewportToPlotCoordinate() above. More...
 
virtual void SetPlotCoordinate (double, double)
 
void SetPlotCoordinate (double[2])
 
virtual double * GetPlotCoordinate ()
 
virtual void GetPlotCoordinate (double &, double &)
 
virtual void GetPlotCoordinate (double[2])
 
void PlotToViewportCoordinate (vtkViewport *viewport, double &u, double &v)
 Given a plot coordinate, return the viewpoint position. More...
 
void PlotToViewportCoordinate (vtkViewport *viewport)
 An alternate form of PlotToViewportCoordinate() above. More...
 
virtual void SetViewportCoordinate (double, double)
 
void SetViewportCoordinate (double[2])
 
virtual double * GetViewportCoordinate ()
 
virtual void GetViewportCoordinate (double &, double &)
 
virtual void GetViewportCoordinate (double[2])
 
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...
 
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 ()
 
virtual void ChartBoxOn ()
 
virtual void ChartBoxOff ()
 
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 ()
 
virtual void ChartBorderOn ()
 
virtual void ChartBorderOff ()
 
vtkProperty2DGetChartBoxProperty ()
 Get the box vtkProperty2D. More...
 
virtual void SetShowReferenceXLine (vtkTypeBool)
 Set/Get if the X reference line is visible. More...
 
virtual vtkTypeBool GetShowReferenceXLine ()
 
virtual void ShowReferenceXLineOn ()
 
virtual void ShowReferenceXLineOff ()
 
virtual void SetReferenceXValue (double)
 Set/Get the value for the X reference line. More...
 
virtual double GetReferenceXValue ()
 
virtual void SetShowReferenceYLine (vtkTypeBool)
 Set/Get if the Y reference line is visible. More...
 
virtual vtkTypeBool GetShowReferenceYLine ()
 
virtual void ShowReferenceYLineOn ()
 
virtual void ShowReferenceYLineOff ()
 
virtual void SetReferenceYValue (double)
 Set/Get the value for the Y reference line. More...
 
virtual double GetReferenceYValue ()
 
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...
 
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
 
int RenderTranslucentPolygonalGeometry (vtkViewport *) override
 
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 SetXTitlePosition (double position)
 Set/Get the position of the title of X axis. More...
 
double GetXTitlePosition ()
 
virtual void SetYTitlePosition (int)
 Set/Get the position of the title of Y axis. More...
 
virtual int GetYTitlePosition ()
 
void SetYTitlePositionToTop ()
 
void SetYTitlePositionToHCenter ()
 
void SetYTitlePositionToVCenter ()
 
virtual void SetPlotGlyphType (int, int)
 Set plot properties. More...
 
virtual void SetLineWidth (double)
 
virtual void AddUserCurvesPoint (double, double, double)
 
virtual void RemoveAllActiveCurves ()
 
virtual void SetLegendBorder (int)
 Set legend properties. More...
 
virtual void SetLegendBox (int)
 
virtual void SetLegendUseBackground (int)
 
virtual void SetLegendBackgroundColor (double, double, double)
 
virtual void SetTitleColor (double, double, double)
 Set title properties. More...
 
virtual void SetTitleFontFamily (int)
 
virtual void SetTitleBold (int)
 
virtual void SetTitleItalic (int)
 
virtual void SetTitleShadow (int)
 
virtual void SetTitleFontSize (int)
 
virtual void SetTitleJustification (int)
 
virtual void SetTitleVerticalJustification (int)
 
virtual void SetXAxisColor (double, double, double)
 Set axes properties. More...
 
virtual void SetYAxisColor (double, double, double)
 
virtual void SetAxisTitleColor (double, double, double)
 Set axis title properties. More...
 
virtual void SetAxisTitleFontFamily (int)
 
virtual void SetAxisTitleBold (int)
 
virtual void SetAxisTitleItalic (int)
 
virtual void SetAxisTitleShadow (int)
 
virtual void SetAxisTitleFontSize (int)
 
virtual void SetAxisTitleJustification (int)
 
virtual void SetAxisTitleVerticalJustification (int)
 
virtual void SetAxisLabelColor (double, double, double)
 Set axis label properties. More...
 
virtual void SetAxisLabelFontFamily (int)
 
virtual void SetAxisLabelBold (int)
 
virtual void SetAxisLabelItalic (int)
 
virtual void SetAxisLabelShadow (int)
 
virtual void SetAxisLabelFontSize (int)
 
virtual void SetAxisLabelJustification (int)
 
virtual void SetAxisLabelVerticalJustification (int)
 
- 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
 
int RenderOverlay (vtkViewport *viewport) override
 Support the standard render methods. More...
 
int RenderOpaqueGeometry (vtkViewport *viewport) override
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS All concrete subclasses must be able to render themselves. More...
 
int RenderTranslucentPolygonalGeometry (vtkViewport *viewport) override
 
vtkTypeBool HasTranslucentPolygonalGeometry () override
 Does this prop have some translucent polygonal geometry? More...
 
virtual void SetMapper (vtkMapper2D *mapper)
 Set/Get the vtkMapper2D which defines the data to be drawn. More...
 
virtual vtkMapper2DGetMapper ()
 
virtual void SetLayerNumber (int)
 Set/Get the layer number in the overlay planes into which to render. More...
 
virtual int GetLayerNumber ()
 
vtkProperty2DGetProperty ()
 Returns this actor's vtkProperty2D. More...
 
virtual void SetProperty (vtkProperty2D *)
 Set this vtkProp's vtkProperty2D. More...
 
virtual vtkCoordinateGetPositionCoordinate ()
 Get the PositionCoordinate instance of vtkCoordinate. More...
 
virtual void SetPosition (float x[2])
 
virtual void SetPosition (float x, float y)
 
virtual float * GetPosition ()
 
void SetDisplayPosition (int, int)
 Set the Prop2D's position in display coordinates. More...
 
virtual vtkCoordinateGetPosition2Coordinate ()
 Access the Position2 instance variable. More...
 
virtual void SetPosition2 (float x[2])
 
virtual void SetPosition2 (float x, float y)
 
virtual float * GetPosition2 ()
 
void SetWidth (double w)
 Set/Get the height and width of the Actor2D. More...
 
double GetWidth ()
 
void SetHeight (double h)
 
double GetHeight ()
 
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...
 
- 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 SetVisibility (vtkTypeBool)
 Set/Get visibility of this vtkProp. More...
 
virtual vtkTypeBool GetVisibility ()
 
virtual void VisibilityOn ()
 
virtual void VisibilityOff ()
 
virtual void SetPickable (vtkTypeBool)
 Set/Get the pickable instance variable. More...
 
virtual vtkTypeBool GetPickable ()
 
virtual void PickableOn ()
 
virtual void PickableOff ()
 
virtual void Pick ()
 Method fires PickEvent if the prop is picked. More...
 
virtual void SetDragable (vtkTypeBool)
 Set/Get the value of the dragable instance variable. More...
 
virtual vtkTypeBool GetDragable ()
 
virtual void DragableOn ()
 
virtual void DragableOff ()
 
virtual vtkMTimeType GetRedrawMTime ()
 Return the mtime of anything that would cause the rendered image to appear differently. 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 ()
 
virtual void UseBoundsOn ()
 
virtual void UseBoundsOff ()
 
virtual double * GetBounds ()
 Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). More...
 
virtual void InitPathTraversal ()
 vtkProp and its subclasses can be picked by subclasses of vtkAbstractPicker (e.g., vtkPropPicker). More...
 
virtual vtkAssemblyPathGetNextPath ()
 
virtual int GetNumberOfPaths ()
 
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 vtkInformationGetPropertyKeys ()
 Set/Get property keys. More...
 
virtual void SetPropertyKeys (vtkInformation *keys)
 
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 vtkTypeBool HasOpaqueGeometry ()
 WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THESE METHODS OUTSIDE OF THE RENDERING PROCESS Does this prop have some opaque geometry? This method is called during the rendering process to know if there is some opaque geometry. More...
 
virtual 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...
 
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...
 
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 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)
 
vtkObjectGetConsumer (int i)
 
int IsConsumer (vtkObject *c)
 
virtual void SetShaderProperty (vtkShaderProperty *property)
 Set/Get the shader property. More...
 
virtual vtkShaderPropertyGetShaderProperty ()
 
virtual bool IsRenderingTranslucentPolygonalGeometry ()
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 Turn debugging output on. More...
 
virtual void DebugOff ()
 Turn debugging output off. More...
 
bool GetDebug ()
 Get the value of the debug flag. More...
 
void SetDebug (bool debugFlag)
 Set the value of the debug flag. More...
 
virtual void Modified ()
 Update the modification time for this object. More...
 
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)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
vtkTypeBool HasObserver (unsigned long event, vtkCommand *)
 
vtkTypeBool HasObserver (const char *event, vtkCommand *)
 
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)
 
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)
 
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)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
- 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 PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
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...
 

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 ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- 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)
 
double * TransformPoint (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 ()
 
- 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
 
vtkShaderPropertyShaderProperty
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
std::atomic< int32_t > 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

Definition at line 127 of file vtkXYPlotActor.h.

Member Typedef Documentation

◆ Superclass

Definition at line 130 of file vtkXYPlotActor.h.

Member Enumeration Documentation

◆ Alignment

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

Definition at line 476 of file vtkXYPlotActor.h.

Constructor & Destructor Documentation

◆ vtkXYPlotActor()

vtkXYPlotActor::vtkXYPlotActor ( )
protected

◆ ~vtkXYPlotActor()

vtkXYPlotActor::~vtkXYPlotActor ( )
overrideprotected

Member Function Documentation

◆ IsTypeOf()

static vtkTypeBool vtkXYPlotActor::IsTypeOf ( const char *  type)
static

◆ IsA()

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.

◆ SafeDownCast()

static vtkXYPlotActor* vtkXYPlotActor::SafeDownCast ( vtkObjectBase o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkXYPlotActor::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkActor2D.

◆ NewInstance()

vtkXYPlotActor* vtkXYPlotActor::NewInstance ( ) const

◆ PrintSelf()

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.

◆ New()

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.

◆ AddDataSetInput() [1/2]

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.

◆ AddDataSetInput() [2/2]

void vtkXYPlotActor::AddDataSetInput ( vtkDataSet ds)
inline

Definition at line 156 of file vtkXYPlotActor.h.

◆ AddDataSetInputConnection() [1/2]

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

◆ AddDataSetInputConnection() [2/2]

void vtkXYPlotActor::AddDataSetInputConnection ( vtkAlgorithmOutput in)
inline

Definition at line 158 of file vtkXYPlotActor.h.

◆ RemoveDataSetInput() [1/2]

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

Remove a dataset from the list of data to append.

◆ RemoveDataSetInput() [2/2]

void vtkXYPlotActor::RemoveDataSetInput ( vtkDataSet ds)
inline

Definition at line 169 of file vtkXYPlotActor.h.

◆ RemoveDataSetInputConnection() [1/2]

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

◆ RemoveDataSetInputConnection() [2/2]

void vtkXYPlotActor::RemoveDataSetInputConnection ( vtkAlgorithmOutput in)
inline

Definition at line 171 of file vtkXYPlotActor.h.

◆ RemoveAllDataSetInputConnections()

void vtkXYPlotActor::RemoveAllDataSetInputConnections ( )

This removes all of the data set inputs, but does not change the data object inputs.

◆ SetPointComponent()

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).

◆ GetPointComponent()

int vtkXYPlotActor::GetPointComponent ( int  i)

◆ SetXValues()

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.)

◆ GetXValues()

virtual int vtkXYPlotActor::GetXValues ( )
virtual

◆ SetXValuesToIndex()

void vtkXYPlotActor::SetXValuesToIndex ( )
inline

Definition at line 206 of file vtkXYPlotActor.h.

◆ SetXValuesToArcLength()

void vtkXYPlotActor::SetXValuesToArcLength ( )
inline

Definition at line 207 of file vtkXYPlotActor.h.

◆ SetXValuesToNormalizedArcLength()

void vtkXYPlotActor::SetXValuesToNormalizedArcLength ( )
inline

Definition at line 208 of file vtkXYPlotActor.h.

◆ SetXValuesToValue()

void vtkXYPlotActor::SetXValuesToValue ( )
inline

Definition at line 209 of file vtkXYPlotActor.h.

◆ GetXValuesAsString()

const char* vtkXYPlotActor::GetXValuesAsString ( )

◆ AddDataObjectInput()

void vtkXYPlotActor::AddDataObjectInput ( vtkDataObject in)

Add a data object to the list of data to display.

◆ AddDataObjectInputConnection()

void vtkXYPlotActor::AddDataObjectInputConnection ( vtkAlgorithmOutput alg)

◆ RemoveDataObjectInputConnection()

void vtkXYPlotActor::RemoveDataObjectInputConnection ( vtkAlgorithmOutput aout)

Remove a dataset from the list of data to display.

◆ RemoveDataObjectInput()

void vtkXYPlotActor::RemoveDataObjectInput ( vtkDataObject in)

◆ SetDataObjectPlotMode()

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).

◆ GetDataObjectPlotMode()

virtual int vtkXYPlotActor::GetDataObjectPlotMode ( )
virtual

◆ SetDataObjectPlotModeToRows()

void vtkXYPlotActor::SetDataObjectPlotModeToRows ( )
inline

Definition at line 242 of file vtkXYPlotActor.h.

◆ SetDataObjectPlotModeToColumns()

void vtkXYPlotActor::SetDataObjectPlotModeToColumns ( )
inline

Definition at line 243 of file vtkXYPlotActor.h.

◆ GetDataObjectPlotModeAsString()

const char* vtkXYPlotActor::GetDataObjectPlotModeAsString ( )

◆ SetDataObjectXComponent()

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.

◆ GetDataObjectXComponent()

int vtkXYPlotActor::GetDataObjectXComponent ( int  i)

◆ SetDataObjectYComponent()

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.

◆ GetDataObjectYComponent()

int vtkXYPlotActor::GetDataObjectYComponent ( int  i)

◆ SetPlotColor() [1/2]

void vtkXYPlotActor::SetPlotColor ( int  i,
double  r,
double  g,
double  b 
)

◆ SetPlotColor() [2/2]

void vtkXYPlotActor::SetPlotColor ( int  i,
const double  color[3] 
)
inline

Definition at line 280 of file vtkXYPlotActor.h.

◆ GetPlotColor()

double* vtkXYPlotActor::GetPlotColor ( int  i)

◆ SetPlotSymbol()

void vtkXYPlotActor::SetPlotSymbol ( int  i,
vtkPolyData input 
)

◆ GetPlotSymbol()

vtkPolyData* vtkXYPlotActor::GetPlotSymbol ( int  i)

◆ SetPlotLabel()

void vtkXYPlotActor::SetPlotLabel ( int  i,
const char *  label 
)

◆ GetPlotLabel()

const char* vtkXYPlotActor::GetPlotLabel ( int  i)

◆ GetPlotCurvePoints()

virtual vtkTypeBool vtkXYPlotActor::GetPlotCurvePoints ( )
virtual

◆ SetPlotCurvePoints()

virtual void vtkXYPlotActor::SetPlotCurvePoints ( vtkTypeBool  )
virtual

◆ PlotCurvePointsOn()

virtual void vtkXYPlotActor::PlotCurvePointsOn ( )
virtual

◆ PlotCurvePointsOff()

virtual void vtkXYPlotActor::PlotCurvePointsOff ( )
virtual

◆ GetPlotCurveLines()

virtual vtkTypeBool vtkXYPlotActor::GetPlotCurveLines ( )
virtual

◆ SetPlotCurveLines()

virtual void vtkXYPlotActor::SetPlotCurveLines ( vtkTypeBool  )
virtual

◆ PlotCurveLinesOn()

virtual void vtkXYPlotActor::PlotCurveLinesOn ( )
virtual

◆ PlotCurveLinesOff()

virtual void vtkXYPlotActor::PlotCurveLinesOff ( )
virtual

◆ SetPlotLines() [1/2]

void vtkXYPlotActor::SetPlotLines ( int  i,
int   
)

◆ GetPlotLines() [1/2]

int vtkXYPlotActor::GetPlotLines ( int  i)

◆ SetPlotPoints() [1/2]

void vtkXYPlotActor::SetPlotPoints ( int  i,
int   
)

◆ GetPlotPoints() [1/2]

int vtkXYPlotActor::GetPlotPoints ( int  i)

◆ SetExchangeAxes()

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.

◆ GetExchangeAxes()

virtual vtkTypeBool vtkXYPlotActor::GetExchangeAxes ( )
virtual

◆ ExchangeAxesOn()

virtual void vtkXYPlotActor::ExchangeAxesOn ( )
virtual

◆ ExchangeAxesOff()

virtual void vtkXYPlotActor::ExchangeAxesOff ( )
virtual

◆ SetReverseXAxis()

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.

◆ GetReverseXAxis()

virtual vtkTypeBool vtkXYPlotActor::GetReverseXAxis ( )
virtual

◆ ReverseXAxisOn()

virtual void vtkXYPlotActor::ReverseXAxisOn ( )
virtual

◆ ReverseXAxisOff()

virtual void vtkXYPlotActor::ReverseXAxisOff ( )
virtual

◆ SetReverseYAxis()

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.

◆ GetReverseYAxis()

virtual vtkTypeBool vtkXYPlotActor::GetReverseYAxis ( )
virtual

◆ ReverseYAxisOn()

virtual void vtkXYPlotActor::ReverseYAxisOn ( )
virtual

◆ ReverseYAxisOff()

virtual void vtkXYPlotActor::ReverseYAxisOff ( )
virtual

◆ GetLegendActor()

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.)

◆ GetGlyphSource()

virtual vtkGlyphSource2D* vtkXYPlotActor::GetGlyphSource ( )
virtual

◆ SetTitle()

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

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

◆ GetTitle()

virtual char* vtkXYPlotActor::GetTitle ( )
virtual

◆ SetXTitle()

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

Set/Get the title of the x axis.

◆ GetXTitle()

virtual char* vtkXYPlotActor::GetXTitle ( )
virtual

◆ SetYTitle()

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

Set/Get the title of the y axis.

◆ GetYTitle()

char* vtkXYPlotActor::GetYTitle ( )

◆ GetXAxisActor2D()

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 380 of file vtkXYPlotActor.h.

◆ GetYAxisActor2D()

vtkAxisActor2D* vtkXYPlotActor::GetYAxisActor2D ( )
inline

Definition at line 381 of file vtkXYPlotActor.h.

◆ SetXRange() [1/2]

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).

◆ SetXRange() [2/2]

void vtkXYPlotActor::SetXRange ( double  [2])

◆ GetXRange() [1/2]

virtual double* vtkXYPlotActor::GetXRange ( )
virtual

◆ GetXRange() [2/2]

virtual void vtkXYPlotActor::GetXRange ( double  data[2])
virtual

◆ SetYRange() [1/2]

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

◆ SetYRange() [2/2]

void vtkXYPlotActor::SetYRange ( double  [2])

◆ GetYRange() [1/2]

virtual double* vtkXYPlotActor::GetYRange ( )
virtual

◆ GetYRange() [2/2]

virtual void vtkXYPlotActor::GetYRange ( double  data[2])
virtual

◆ SetPlotRange()

void vtkXYPlotActor::SetPlotRange ( double  xmin,
double  ymin,
double  xmax,
double  ymax 
)
inline

Definition at line 397 of file vtkXYPlotActor.h.

◆ SetNumberOfXLabels()

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.

◆ GetNumberOfXLabels()

virtual int vtkXYPlotActor::GetNumberOfXLabels ( )
virtual

◆ SetNumberOfYLabels()

virtual void vtkXYPlotActor::SetNumberOfYLabels ( int  )
virtual

◆ GetNumberOfYLabels()

virtual int vtkXYPlotActor::GetNumberOfYLabels ( )
virtual

◆ SetNumberOfLabels()

void vtkXYPlotActor::SetNumberOfLabels ( int  num)
inline

Definition at line 415 of file vtkXYPlotActor.h.

◆ SetAdjustXLabels()

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.

◆ GetAdjustXLabels()

virtual int vtkXYPlotActor::GetAdjustXLabels ( )
virtual

◆ SetAdjustYLabels()

void vtkXYPlotActor::SetAdjustYLabels ( int  adjust)

◆ GetAdjustYLabels()

virtual int vtkXYPlotActor::GetAdjustYLabels ( )
virtual

◆ SetNumberOfXMinorTicks()

void vtkXYPlotActor::SetNumberOfXMinorTicks ( int  num)

Set/Get the number of minor ticks in X or Y.

◆ GetNumberOfXMinorTicks()

int vtkXYPlotActor::GetNumberOfXMinorTicks ( )

◆ SetNumberOfYMinorTicks()

void vtkXYPlotActor::SetNumberOfYMinorTicks ( int  num)

◆ GetNumberOfYMinorTicks()

int vtkXYPlotActor::GetNumberOfYMinorTicks ( )

◆ SetLegend()

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.

◆ GetLegend()

virtual vtkTypeBool vtkXYPlotActor::GetLegend ( )
virtual

◆ LegendOn()

virtual void vtkXYPlotActor::LegendOn ( )
virtual

◆ LegendOff()

virtual void vtkXYPlotActor::LegendOff ( )
virtual

◆ SetTitlePosition() [1/2]

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

Set/Get the position of the title.

This has no effect if AdjustTitlePosition is true.

◆ SetTitlePosition() [2/2]

void vtkXYPlotActor::SetTitlePosition ( double  [2])

◆ GetTitlePosition() [1/3]

virtual double* vtkXYPlotActor::GetTitlePosition ( )
virtual

◆ GetTitlePosition() [2/3]

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

◆ GetTitlePosition() [3/3]

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

◆ SetAdjustTitlePosition()

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.

◆ GetAdjustTitlePosition()

virtual vtkTypeBool vtkXYPlotActor::GetAdjustTitlePosition ( )
virtual

◆ AdjustTitlePositionOn()

virtual void vtkXYPlotActor::AdjustTitlePositionOn ( )
virtual

◆ AdjustTitlePositionOff()

virtual void vtkXYPlotActor::AdjustTitlePositionOff ( )
virtual

◆ SetAdjustTitlePositionMode()

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

◆ GetAdjustTitlePositionMode()

virtual int vtkXYPlotActor::GetAdjustTitlePositionMode ( )
virtual

◆ SetLegendPosition() [1/2]

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.

◆ SetLegendPosition() [2/2]

void vtkXYPlotActor::SetLegendPosition ( double  [2])

◆ GetLegendPosition() [1/3]

virtual double* vtkXYPlotActor::GetLegendPosition ( )
virtual

◆ GetLegendPosition() [2/3]

virtual void vtkXYPlotActor::GetLegendPosition ( double &  ,
double &   
)
virtual

◆ GetLegendPosition() [3/3]

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

◆ SetLegendPosition2() [1/2]

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

◆ SetLegendPosition2() [2/2]

void vtkXYPlotActor::SetLegendPosition2 ( double  [2])

◆ GetLegendPosition2() [1/3]

virtual double* vtkXYPlotActor::GetLegendPosition2 ( )
virtual

◆ GetLegendPosition2() [2/3]

virtual void vtkXYPlotActor::GetLegendPosition2 ( double &  ,
double &   
)
virtual

◆ GetLegendPosition2() [3/3]

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

◆ SetTitleTextProperty()

virtual void vtkXYPlotActor::SetTitleTextProperty ( vtkTextProperty p)
virtual

Set/Get the title text property.

◆ GetTitleTextProperty()

virtual vtkTextProperty* vtkXYPlotActor::GetTitleTextProperty ( )
virtual

◆ SetAxisTitleTextProperty()

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.

◆ GetAxisTitleTextProperty()

virtual vtkTextProperty* vtkXYPlotActor::GetAxisTitleTextProperty ( )
virtual

◆ SetAxisLabelTextProperty()

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.

◆ GetAxisLabelTextProperty()

virtual vtkTextProperty* vtkXYPlotActor::GetAxisLabelTextProperty ( )
virtual

◆ SetLogx()

virtual void vtkXYPlotActor::SetLogx ( vtkTypeBool  )
virtual

Enable/Disable plotting of Log of x-values.

◆ GetLogx()

virtual vtkTypeBool vtkXYPlotActor::GetLogx ( )
virtual

◆ LogxOn()

virtual void vtkXYPlotActor::LogxOn ( )
virtual

◆ LogxOff()

virtual void vtkXYPlotActor::LogxOff ( )
virtual

◆ SetLabelFormat()

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.

◆ GetLabelFormat()

const char* vtkXYPlotActor::GetLabelFormat ( )
inline

Definition at line 560 of file vtkXYPlotActor.h.

◆ SetXLabelFormat()

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

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

◆ GetXLabelFormat()

virtual char* vtkXYPlotActor::GetXLabelFormat ( )
virtual

◆ SetYLabelFormat()

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

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

◆ GetYLabelFormat()

virtual char* vtkXYPlotActor::GetYLabelFormat ( )
virtual

◆ SetBorder()

virtual void vtkXYPlotActor::SetBorder ( int  )
virtual

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

The value is specified in pixels.

◆ GetBorder()

virtual int vtkXYPlotActor::GetBorder ( )
virtual

◆ GetPlotPoints() [2/2]

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.

◆ SetPlotPoints() [2/2]

virtual void vtkXYPlotActor::SetPlotPoints ( vtkTypeBool  )
virtual

◆ PlotPointsOn()

virtual void vtkXYPlotActor::PlotPointsOn ( )
virtual

◆ PlotPointsOff()

virtual void vtkXYPlotActor::PlotPointsOff ( )
virtual

◆ GetPlotLines() [2/2]

virtual vtkTypeBool vtkXYPlotActor::GetPlotLines ( )
virtual

Set/Get whether the lines are rendered.

The line width can be set in the property object.

◆ SetPlotLines() [2/2]

virtual void vtkXYPlotActor::SetPlotLines ( vtkTypeBool  )
virtual

◆ PlotLinesOn()

virtual void vtkXYPlotActor::PlotLinesOn ( )
virtual

◆ PlotLinesOff()

virtual void vtkXYPlotActor::PlotLinesOff ( )
virtual

◆ SetGlyphSize()

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.

◆ GetGlyphSize()

virtual double vtkXYPlotActor::GetGlyphSize ( )
virtual

◆ ViewportToPlotCoordinate() [1/2]

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)

◆ ViewportToPlotCoordinate() [2/2]

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.

◆ SetPlotCoordinate() [1/2]

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

◆ SetPlotCoordinate() [2/2]

void vtkXYPlotActor::SetPlotCoordinate ( double  [2])

◆ GetPlotCoordinate() [1/3]

virtual double* vtkXYPlotActor::GetPlotCoordinate ( )
virtual

◆ GetPlotCoordinate() [2/3]

virtual void vtkXYPlotActor::GetPlotCoordinate ( double &  ,
double &   
)
virtual

◆ GetPlotCoordinate() [3/3]

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

◆ PlotToViewportCoordinate() [1/2]

void vtkXYPlotActor::PlotToViewportCoordinate ( vtkViewport viewport,
double &  u,
double &  v 
)

Given a plot coordinate, return the viewpoint position.

◆ PlotToViewportCoordinate() [2/2]

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.)

◆ SetViewportCoordinate() [1/2]

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

◆ SetViewportCoordinate() [2/2]

void vtkXYPlotActor::SetViewportCoordinate ( double  [2])

◆ GetViewportCoordinate() [1/3]

virtual double* vtkXYPlotActor::GetViewportCoordinate ( )
virtual

◆ GetViewportCoordinate() [2/3]

virtual void vtkXYPlotActor::GetViewportCoordinate ( double &  ,
double &   
)
virtual

◆ GetViewportCoordinate() [3/3]

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

◆ IsInPlot()

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)?

◆ SetChartBox()

virtual void vtkXYPlotActor::SetChartBox ( vtkTypeBool  )
virtual

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

◆ GetChartBox()

virtual vtkTypeBool vtkXYPlotActor::GetChartBox ( )
virtual

◆ ChartBoxOn()

virtual void vtkXYPlotActor::ChartBoxOn ( )
virtual

◆ ChartBoxOff()

virtual void vtkXYPlotActor::ChartBoxOff ( )
virtual

◆ SetChartBorder()

virtual void vtkXYPlotActor::SetChartBorder ( vtkTypeBool  )
virtual

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

◆ GetChartBorder()

virtual vtkTypeBool vtkXYPlotActor::GetChartBorder ( )
virtual

◆ ChartBorderOn()

virtual void vtkXYPlotActor::ChartBorderOn ( )
virtual

◆ ChartBorderOff()

virtual void vtkXYPlotActor::ChartBorderOff ( )
virtual

◆ GetChartBoxProperty()

vtkProperty2D* vtkXYPlotActor::GetChartBoxProperty ( )
inline

Get the box vtkProperty2D.

Definition at line 682 of file vtkXYPlotActor.h.

◆ SetShowReferenceXLine()

virtual void vtkXYPlotActor::SetShowReferenceXLine ( vtkTypeBool  )
virtual

Set/Get if the X reference line is visible.

hidden by default

◆ GetShowReferenceXLine()

virtual vtkTypeBool vtkXYPlotActor::GetShowReferenceXLine ( )
virtual

◆ ShowReferenceXLineOn()

virtual void vtkXYPlotActor::ShowReferenceXLineOn ( )
virtual

◆ ShowReferenceXLineOff()

virtual void vtkXYPlotActor::ShowReferenceXLineOff ( )
virtual

◆ SetReferenceXValue()

virtual void vtkXYPlotActor::SetReferenceXValue ( double  )
virtual

Set/Get the value for the X reference line.

◆ GetReferenceXValue()

virtual double vtkXYPlotActor::GetReferenceXValue ( )
virtual

◆ SetShowReferenceYLine()

virtual void vtkXYPlotActor::SetShowReferenceYLine ( vtkTypeBool  )
virtual

Set/Get if the Y reference line is visible.

hidden by default

◆ GetShowReferenceYLine()

virtual vtkTypeBool vtkXYPlotActor::GetShowReferenceYLine ( )
virtual

◆ ShowReferenceYLineOn()

virtual void vtkXYPlotActor::ShowReferenceYLineOn ( )
virtual

◆ ShowReferenceYLineOff()

virtual void vtkXYPlotActor::ShowReferenceYLineOff ( )
virtual

◆ SetReferenceYValue()

virtual void vtkXYPlotActor::SetReferenceYValue ( double  )
virtual

Set/Get the value for the Y reference line.

◆ GetReferenceYValue()

virtual double vtkXYPlotActor::GetReferenceYValue ( )
virtual

◆ GetMTime()

vtkMTimeType vtkXYPlotActor::GetMTime ( )
overridevirtual

Take into account the modified time of internal helper classes.

Reimplemented from vtkObject.

◆ PrintAsCSV()

void vtkXYPlotActor::PrintAsCSV ( ostream &  os)

Write the XY Ploat Actor as a CSV (comma separated value) representation.

◆ RenderOpaqueGeometry()

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.

◆ RenderOverlay()

int vtkXYPlotActor::RenderOverlay ( vtkViewport )
overridevirtual

Reimplemented from vtkProp.

◆ RenderTranslucentPolygonalGeometry()

int vtkXYPlotActor::RenderTranslucentPolygonalGeometry ( vtkViewport )
inlineoverridevirtual

Reimplemented from vtkProp.

Definition at line 736 of file vtkXYPlotActor.h.

◆ HasTranslucentPolygonalGeometry()

vtkTypeBool vtkXYPlotActor::HasTranslucentPolygonalGeometry ( )
overridevirtual

Does this prop have some translucent polygonal geometry?

Reimplemented from vtkProp.

◆ ReleaseGraphicsResources()

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.

◆ SetXTitlePosition()

void vtkXYPlotActor::SetXTitlePosition ( double  position)

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

◆ GetXTitlePosition()

double vtkXYPlotActor::GetXTitlePosition ( )

◆ SetYTitlePosition()

virtual void vtkXYPlotActor::SetYTitlePosition ( int  )
virtual

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

◆ GetYTitlePosition()

virtual int vtkXYPlotActor::GetYTitlePosition ( )
virtual

◆ SetYTitlePositionToTop()

void vtkXYPlotActor::SetYTitlePositionToTop ( )
inline

Definition at line 765 of file vtkXYPlotActor.h.

◆ SetYTitlePositionToHCenter()

void vtkXYPlotActor::SetYTitlePositionToHCenter ( )
inline

Definition at line 766 of file vtkXYPlotActor.h.

◆ SetYTitlePositionToVCenter()

void vtkXYPlotActor::SetYTitlePositionToVCenter ( )
inline

Definition at line 767 of file vtkXYPlotActor.h.

◆ SetPlotGlyphType()

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

Set plot properties.

◆ SetLineWidth()

virtual void vtkXYPlotActor::SetLineWidth ( double  )
virtual

◆ AddUserCurvesPoint()

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

◆ RemoveAllActiveCurves()

virtual void vtkXYPlotActor::RemoveAllActiveCurves ( )
virtual

◆ SetLegendBorder()

virtual void vtkXYPlotActor::SetLegendBorder ( int  )
virtual

Set legend properties.

◆ SetLegendBox()

virtual void vtkXYPlotActor::SetLegendBox ( int  )
virtual

◆ SetLegendUseBackground()

virtual void vtkXYPlotActor::SetLegendUseBackground ( int  )
virtual

◆ SetLegendBackgroundColor()

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

◆ SetTitleColor()

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

Set title properties.

◆ SetTitleFontFamily()

virtual void vtkXYPlotActor::SetTitleFontFamily ( int  )
virtual

◆ SetTitleBold()

virtual void vtkXYPlotActor::SetTitleBold ( int  )
virtual

◆ SetTitleItalic()

virtual void vtkXYPlotActor::SetTitleItalic ( int  )
virtual

◆ SetTitleShadow()

virtual void vtkXYPlotActor::SetTitleShadow ( int  )
virtual

◆ SetTitleFontSize()

virtual void vtkXYPlotActor::SetTitleFontSize ( int  )
virtual

◆ SetTitleJustification()

virtual void vtkXYPlotActor::SetTitleJustification ( int  )
virtual

◆ SetTitleVerticalJustification()

virtual void vtkXYPlotActor::SetTitleVerticalJustification ( int  )
virtual

◆ SetXAxisColor()

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

Set axes properties.

◆ SetYAxisColor()

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

◆ SetAxisTitleColor()

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

Set axis title properties.

◆ SetAxisTitleFontFamily()

virtual void vtkXYPlotActor::SetAxisTitleFontFamily ( int  )
virtual

◆ SetAxisTitleBold()

virtual void vtkXYPlotActor::SetAxisTitleBold ( int  )
virtual

◆ SetAxisTitleItalic()

virtual void vtkXYPlotActor::SetAxisTitleItalic ( int  )
virtual

◆ SetAxisTitleShadow()

virtual void vtkXYPlotActor::SetAxisTitleShadow ( int  )
virtual

◆ SetAxisTitleFontSize()

virtual void vtkXYPlotActor::SetAxisTitleFontSize ( int  )
virtual

◆ SetAxisTitleJustification()

virtual void vtkXYPlotActor::SetAxisTitleJustification ( int  )
virtual

◆ SetAxisTitleVerticalJustification()

virtual void vtkXYPlotActor::SetAxisTitleVerticalJustification ( int  )
virtual

◆ SetAxisLabelColor()

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

Set axis label properties.

◆ SetAxisLabelFontFamily()

virtual void vtkXYPlotActor::SetAxisLabelFontFamily ( int  )
virtual

◆ SetAxisLabelBold()

virtual void vtkXYPlotActor::SetAxisLabelBold ( int  )
virtual

◆ SetAxisLabelItalic()

virtual void vtkXYPlotActor::SetAxisLabelItalic ( int  )
virtual

◆ SetAxisLabelShadow()

virtual void vtkXYPlotActor::SetAxisLabelShadow ( int  )
virtual

◆ SetAxisLabelFontSize()

virtual void vtkXYPlotActor::SetAxisLabelFontSize ( int  )
virtual

◆ SetAxisLabelJustification()

virtual void vtkXYPlotActor::SetAxisLabelJustification ( int  )
virtual

◆ SetAxisLabelVerticalJustification()

virtual void vtkXYPlotActor::SetAxisLabelVerticalJustification ( int  )
virtual

◆ InitializeEntries()

void vtkXYPlotActor::InitializeEntries ( )
protected

◆ ComputeXRange()

void vtkXYPlotActor::ComputeXRange ( double  range[2],
double *  lengths 
)
protected

◆ ComputeYRange()

void vtkXYPlotActor::ComputeYRange ( double  range[2])
protected

◆ ComputeDORange()

void vtkXYPlotActor::ComputeDORange ( double  xrange[2],
double  yrange[2],
double *  lengths 
)
protected

◆ CreatePlotData()

virtual void vtkXYPlotActor::CreatePlotData ( int *  pos,
int *  pos2,
double  xRange[2],
double  yRange[2],
double *  norms,
int  numDS,
int  numDO 
)
protectedvirtual

◆ PlaceAxes()

void vtkXYPlotActor::PlaceAxes ( vtkViewport viewport,
int *  size,
int  pos[2],
int  pos2[2] 
)
protected

◆ GenerateClipPlanes()

void vtkXYPlotActor::GenerateClipPlanes ( int *  pos,
int *  pos2 
)
protected

◆ ComputeGlyphScale()

double vtkXYPlotActor::ComputeGlyphScale ( int  i,
int *  pos,
int *  pos2 
)
protected

◆ ClipPlotData()

void vtkXYPlotActor::ClipPlotData ( int *  pos,
int *  pos2,
vtkPolyData pd 
)
protected

◆ TransformPoint()

double* vtkXYPlotActor::TransformPoint ( int  pos[2],
int  pos2[2],
double  x[3],
double  xNew[3] 
)
protected

Member Data Documentation

◆ InputConnectionHolder

vtkXYPlotActorConnections* vtkXYPlotActor::InputConnectionHolder
protected

Definition at line 844 of file vtkXYPlotActor.h.

◆ SelectedInputScalars

char** vtkXYPlotActor::SelectedInputScalars
protected

Definition at line 845 of file vtkXYPlotActor.h.

◆ SelectedInputScalarsComponent

vtkIntArray* vtkXYPlotActor::SelectedInputScalarsComponent
protected

Definition at line 846 of file vtkXYPlotActor.h.

◆ DataObjectInputConnectionHolder

vtkXYPlotActorConnections* vtkXYPlotActor::DataObjectInputConnectionHolder
protected

Definition at line 847 of file vtkXYPlotActor.h.

◆ Title

char* vtkXYPlotActor::Title
protected

Definition at line 848 of file vtkXYPlotActor.h.

◆ XTitle

char* vtkXYPlotActor::XTitle
protected

Definition at line 849 of file vtkXYPlotActor.h.

◆ YTitleActor

vtkTextActor* vtkXYPlotActor::YTitleActor
protected

Definition at line 850 of file vtkXYPlotActor.h.

◆ XValues

int vtkXYPlotActor::XValues
protected

Definition at line 851 of file vtkXYPlotActor.h.

◆ NumberOfXLabels

int vtkXYPlotActor::NumberOfXLabels
protected

Definition at line 852 of file vtkXYPlotActor.h.

◆ NumberOfYLabels

int vtkXYPlotActor::NumberOfYLabels
protected

Definition at line 853 of file vtkXYPlotActor.h.

◆ Logx

vtkTypeBool vtkXYPlotActor::Logx
protected

Definition at line 854 of file vtkXYPlotActor.h.

◆ XLabelFormat

char* vtkXYPlotActor::XLabelFormat
protected

Definition at line 855 of file vtkXYPlotActor.h.

◆ YLabelFormat

char* vtkXYPlotActor::YLabelFormat
protected

Definition at line 856 of file vtkXYPlotActor.h.

◆ XRange

double vtkXYPlotActor::XRange[2]
protected

Definition at line 857 of file vtkXYPlotActor.h.

◆ YRange

double vtkXYPlotActor::YRange[2]
protected

Definition at line 858 of file vtkXYPlotActor.h.

◆ XComputedRange

double vtkXYPlotActor::XComputedRange[2]
protected

Definition at line 859 of file vtkXYPlotActor.h.

◆ YComputedRange

double vtkXYPlotActor::YComputedRange[2]
protected

Definition at line 860 of file vtkXYPlotActor.h.

◆ Border

int vtkXYPlotActor::Border
protected

Definition at line 861 of file vtkXYPlotActor.h.

◆ PlotLines

vtkTypeBool vtkXYPlotActor::PlotLines
protected

Definition at line 862 of file vtkXYPlotActor.h.

◆ PlotPoints

vtkTypeBool vtkXYPlotActor::PlotPoints
protected

Definition at line 863 of file vtkXYPlotActor.h.

◆ PlotCurveLines

vtkTypeBool vtkXYPlotActor::PlotCurveLines
protected

Definition at line 864 of file vtkXYPlotActor.h.

◆ PlotCurvePoints

vtkTypeBool vtkXYPlotActor::PlotCurvePoints
protected

Definition at line 865 of file vtkXYPlotActor.h.

◆ ExchangeAxes

vtkTypeBool vtkXYPlotActor::ExchangeAxes
protected

Definition at line 866 of file vtkXYPlotActor.h.

◆ ReverseXAxis

vtkTypeBool vtkXYPlotActor::ReverseXAxis
protected

Definition at line 867 of file vtkXYPlotActor.h.

◆ ReverseYAxis

vtkTypeBool vtkXYPlotActor::ReverseYAxis
protected

Definition at line 868 of file vtkXYPlotActor.h.

◆ AdjustXLabels

int vtkXYPlotActor::AdjustXLabels
protected

Definition at line 869 of file vtkXYPlotActor.h.

◆ AdjustYLabels

int vtkXYPlotActor::AdjustYLabels
protected

Definition at line 870 of file vtkXYPlotActor.h.

◆ AdjustTitlePosition

vtkTypeBool vtkXYPlotActor::AdjustTitlePosition
protected

Definition at line 871 of file vtkXYPlotActor.h.

◆ TitlePosition

double vtkXYPlotActor::TitlePosition[2]
protected

Definition at line 872 of file vtkXYPlotActor.h.

◆ AdjustTitlePositionMode

int vtkXYPlotActor::AdjustTitlePositionMode
protected

Definition at line 873 of file vtkXYPlotActor.h.

◆ TitleMapper

vtkTextMapper* vtkXYPlotActor::TitleMapper
protected

Definition at line 875 of file vtkXYPlotActor.h.

◆ TitleActor

vtkActor2D* vtkXYPlotActor::TitleActor
protected

Definition at line 876 of file vtkXYPlotActor.h.

◆ TitleTextProperty

vtkTextProperty* vtkXYPlotActor::TitleTextProperty
protected

Definition at line 877 of file vtkXYPlotActor.h.

◆ XAxis

vtkAxisActor2D* vtkXYPlotActor::XAxis
protected

Definition at line 879 of file vtkXYPlotActor.h.

◆ YAxis

vtkAxisActor2D* vtkXYPlotActor::YAxis
protected

Definition at line 880 of file vtkXYPlotActor.h.

◆ AxisTitleTextProperty

vtkTextProperty* vtkXYPlotActor::AxisTitleTextProperty
protected

Definition at line 882 of file vtkXYPlotActor.h.

◆ AxisLabelTextProperty

vtkTextProperty* vtkXYPlotActor::AxisLabelTextProperty
protected

Definition at line 883 of file vtkXYPlotActor.h.

◆ ViewportCoordinate

double vtkXYPlotActor::ViewportCoordinate[2]
protected

Definition at line 885 of file vtkXYPlotActor.h.

◆ PlotCoordinate

double vtkXYPlotActor::PlotCoordinate[2]
protected

Definition at line 886 of file vtkXYPlotActor.h.

◆ DataObjectPlotMode

int vtkXYPlotActor::DataObjectPlotMode
protected

Definition at line 889 of file vtkXYPlotActor.h.

◆ XComponent

vtkIntArray* vtkXYPlotActor::XComponent
protected

Definition at line 890 of file vtkXYPlotActor.h.

◆ YComponent

vtkIntArray* vtkXYPlotActor::YComponent
protected

Definition at line 891 of file vtkXYPlotActor.h.

◆ LinesOn

vtkIntArray* vtkXYPlotActor::LinesOn
protected

Definition at line 892 of file vtkXYPlotActor.h.

◆ PointsOn

vtkIntArray* vtkXYPlotActor::PointsOn
protected

Definition at line 893 of file vtkXYPlotActor.h.

◆ NumberOfInputs

int vtkXYPlotActor::NumberOfInputs
protected

Definition at line 898 of file vtkXYPlotActor.h.

◆ PlotData

vtkPolyData** vtkXYPlotActor::PlotData
protected

Definition at line 899 of file vtkXYPlotActor.h.

◆ PlotGlyph

vtkGlyph2D** vtkXYPlotActor::PlotGlyph
protected

Definition at line 900 of file vtkXYPlotActor.h.

◆ PlotAppend

vtkAppendPolyData** vtkXYPlotActor::PlotAppend
protected

Definition at line 901 of file vtkXYPlotActor.h.

◆ PlotMapper

vtkPolyDataMapper2D** vtkXYPlotActor::PlotMapper
protected

Definition at line 902 of file vtkXYPlotActor.h.

◆ PlotActor

vtkActor2D** vtkXYPlotActor::PlotActor
protected

Definition at line 903 of file vtkXYPlotActor.h.

◆ Legend

vtkTypeBool vtkXYPlotActor::Legend
protected

Definition at line 908 of file vtkXYPlotActor.h.

◆ LegendPosition

double vtkXYPlotActor::LegendPosition[2]
protected

Definition at line 909 of file vtkXYPlotActor.h.

◆ LegendPosition2

double vtkXYPlotActor::LegendPosition2[2]
protected

Definition at line 910 of file vtkXYPlotActor.h.

◆ LegendActor

vtkLegendBoxActor* vtkXYPlotActor::LegendActor
protected

Definition at line 911 of file vtkXYPlotActor.h.

◆ GlyphSource

vtkGlyphSource2D* vtkXYPlotActor::GlyphSource
protected

Definition at line 912 of file vtkXYPlotActor.h.

◆ ClipPlanes

vtkPlanes* vtkXYPlotActor::ClipPlanes
protected

Definition at line 913 of file vtkXYPlotActor.h.

◆ GlyphSize

double vtkXYPlotActor::GlyphSize
protected

Definition at line 914 of file vtkXYPlotActor.h.

◆ ChartBox

vtkTypeBool vtkXYPlotActor::ChartBox
protected

Definition at line 917 of file vtkXYPlotActor.h.

◆ ChartBoxPolyData

vtkPolyData* vtkXYPlotActor::ChartBoxPolyData
protected

Definition at line 918 of file vtkXYPlotActor.h.

◆ ChartBoxMapper

vtkPolyDataMapper2D* vtkXYPlotActor::ChartBoxMapper
protected

Definition at line 919 of file vtkXYPlotActor.h.

◆ ChartBoxActor

vtkActor2D* vtkXYPlotActor::ChartBoxActor
protected

Definition at line 920 of file vtkXYPlotActor.h.

◆ ChartBorder

vtkTypeBool vtkXYPlotActor::ChartBorder
protected

Definition at line 921 of file vtkXYPlotActor.h.

◆ ChartBorderPolyData

vtkPolyData* vtkXYPlotActor::ChartBorderPolyData
protected

Definition at line 922 of file vtkXYPlotActor.h.

◆ ChartBorderMapper

vtkPolyDataMapper2D* vtkXYPlotActor::ChartBorderMapper
protected

Definition at line 923 of file vtkXYPlotActor.h.

◆ ChartBorderActor

vtkActor2D* vtkXYPlotActor::ChartBorderActor
protected

Definition at line 924 of file vtkXYPlotActor.h.

◆ ShowReferenceXLine

vtkTypeBool vtkXYPlotActor::ShowReferenceXLine
protected

Definition at line 927 of file vtkXYPlotActor.h.

◆ ShowReferenceYLine

vtkTypeBool vtkXYPlotActor::ShowReferenceYLine
protected

Definition at line 928 of file vtkXYPlotActor.h.

◆ ReferenceXValue

double vtkXYPlotActor::ReferenceXValue
protected

Definition at line 929 of file vtkXYPlotActor.h.

◆ ReferenceYValue

double vtkXYPlotActor::ReferenceYValue
protected

Definition at line 930 of file vtkXYPlotActor.h.

◆ ReferenceLinesPolyData

vtkPolyData* vtkXYPlotActor::ReferenceLinesPolyData
protected

Definition at line 932 of file vtkXYPlotActor.h.

◆ ReferenceLinesMapper

vtkPolyDataMapper2D* vtkXYPlotActor::ReferenceLinesMapper
protected

Definition at line 933 of file vtkXYPlotActor.h.

◆ ReferenceLinesActor

vtkActor2D* vtkXYPlotActor::ReferenceLinesActor
protected

Definition at line 934 of file vtkXYPlotActor.h.

◆ CachedSize

int vtkXYPlotActor::CachedSize[2]
protected

Definition at line 937 of file vtkXYPlotActor.h.

◆ BuildTime

vtkTimeStamp vtkXYPlotActor::BuildTime
protected

Definition at line 938 of file vtkXYPlotActor.h.

◆ ActiveCurve

vtkSmartPointer<vtkDoubleArray> vtkXYPlotActor::ActiveCurve
protected

Definition at line 952 of file vtkXYPlotActor.h.

◆ YAxisTitleSize

int vtkXYPlotActor::YAxisTitleSize
protected

Definition at line 954 of file vtkXYPlotActor.h.

◆ ActiveCurveIndex

int vtkXYPlotActor::ActiveCurveIndex
protected

Definition at line 955 of file vtkXYPlotActor.h.

◆ PlotColorIndex

int vtkXYPlotActor::PlotColorIndex
protected

Definition at line 956 of file vtkXYPlotActor.h.


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