Commit b559c4cd authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

COMP: Removed SetParent - was not in use.

This class was not even using parent, and could use the base method now.
parent 6217b40f
......@@ -721,12 +721,6 @@ bool vtkPlotStacked::SelectPoints(const vtkVector2f& min, const vtkVector2f& max
return this->Selection->GetNumberOfTuples() > 0;
}
//-----------------------------------------------------------------------------
void vtkPlotStacked::SetParent(vtkChartXY *parent)
{
this->Parent = parent;
}
//-----------------------------------------------------------------------------
vtkStringArray *vtkPlotStacked::GetLabels()
{
......
......@@ -92,7 +92,7 @@ public:
//BTX
// Description:
// 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
// Returns the index of the data series with which the point is associated or
// -1.
virtual int GetNearestPoint(const vtkVector2f& point,
const vtkVector2f& tolerance,
......@@ -102,10 +102,6 @@ public:
// Select all points in the specified rectangle.
virtual bool SelectPoints(const vtkVector2f& min, const vtkVector2f& max);
// Description:
// Set the parent, required to accumlate base points when positioning is implicit
virtual void SetParent(vtkChartXY *parent);
//BTX
protected:
vtkPlotStacked();
......@@ -116,7 +112,7 @@ protected:
bool UpdateTableCache(vtkTable *table);
// Descript:
// For stacked plots the Extent data must be greater than (or equal to) the
// For stacked plots the Extent data must be greater than (or equal to) the
// base data. Insure that this is true
void FixExtent();
......@@ -141,10 +137,6 @@ protected:
bool LogX, LogY;
// Description:
// The parent Chart of this Plot
vtkChartXY *Parent;
// Description:
// The color series to use for each series.
vtkSmartPointer<vtkColorSeries> ColorSeries;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment