VTK
|
Class for drawing an XY line plot given two columns from a vtkTable. More...
#include <vtkPlotLine.h>
Public Types | |
typedef vtkPlotPoints | 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) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPlotLine * | SafeDownCast (vtkObjectBase *o) |
static vtkPlotLine * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPlotLine () | |
~vtkPlotLine () |
Class for drawing an XY line plot given two columns from a vtkTable.
Definition at line 33 of file vtkPlotLine.h.
typedef vtkPlotPoints vtkPlotLine::Superclass |
Reimplemented from vtkPlotPoints.
Definition at line 36 of file vtkPlotLine.h.
vtkPlotLine::vtkPlotLine | ( | ) | [protected] |
vtkPlotLine::~vtkPlotLine | ( | ) | [protected] |
static int vtkPlotLine::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type 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 vtkPlotPoints.
virtual int vtkPlotLine::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 vtkPlotPoints.
static vtkPlotLine* vtkPlotLine::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPlotPoints.
virtual vtkObjectBase* vtkPlotLine::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPlotPoints.
vtkPlotLine* vtkPlotLine::NewInstance | ( | ) | const |
Reimplemented from vtkPlotPoints.
virtual void vtkPlotLine::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
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 vtkPlotPoints.
static vtkPlotLine* vtkPlotLine::New | ( | ) | [static] |
Creates a 2D Chart object.
Reimplemented from vtkPlotPoints.
virtual bool vtkPlotLine::Paint | ( | vtkContext2D * | painter | ) | [virtual] |
Paint event for the XY plot, called whenever the chart needs to be drawn.
Reimplemented from vtkPlotPoints.
virtual bool vtkPlotLine::PaintLegend | ( | vtkContext2D * | painter, |
const vtkRectf & | rect, | ||
int | legendIndex | ||
) | [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.