VTK
|
Class for drawing an XY line plot or bag given two columns from a vtkTable. More...
#include <vtkPlotFunctionalBag.h>
Class for drawing an XY line plot or bag given two columns from a vtkTable.
Depending on the number of components, this class will draw either a line plot (for 1 component column) or, for two components columns, a filled polygonal band (the bag) going from the first to the second component on the Y-axis along the X-axis. The filter vtkExtractFunctionalBagPlot is intended to create such "bag" columns.
Definition at line 47 of file vtkPlotFunctionalBag.h.
Reimplemented from vtkPlot.
Definition at line 50 of file vtkPlotFunctionalBag.h.
vtkPlotFunctionalBag::vtkPlotFunctionalBag | ( | ) | [protected] |
vtkPlotFunctionalBag::~vtkPlotFunctionalBag | ( | ) | [protected] |
static int vtkPlotFunctionalBag::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 vtkPlotFunctionalBag::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 vtkPlotFunctionalBag* vtkPlotFunctionalBag::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPlot.
virtual vtkObjectBase* vtkPlotFunctionalBag::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPlot.
Reimplemented from vtkPlot.
virtual void vtkPlotFunctionalBag::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
static vtkPlotFunctionalBag* vtkPlotFunctionalBag::New | ( | ) | [static] |
Creates a functional bag plot object.
Reimplemented from vtkObject.
virtual void vtkPlotFunctionalBag::Update | ( | ) | [virtual] |
Perform any updates to the item that may be necessary before rendering. The scene should take care of calling this on all items before their Paint function is invoked.
Reimplemented from vtkAbstractContextItem.
virtual bool vtkPlotFunctionalBag::Paint | ( | vtkContext2D * | painter | ) | [virtual] |
Paint event for the plot, called whenever the chart needs to be drawn.
Reimplemented from vtkAbstractContextItem.
virtual bool vtkPlotFunctionalBag::PaintLegend | ( | vtkContext2D * | painter, |
const vtkRectf & | rect, | ||
int | legendIndex | ||
) | [virtual] |
Paint legend event for the 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 vtkPlotFunctionalBag::GetBounds | ( | double | bounds[4] | ) | [virtual] |
Get the bounds for this plot as (Xmin, Xmax, Ymin, Ymax).
Reimplemented from vtkPlot.
virtual void vtkPlotFunctionalBag::GetUnscaledInputBounds | ( | double | bounds[4] | ) | [virtual] |
Get the non-log-scaled bounds on chart inputs for this plot as (Xmin, Xmax, Ymin, Ymax).
Reimplemented from vtkPlot.
void vtkPlotFunctionalBag::SetLookupTable | ( | vtkScalarsToColors * | lut | ) |
Specify a lookup table for the mapper to use.
Specify a lookup table for the mapper to use.
virtual void vtkPlotFunctionalBag::CreateDefaultLookupTable | ( | ) | [virtual] |
Create default lookup table. Generally used to create one when none is available with the scalar data.
virtual vtkIdType vtkPlotFunctionalBag::GetNearestPoint | ( | const vtkVector2f & | point, |
const vtkVector2f & | tolerance, | ||
vtkVector2f * | location | ||
) | [virtual] |
Function to query a plot for the nearest point to the specified coordinate. Returns the index of the data series with which the point is associated or -1.
Reimplemented from vtkPlot.
bool vtkPlotFunctionalBag::GetDataArrays | ( | vtkTable * | table, |
vtkDataArray * | array[2] | ||
) | [protected] |
Populate the data arrays ready to operate on input data.
bool vtkPlotFunctionalBag::UpdateTableCache | ( | vtkTable * | ) | [protected] |
Update the table cache.
vtkTimeStamp vtkPlotFunctionalBag::BuildTime [protected] |
The cache is marked dirty until it has been initialized.
Definition at line 114 of file vtkPlotFunctionalBag.h.
vtkScalarsToColors* vtkPlotFunctionalBag::LookupTable [protected] |
Lookup Table for coloring points by scalar value
Definition at line 117 of file vtkPlotFunctionalBag.h.
vtkNew<vtkPlotLine> vtkPlotFunctionalBag::Line [protected] |
The plot line delegate for line series
Definition at line 120 of file vtkPlotFunctionalBag.h.
vtkNew<vtkPoints2D> vtkPlotFunctionalBag::BagPoints [protected] |
The bag points ordered in quadstrip fashion
Definition at line 123 of file vtkPlotFunctionalBag.h.
bool vtkPlotFunctionalBag::LogX [protected] |
Definition at line 125 of file vtkPlotFunctionalBag.h.
bool vtkPlotFunctionalBag::LogY [protected] |
Definition at line 125 of file vtkPlotFunctionalBag.h.