|
VTK
|
Class for drawing an XY line plot given two columns from a vtkTable. More...
#include <vtkPlotLine.h>
Public Types | |
| typedef vtkPlotPoints | Superclass |
Public Types inherited from vtkPlotPoints | |
| typedef vtkPlot | Superclass |
| enum | { NONE = VTK_MARKER_NONE, CROSS = VTK_MARKER_CROSS, PLUS = VTK_MARKER_PLUS, SQUARE = VTK_MARKER_SQUARE, CIRCLE = VTK_MARKER_CIRCLE, DIAMOND = VTK_MARKER_DIAMOND } |
Public Types inherited from vtkPlot | |
| typedef vtkContextItem | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkPlotLine * | NewInstance () const |
| virtual void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual bool | Paint (vtkContext2D *painter) |
| virtual bool | PaintLegend (vtkContext2D *painter, const vtkRectf &rect, int legendIndex) |
Public Member Functions inherited from vtkPlotPoints | |
| vtkPlotPoints * | NewInstance () const |
| virtual void | Update () |
| virtual void | GetBounds (double bounds[4]) |
| virtual void | GetUnscaledInputBounds (double bounds[4]) |
| virtual void | CreateDefaultLookupTable () |
| vtkStdString | GetColorArrayName () |
| virtual bool | SelectPoints (const vtkVector2f &min, const vtkVector2f &max) |
| virtual bool | SelectPointsInPolygon (const vtkContextPolygon &polygon) |
| void | SetLookupTable (vtkScalarsToColors *lut) |
| vtkScalarsToColors * | GetLookupTable () |
| virtual void | SetScalarVisibility (int) |
| virtual int | GetScalarVisibility () |
| virtual void | ScalarVisibilityOn () |
| virtual void | ScalarVisibilityOff () |
| void | SelectColorArray (vtkIdType arrayNum) |
| void | SelectColorArray (const vtkStdString &arrayName) |
| virtual vtkIdType | GetNearestPoint (const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location) |
| virtual int | GetMarkerStyle () |
| virtual void | SetMarkerStyle (int) |
| virtual float | GetMarkerSize () |
| virtual void | SetMarkerSize (float) |
| virtual vtkStdString | GetValidPointMaskName () |
| virtual void | SetValidPointMaskName (vtkStdString) |
Public Member Functions inherited from vtkPlot | |
| vtkPlot * | NewInstance () const |
| virtual void | SetWidth (float width) |
| virtual float | GetWidth () |
| virtual void | SetLabel (const vtkStdString &label) |
| virtual vtkStdString | GetLabel () |
| virtual void | SetLabels (vtkStringArray *labels) |
| virtual vtkStringArray * | GetLabels () |
| virtual int | GetNumberOfLabels () |
| vtkStdString | GetLabel (vtkIdType index) |
| void | SetIndexedLabels (vtkStringArray *labels) |
| virtual vtkStringArray * | GetIndexedLabels () |
| vtkContextMapper2D * | GetData () |
| virtual vtkTable * | GetInput () |
| virtual void | SetInputArray (int index, const vtkStdString &name) |
| virtual void | SetSelection (vtkIdTypeArray *id) |
| virtual vtkIdTypeArray * | GetSelection () |
| virtual void | SetTooltipLabelFormat (const vtkStdString &label) |
| virtual vtkStdString | GetTooltipLabelFormat () |
| virtual void | SetTooltipNotation (int notation) |
| virtual int | GetTooltipNotation () |
| virtual void | SetTooltipPrecision (int precision) |
| virtual int | GetTooltipPrecision () |
| virtual vtkStdString | GetTooltipLabel (const vtkVector2f &plotPos, vtkIdType seriesIndex, vtkIdType segmentIndex) |
| virtual void | SetColor (unsigned char r, unsigned char g, unsigned char b, unsigned char a) |
| virtual void | SetColor (double r, double g, double b) |
| virtual void | GetColor (double rgb[3]) |
| void | GetColor (unsigned char rgb[3]) |
| void | SetPen (vtkPen *pen) |
| vtkPen * | GetPen () |
| void | SetBrush (vtkBrush *brush) |
| vtkBrush * | GetBrush () |
| virtual bool | GetUseIndexForXSeries () |
| virtual void | SetUseIndexForXSeries (bool) |
| virtual void | SetInputData (vtkTable *table) |
| virtual void | SetInputData (vtkTable *table, const vtkStdString &xColumn, const vtkStdString &yColumn) |
| void | SetInputData (vtkTable *table, vtkIdType xColumn, vtkIdType yColumn) |
| virtual vtkAxis * | GetXAxis () |
| virtual void | SetXAxis (vtkAxis *axis) |
| virtual vtkAxis * | GetYAxis () |
| virtual void | SetYAxis (vtkAxis *axis) |
| virtual void | SetProperty (const vtkStdString &property, const vtkVariant &var) |
| virtual vtkVariant | GetProperty (const vtkStdString &property) |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkPlotLine * | SafeDownCast (vtkObjectBase *o) |
| static vtkPlotLine * | New () |
Static Public Member Functions inherited from vtkPlotPoints | |
| static int | IsTypeOf (const char *type) |
| static vtkPlotPoints * | SafeDownCast (vtkObjectBase *o) |
| static vtkPlotPoints * | New () |
Static Public Member Functions inherited from vtkPlot | |
| static int | IsTypeOf (const char *type) |
| static vtkPlot * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkPlotLine () | |
| ~vtkPlotLine () | |
Protected Member Functions inherited from vtkPlotPoints | |
| vtkPlotPoints () | |
| ~vtkPlotPoints () | |
| bool | UpdateTableCache (vtkTable *table) |
| void | CalculateLogSeries () |
| void | FindBadPoints () |
| void | CalculateBounds (double bounds[4]) |
| void | CreateSortedPoints () |
Protected Member Functions inherited from vtkPlot | |
| vtkPlot () | |
| ~vtkPlot () | |
| vtkStdString | GetNumber (double position, vtkAxis *axis) |
Additional Inherited Members | |
Protected Attributes inherited from vtkPlotPoints | |
| vtkIdTypeArray * | BadPoints |
| vtkCharArray * | ValidPointMask |
| vtkStdString | ValidPointMaskName |
| vtkTimeStamp | BuildTime |
| bool | LogX |
| bool | LogY |
| double | UnscaledInputBounds [4] |
| vtkPoints2D * | Points |
| vtkNew< vtkFloatArray > | SelectedPoints |
| VectorPIMPL * | Sorted |
| int | MarkerStyle |
| float | MarkerSize |
| vtkScalarsToColors * | LookupTable |
| vtkUnsignedCharArray * | Colors |
| int | ScalarVisibility |
| vtkStdString | ColorArrayName |
Protected Attributes inherited from vtkPlot | |
| vtkSmartPointer< vtkPen > | Pen |
| vtkSmartPointer< vtkBrush > | Brush |
| vtkSmartPointer< vtkStringArray > | Labels |
| vtkSmartPointer< vtkStringArray > | AutoLabels |
| vtkSmartPointer< vtkStringArray > | IndexedLabels |
| bool | UseIndexForXSeries |
| vtkSmartPointer < vtkContextMapper2D > | Data |
| vtkIdTypeArray * | Selection |
| vtkAxis * | XAxis |
| vtkAxis * | YAxis |
| vtkStdString | TooltipLabelFormat |
| vtkStdString | TooltipDefaultLabelFormat |
| int | TooltipNotation |
| int | TooltipPrecision |
Class for drawing an XY line plot given two columns from a vtkTable.
Definition at line 30 of file vtkPlotLine.h.
| typedef vtkPlotPoints vtkPlotLine::Superclass |
Definition at line 33 of file vtkPlotLine.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkPlotPoints.
|
static |
|
protectedvirtual |
Reimplemented from vtkPlotPoints.
| vtkPlotLine* vtkPlotLine::NewInstance | ( | ) | const |
|
virtual |
Reimplemented from vtkPlotPoints.
|
static |
Creates a 2D Chart object.
|
virtual |
Paint event for the XY plot, called whenever the chart needs to be drawn.
Reimplemented from vtkPlotPoints.
|
virtual |
Paint legend event for the XY plot, called whenever the legend needs the plot items symbol/mark/line drawn. A rect is supplied with the lower left corner of the rect (elements 0 and 1) and with width x height (elements 2 and 3). The plot can choose how to fill the space supplied.
Reimplemented from vtkPlotPoints.
1.8.6