#include <vtkPlotBar.h>
Definition at line 34 of file vtkPlotBar.h.
Public Types | |
typedef vtkPlot | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual bool | Paint (vtkContext2D *painter) |
virtual bool | PaintLegend (vtkContext2D *painter, float rect[4]) |
virtual void | SetWidth (float width) |
virtual float | GetWidth () |
virtual void | SetOffset (float) |
virtual float | GetOffset () |
virtual void | GetBounds (double bounds[4]) |
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]) |
virtual bool | GetNearestPoint (const vtkVector2f &point, const vtkVector2f &tolerance, vtkVector2f *location) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPlotBar * | SafeDownCast (vtkObject *o) |
static vtkPlotBar * | New () |
Protected Member Functions | |
vtkPlotBar () | |
~vtkPlotBar () | |
bool | UpdateTableCache (vtkTable *table) |
Protected Attributes | |
vtkPoints2D * | Points |
bool | Sorted |
float | Width |
float | Offset |
vtkTimeStamp | BuildTime |
typedef vtkPlot vtkPlotBar::Superclass |
vtkPlotBar::vtkPlotBar | ( | ) | [protected] |
vtkPlotBar::~vtkPlotBar | ( | ) | [protected] |
virtual const char* vtkPlotBar::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPlot.
static int vtkPlotBar::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 vtkPlot.
virtual int vtkPlotBar::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 vtkPlot.
static vtkPlotBar* vtkPlotBar::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPlot.
virtual void vtkPlotBar::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
static vtkPlotBar* vtkPlotBar::New | ( | ) | [static] |
Creates a 2D Chart object.
Reimplemented from vtkObject.
virtual bool vtkPlotBar::Paint | ( | vtkContext2D * | painter | ) | [virtual] |
Paint event for the XY plot, called whenever the chart needs to be drawn
Implements vtkContextItem.
virtual bool vtkPlotBar::PaintLegend | ( | vtkContext2D * | painter, | |
float | rect[4] | |||
) | [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 vtkPlot.
virtual void vtkPlotBar::SetColor | ( | unsigned char | r, | |
unsigned char | g, | |||
unsigned char | b, | |||
unsigned char | a | |||
) | [virtual] |
Set the plot color
Reimplemented from vtkPlot.
virtual void vtkPlotBar::SetColor | ( | double | r, | |
double | g, | |||
double | b | |||
) | [virtual] |
Set the plot color
Reimplemented from vtkPlot.
virtual void vtkPlotBar::GetColor | ( | double | rgb[3] | ) | [virtual] |
Set the plot color
Reimplemented from vtkPlot.
virtual void vtkPlotBar::SetWidth | ( | float | width | ) | [virtual] |
Set the width of the line.
Reimplemented from vtkPlot.
virtual float vtkPlotBar::GetWidth | ( | ) | [virtual] |
Get the width of the line.
Reimplemented from vtkPlot.
virtual void vtkPlotBar::SetOffset | ( | float | ) | [virtual] |
virtual float vtkPlotBar::GetOffset | ( | ) | [virtual] |
virtual void vtkPlotBar::GetBounds | ( | double | bounds[4] | ) | [virtual] |
Get the bounds for this mapper as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
Reimplemented from vtkPlot.
virtual bool vtkPlotBar::GetNearestPoint | ( | const vtkVector2f & | point, | |
const vtkVector2f & | tolerance, | |||
vtkVector2f * | location | |||
) | [virtual] |
Function to query a plot for the nearest point to the specified coordinate.
Reimplemented from vtkPlot.
bool vtkPlotBar::UpdateTableCache | ( | vtkTable * | table | ) | [protected] |
Update the table cache.
vtkPoints2D* vtkPlotBar::Points [protected] |
Store a well packed set of XY coordinates for this data series.
Definition at line 93 of file vtkPlotBar.h.
bool vtkPlotBar::Sorted [protected] |
Definition at line 95 of file vtkPlotBar.h.
float vtkPlotBar::Width [protected] |
Definition at line 97 of file vtkPlotBar.h.
float vtkPlotBar::Offset [protected] |
Definition at line 98 of file vtkPlotBar.h.
vtkTimeStamp vtkPlotBar::BuildTime [protected] |
The point cache is marked dirty until it has been initialized.
Definition at line 101 of file vtkPlotBar.h.