|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class. More...
|
|
vtkXYPlotActor * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
void | 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) |
|
vtkPolyData * | GetPlotSymbol (int i) |
|
void | SetPlotLabel (int i, const char *label) |
|
const char * | GetPlotLabel (int i) |
|
virtual vtkTypeBool | GetPlotCurvePoints () |
|
virtual void | SetPlotCurvePoints (vtkTypeBool) |
|
virtual void | PlotCurvePointsOn () |
|
virtual void | PlotCurvePointsOff () |
|
virtual vtkTypeBool | GetPlotCurveLines () |
|
virtual void | SetPlotCurveLines (vtkTypeBool) |
|
virtual void | PlotCurveLinesOn () |
|
virtual void | PlotCurveLinesOff () |
|
void | SetPlotLines (int i, int) |
|
int | GetPlotLines (int i) |
|
void | SetPlotPoints (int i, int) |
|
int | GetPlotPoints (int i) |
|
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 vtkLegendBoxActor * | GetLegendActor () |
| Retrieve handles to the legend box and glyph source. More...
|
|
virtual vtkGlyphSource2D * | GetGlyphSource () |
|
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 () |
|
vtkAxisActor2D * | GetXAxisActor2D () |
| Retrieve handles to the X and Y axis (so that you can set their text properties for example) More...
|
|
vtkAxisActor2D * | GetYAxisActor2D () |
|
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 vtkTextProperty * | GetTitleTextProperty () |
|
virtual void | SetAxisTitleTextProperty (vtkTextProperty *p) |
| Set/Get the title text property of all axes. More...
|
|
virtual vtkTextProperty * | GetAxisTitleTextProperty () |
|
virtual void | SetAxisLabelTextProperty (vtkTextProperty *p) |
| Set/Get the labels text property of all axes. More...
|
|
virtual vtkTextProperty * | GetAxisLabelTextProperty () |
|
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 () |
|
vtkProperty2D * | GetChartBoxProperty () |
| 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) |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
vtkActor2D * | NewInstance () 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 vtkMapper2D * | GetMapper () |
|
virtual void | SetLayerNumber (int) |
| Set/Get the layer number in the overlay planes into which to render. More...
|
|
virtual int | GetLayerNumber () |
|
vtkProperty2D * | GetProperty () |
| Returns this actor's vtkProperty2D. More...
|
|
virtual void | SetProperty (vtkProperty2D *) |
| Set this vtkProp's vtkProperty2D. More...
|
|
virtual vtkCoordinate * | GetPositionCoordinate () |
| 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 vtkCoordinate * | GetPosition2Coordinate () |
| 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 vtkCoordinate * | GetActualPositionCoordinate (void) |
| Return the actual vtkCoordinate reference that the mapper should use to position the actor. More...
|
|
virtual vtkCoordinate * | GetActualPosition2Coordinate (void) |
| Return the actual vtkCoordinate reference that the mapper should use to position the actor. More...
|
|
vtkProp * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
virtual void | GetActors (vtkPropCollection *) |
| For some exporters and other other operations we must be able to collect all the actors or volumes. More...
|
|
virtual void | 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 vtkAssemblyPath * | GetNextPath () |
|
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 vtkMatrix4x4 * | GetMatrix () |
|
virtual vtkInformation * | GetPropertyKeys () |
| 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 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) |
|
vtkObject * | GetConsumer (int i) |
|
int | IsConsumer (vtkObject *c) |
|
| 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) |
|
vtkCommand * | GetCommand (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) |
|
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...
|
|
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.