VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkPlotLine Class Reference

Class for drawing an XY line plot given two columns from a vtkTable. More...

#include <vtkPlotLine.h>

Inheritance diagram for vtkPlotLine:
Inheritance graph
[legend]
Collaboration diagram for vtkPlotLine:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPlotPoints Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPlotLineNewInstance () 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 vtkPlotLineSafeDownCast (vtkObjectBase *o)
static vtkPlotLineNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkPlotLine ()
 ~vtkPlotLine ()

Detailed Description

Class for drawing an XY line plot given two columns from a vtkTable.

Tests:
vtkPlotLine (Tests)

Definition at line 33 of file vtkPlotLine.h.


Member Typedef Documentation

Reimplemented from vtkPlotPoints.

Definition at line 36 of file vtkPlotLine.h.


Constructor & Destructor Documentation

vtkPlotLine::vtkPlotLine ( ) [protected]
vtkPlotLine::~vtkPlotLine ( ) [protected]

Member Function Documentation

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.

Reimplemented from vtkPlotPoints.

virtual vtkObjectBase* vtkPlotLine::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPlotPoints.

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.


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