Commit 3ca2c566 authored by brugger's avatar brugger

I modified all the vtk classes that inherit from vtDataSetToPolyDataFilter

to inherit from vtkPolyDataAlgorithm, since vtkDataSetToPolyDataFilter
is deprecated and isn't in VTK6.



git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@19996 18c085ea-50e0-402c-830e-de6fd14e8384
parent e921decd
......@@ -42,6 +42,8 @@
#include <vtkCellData.h>
#include <vtkCellDataToPointData.h>
#include <vtkIdTypeArray.h>
#include <vtkInformation.h>
#include <vtkInformationVector.h>
#include <vtkLineSource.h>
#include <vtkMath.h>
#include <vtkObjectFactory.h>
......@@ -54,8 +56,8 @@
vtkStandardNewMacro(vtkLineoutFilter);
//======================================================================
// Constructor
// ****************************************************************************
// Constructor:
//
// Modifications:
// Kathleen Bonnell, Fri Jul 12 17:19:40 PDT 2002
......@@ -63,7 +65,9 @@ vtkStandardNewMacro(vtkLineoutFilter);
//
// Kathleen Bonnell, Fri Mar 28 12:09:01 PDT 2008
// Removed cd2pd, use VisIt version of vtkProbeFilter.
//======================================================================
//
// ****************************************************************************
vtkLineoutFilter::vtkLineoutFilter()
{
this->Point1[0] = this->Point1[1] = this->Point1[2] = 0.;
......@@ -73,13 +77,15 @@ vtkLineoutFilter::vtkLineoutFilter()
this->Probe = vtkVisItProbeFilter::New();
}
//======================================================================
// Destructor
// ****************************************************************************
// Destructor:
//
// Modifications:
// Kathleen Bonnell, Fri Mar 28 12:09:01 PDT 2008
// Removed cd2pd.
//======================================================================
//
// ****************************************************************************
vtkLineoutFilter::~vtkLineoutFilter()
{
if (this->LineSource != NULL)
......@@ -94,8 +100,8 @@ vtkLineoutFilter::~vtkLineoutFilter()
}
}
//======================================================================
// Standard Execute method.
// ****************************************************************************
// Method: vtkLineoutFilter::RequestData.
//
// Modifications:
// Kathleen Bonnell, Tue Jun 4 09:17:56 PDT 2002
......@@ -117,12 +123,30 @@ vtkLineoutFilter::~vtkLineoutFilter()
// Kathleen Bonnell, Fri Mar 28 12:09:01 PDT 2008
// Removed cd2pd.
//
//======================================================================
void
vtkLineoutFilter::Execute()
// Eric Brugger, Thu Jan 10 09:51:08 PST 2013
// Modified to inherit from vtkPolyDataAlgorithm.
//
// ****************************************************************************
int
vtkLineoutFilter::RequestData(
vtkInformation *vtkNotUsed(request),
vtkInformationVector **inputVector,
vtkInformationVector *outputVector)
{
vtkDebugMacro(<<"Executing vtkLineoutFilter");
vtkDataSet *inDS = this->GetInput();
// get the info objects
vtkInformation *inInfo = inputVector[0]->GetInformationObject(0);
vtkInformation *outInfo = outputVector->GetInformationObject(0);
//
// Initialize some frequently used values.
//
vtkDataSet *inDS = vtkDataSet::SafeDownCast(
inInfo->Get(vtkDataObject::DATA_OBJECT()));
vtkPolyData *outPolys = vtkPolyData::SafeDownCast(
outInfo->Get(vtkDataObject::DATA_OBJECT()));
this->LineSource->SetPoint1(this->Point1);
this->LineSource->SetPoint2(this->Point2);
......@@ -133,7 +157,7 @@ vtkLineoutFilter::Execute()
if (inDS->GetCellData()->GetScalars() == NULL)
{
vtkErrorMacro(<<"No Scalars to probe!");
return;
return 1;
}
this->Probe->SetCellData(1);
}
......@@ -153,10 +177,9 @@ vtkLineoutFilter::Execute()
{
probeOut->Delete();
vtkDebugMacro(<<"Probe did not find any valid points");
return;
return 1;
}
vtkPolyData *outPolys = this->GetOutput();
vtkPoints *inPts = probeOut->GetPoints();
vtkIdType i, index, numPoints = validPoints->GetNumberOfTuples();
......@@ -176,7 +199,7 @@ vtkLineoutFilter::Execute()
{
probeOut->Delete();
vtkErrorMacro(<<"Probe did not return point data scalars");
return;
return 1;
}
unsigned char* ghosts = 0;
......@@ -236,13 +259,31 @@ vtkLineoutFilter::Execute()
//
probeOut->Delete();
nonGhostValidPoints->Delete();
return 1;
}
//======================================================================
// ****************************************************************************
// Method: vtkLineoutFilter::FillInputPortInformation
//
// ****************************************************************************
int
vtkLineoutFilter::FillInputPortInformation(int, vtkInformation *info)
{
info->Set(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(), "vtkDataSet");
return 1;
}
// ****************************************************************************
// Method: vtkLineoutFilter::PrintSelf
//
// Modifications:
// Kathleen Bonnell, Fri Jul 12 17:19:40 PDT 2002
// Removed YScale, no longer needed.
//======================================================================
//
// ****************************************************************************
void
vtkLineoutFilter::PrintSelf(ostream& os, vtkIndent indent)
{
......@@ -256,8 +297,3 @@ vtkLineoutFilter::PrintSelf(ostream& os, vtkIndent indent)
os << indent << "Number of Sample points: "
<< this->NumberOfSamplePoints << "\n";
}
......@@ -51,24 +51,31 @@
#ifndef __vtkLineoutFilter_h
#define __vtkLineoutFilter_h
#include <vtkDataSetToPolyDataFilter.h>
#include <visit_vtk_exports.h>
#include <vtkPolyDataAlgorithm.h>
class vtkCellDataToPointData;
class vtkLineSource;
class vtkVisItProbeFilter;
//----------------------------------------------------------------------------
// ***************************************************************************
// Class: vtkLineoutFilter
//
// Modifications:
// Kathleen Bonnell, Fri Mar 28 12:09:01 PDT 2008
// Removed cd2pd, use VisIt version of vtkProbeFilter.
//----------------------------------------------------------------------------
class VISIT_VTK_API vtkLineoutFilter : public vtkDataSetToPolyDataFilter
//
// Eric Brugger, Thu Jan 10 09:45:55 PST 2013
// Modified to inherit from vtkPolyDataAlgorithm.
//
// ***************************************************************************
class VISIT_VTK_API vtkLineoutFilter : public vtkPolyDataAlgorithm
{
public:
static vtkLineoutFilter *New();
vtkTypeMacro(vtkLineoutFilter,vtkDataSetToPolyDataFilter);
vtkTypeMacro(vtkLineoutFilter,vtkPolyDataAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
......@@ -82,15 +89,17 @@ public:
vtkSetMacro(NumberOfSamplePoints, int);
vtkGetMacro(NumberOfSamplePoints, int);
protected:
vtkLineoutFilter();
~vtkLineoutFilter() ;
~vtkLineoutFilter();
vtkLineSource *LineSource;
vtkVisItProbeFilter *Probe;
void Execute();
virtual int RequestData(vtkInformation *,
vtkInformationVector **,
vtkInformationVector *);
virtual int FillInputPortInformation(int port, vtkInformation *info);
private:
double Point1[3];
......@@ -102,5 +111,3 @@ private:
};
#endif
......@@ -17,11 +17,16 @@
=========================================================================*/
#include "vtkSlicer.h"
#include <math.h>
#include <vector>
#include <vtkAppendPolyData.h>
#include <vtkCellData.h>
#include <vtkCutter.h>
#include <vtkDataSet.h>
#include <vtkFloatArray.h>
#include <vtkInformation.h>
#include <vtkInformationVector.h>
#include <vtkObjectFactory.h>
#include <vtkPlane.h>
#include <vtkPointData.h>
......@@ -35,10 +40,6 @@
#include <vtkCreateTriangleHelpers.h>
#include <vtkVisItCutter.h>
#include <math.h>
#include <vector>
vtkStandardNewMacro(vtkSlicer);
vtkSlicer::vtkSlicer()
......@@ -53,15 +54,41 @@ vtkSlicer::~vtkSlicer()
{
}
void vtkSlicer::SetCellList(vtkIdType *cl, vtkIdType size)
void
vtkSlicer::SetCellList(vtkIdType *cl, vtkIdType size)
{
this->CellList = cl;
this->CellListSize = size;
}
void vtkSlicer::Execute()
// ****************************************************************************
// Method: vtkSlicer::RequestData.
//
// Modifications:
// Eric Brugger, Thu Jan 10 10:24:20 PST 2013
// Modified to inherit from vtkPolyDataAlgorithm.
//
// ****************************************************************************
int
vtkSlicer::RequestData(
vtkInformation *vtkNotUsed(request),
vtkInformationVector **inputVector,
vtkInformationVector *outputVector)
{
vtkDataSet *input = GetInput();
vtkDebugMacro(<<"Executing vtkSlicer");
// get the info objects
vtkInformation *inInfo = inputVector[0]->GetInformationObject(0);
vtkInformation *outInfo = outputVector->GetInformationObject(0);
//
// Initialize some frequently used values.
//
input = vtkDataSet::SafeDownCast(
inInfo->Get(vtkDataObject::DATA_OBJECT()));
output = vtkPolyData::SafeDownCast(
outInfo->Get(vtkDataObject::DATA_OBJECT()));
int do_type = input->GetDataObjectType();
if (do_type == VTK_RECTILINEAR_GRID)
......@@ -80,6 +107,20 @@ void vtkSlicer::Execute()
{
GeneralExecute();
}
return 1;
}
// ****************************************************************************
// Method: vtkSlicer::FillInputPortInformation
//
// ****************************************************************************
int
vtkSlicer::FillInputPortInformation(int, vtkInformation *info)
{
info->Set(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(), "vtkDataSet");
return 1;
}
// ****************************************************************************
......@@ -183,6 +224,9 @@ private:
double D;
};
// ****************************************************************************
// Method: vtkSlicer::StructuredGridExecute
//
// Modifications:
// Brad Whitlock, Thu Aug 12 14:51:27 PST 2004
// Added float casts to the pow() arguments so it builds on MSVC7.Net.
......@@ -194,12 +238,15 @@ private:
// I moved the implementation into vtkStructuredCreateTriangles and I added
// different implementations.
//
///////////////////////////////////////////////////////////////////////////////
// Eric Brugger, Thu Jan 10 10:24:20 PST 2013
// Modified to inherit from vtkPolyDataAlgorithm.
//
// ****************************************************************************
void
vtkSlicer::StructuredGridExecute(void)
{
vtkStructuredGrid *sg = (vtkStructuredGrid *) GetInput();
vtkStructuredGrid *sg = (vtkStructuredGrid *)input;
int pt_dims[3];
sg->GetDimensions(pt_dims);
if (pt_dims[0] <= 1 || pt_dims[1] <= 1 || pt_dims[2] <= 1)
......@@ -212,7 +259,6 @@ vtkSlicer::StructuredGridExecute(void)
vtkPoints *inPts = sg->GetPoints();
vtkCellData *inCD = sg->GetCellData();
vtkPointData *inPD = sg->GetPointData();
vtkPolyData *output = GetOutput();
vtkIdType ptSizeGuess = (this->CellList == NULL
? (int) pow(float(nCells), 0.6667f) * 5 + 100
......@@ -304,7 +350,8 @@ private:
// Class: GeneralRectSliceFunction
//
// Purpose:
// Rectilinear slice function that uses GetTuple to access the coordinate arrays.
// Rectilinear slice function that uses GetTuple to access the coordinate
// arrays.
//
// Notes:
//
......@@ -347,6 +394,9 @@ private:
double D;
};
// ****************************************************************************
// Method: vtkSlicer::RectilinearGridExecute
//
// Modifications:
// Brad Whitlock, Thu Aug 12 14:51:27 PST 2004
// Added float casts to the pow() arguments so it builds on MSVC7.Net.
......@@ -359,11 +409,15 @@ private:
// different implementations for float/double and a general method that
// uses GetTuple to get the values.
//
///////////////////////////////////////////////////////////////////////////////
// Eric Brugger, Thu Jan 10 10:24:20 PST 2013
// Modified to inherit from vtkPolyDataAlgorithm.
//
// ****************************************************************************
void vtkSlicer::RectilinearGridExecute(void)
void
vtkSlicer::RectilinearGridExecute(void)
{
vtkRectilinearGrid *rg = (vtkRectilinearGrid *) GetInput();
vtkRectilinearGrid *rg = (vtkRectilinearGrid *)input;
int pt_dims[3];
rg->GetDimensions(pt_dims);
if (pt_dims[0] <= 1 || pt_dims[1] <= 1 || pt_dims[2] <= 1)
......@@ -375,7 +429,6 @@ void vtkSlicer::RectilinearGridExecute(void)
vtkIdType nCells = rg->GetNumberOfCells();
vtkCellData *inCD = rg->GetCellData();
vtkPointData *inPD = rg->GetPointData();
vtkPolyData *output = GetOutput();
vtkIdType ptSizeGuess = (this->CellList == NULL
? (int) pow(float(nCells), 0.6667f) * 5 + 100
......@@ -421,8 +474,9 @@ void vtkSlicer::RectilinearGridExecute(void)
}
// ****************************************************************************
// Modifications:
// Method: vtkSlicer::UnstructuredGridExecute
//
// Modifications:
// Hank Childs, Tue Mar 30 07:07:42 PST 2004
// Add support for slicing vertices.
//
......@@ -435,9 +489,13 @@ void vtkSlicer::RectilinearGridExecute(void)
// Brad Whitlock, Wed Apr 11 11:37:18 PDT 2012
// When we can't slice a cell, insert faces too for polyhedral cells.
//
// Eric Brugger, Thu Jan 10 10:24:20 PST 2013
// Modified to inherit from vtkPolyDataAlgorithm.
//
// ****************************************************************************
void vtkSlicer::UnstructuredGridExecute(void)
void
vtkSlicer::UnstructuredGridExecute(void)
{
// The routine here is a bit trickier than for the Rectilinear or
// Structured grids. We want to slice an unstructured grid -- but that
......@@ -449,13 +507,12 @@ void vtkSlicer::UnstructuredGridExecute(void)
// non-zoo elements. If all the elements are from the zoo, then just
// slice them with no appending.
vtkUnstructuredGrid *ug = (vtkUnstructuredGrid *) GetInput();
vtkUnstructuredGrid *ug = (vtkUnstructuredGrid *)input;
vtkIdType nCells = ug->GetNumberOfCells();
vtkPoints *inPts = ug->GetPoints();
vtkCellData *inCD = ug->GetCellData();
vtkPointData *inPD = ug->GetPointData();
vtkPolyData *output = GetOutput();
vtkIdType ptSizeGuess = (this->CellList == NULL
? (int) pow(float(nCells), 0.6667f) * 5 + 100
......@@ -638,10 +695,17 @@ void vtkSlicer::UnstructuredGridExecute(void)
vertices_on_slice->Delete();
}
// ****************************************************************************
// Modifications:
// Eric Brugger, Thu Jan 10 10:24:20 PST 2013
// Modified to inherit from vtkPolyDataAlgorithm.
//
// ****************************************************************************
void vtkSlicer::GeneralExecute(void)
void
vtkSlicer::GeneralExecute(void)
{
SliceDataset(GetInput(), GetOutput(), false);
SliceDataset(input, output, false);
}
// ****************************************************************************
......@@ -655,7 +719,8 @@ void vtkSlicer::GeneralExecute(void)
//
// ****************************************************************************
void vtkSlicer::SliceDataset(vtkDataSet *in_ds, vtkPolyData *out_pd,
void
vtkSlicer::SliceDataset(vtkDataSet *in_ds, vtkPolyData *out_pd,
bool useVTKFilter)
{
vtkPlane *plane = vtkPlane::New();
......@@ -686,7 +751,13 @@ void vtkSlicer::SliceDataset(vtkDataSet *in_ds, vtkPolyData *out_pd,
plane->Delete();
}
void vtkSlicer::PrintSelf(ostream& os, vtkIndent indent)
// ****************************************************************************
// Method: vtkSlicer::PrintSelf
//
// ****************************************************************************
void
vtkSlicer::PrintSelf(ostream& os, vtkIndent indent)
{
this->Superclass::PrintSelf(os,indent);
......
......@@ -20,15 +20,23 @@
#ifndef __vtkSlicer_h
#define __vtkSlicer_h
#include <visit_vtk_exports.h>
#include "vtkDataSetToPolyDataFilter.h"
#include "vtkPolyDataAlgorithm.h"
// ***************************************************************************
// Class: vtkSlicer
//
// Modifications:
// Eric Brugger, Thu Jan 10 10:19:26 PST 2013
// Modified to inherit from vtkPolyDataAlgorithm.
//
// ***************************************************************************
class VISIT_VTK_API vtkSlicer : public vtkDataSetToPolyDataFilter
class VISIT_VTK_API vtkSlicer : public vtkPolyDataAlgorithm
{
public:
vtkTypeMacro(vtkSlicer,vtkDataSetToPolyDataFilter);
vtkTypeMacro(vtkSlicer,vtkPolyDataAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
......@@ -50,23 +58,28 @@ protected:
vtkSlicer();
~vtkSlicer();
void Execute();
virtual int RequestData(vtkInformation *,
vtkInformationVector **,
vtkInformationVector *);
virtual int FillInputPortInformation(int port, vtkInformation *info);
void RectilinearGridExecute();
void StructuredGridExecute();
void UnstructuredGridExecute();
void GeneralExecute();
void SliceDataset(vtkDataSet *, vtkPolyData *, bool);
vtkDataSet *input;
vtkPolyData *output;
vtkIdType *CellList;
vtkIdType CellListSize;
double Normal[3];
double Origin[3];
private:
vtkSlicer(const vtkSlicer&); // Not implemented.
void operator=(const vtkSlicer&); // Not implemented.
};
#endif
......@@ -47,6 +47,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <vtkDataSet.h>
#include <vtkDoubleArray.h>
#include <vtkFloatArray.h>
#include <vtkInformation.h>
#include <vtkInformationVector.h>
#include <vtkObjectFactory.h>
#include <vtkPointData.h>
#include <vtkPolyData.h>
......@@ -62,35 +64,54 @@ vtkTensorReduceFilter::vtkTensorReduceFilter()
numEls = -1;
}
void vtkTensorReduceFilter::SetStride(int s)
void
vtkTensorReduceFilter::SetStride(int s)
{
numEls = -1;
stride = s;
}
void vtkTensorReduceFilter::SetNumberOfElements(int n)
void
vtkTensorReduceFilter::SetNumberOfElements(int n)
{
stride = -1;
numEls = n;
}
// ****************************************************************************
// Modifications:
// Method: vtkTensorReduceFilter::RequestData
//
// Modifications:
// Kathleen Bonnell, Tue Aug 30 11:11:56 PDT 2005
// Copy other Point and Cell data.
//
// Kathleen Biagas, Wed Sep 5 13:10:18 MST 2012
// Preserve coordinate and tensor data types.
//
// Eric Brugger, Thu Jan 10 12:05:20 PST 2013
// Modified to inherit from vtkPolyDataAlgorithm.
//
// ****************************************************************************
void vtkTensorReduceFilter::Execute(void)
int
vtkTensorReduceFilter::RequestData(
vtkInformation *vtkNotUsed(request),
vtkInformationVector **inputVector,
vtkInformationVector *outputVector)
{
vtkDataSet *input = this->GetInput();
vtkPolyData *output = this->GetOutput();
vtkDebugMacro(<<"Executing vtkTensorReduceFilter");
// get the info objects
vtkInformation *inInfo = inputVector[0]->GetInformationObject(0);
vtkInformation *outInfo = outputVector->GetInformationObject(0);
//
// Initialize some frequently used values.
//
vtkDataSet *input = vtkDataSet::SafeDownCast(
inInfo->Get(vtkDataObject::DATA_OBJECT()));
vtkPolyData *output = vtkPolyData::SafeDownCast(
outInfo->Get(vtkDataObject::DATA_OBJECT()));
vtkCellData *inCd = input->GetCellData();
vtkPointData *inPd = input->GetPointData();
......@@ -106,7 +127,7 @@ void vtkTensorReduceFilter::Execute(void)
if (inPtensors == NULL && inCtensors == NULL)
{
vtkErrorMacro(<<"No tensors to reduce");
return;
return 1;
}
int inPType = (inPtensors ? inPtensors->GetDataType() : VTK_FLOAT);
......@@ -116,7 +137,7 @@ void vtkTensorReduceFilter::Execute(void)
if (stride <= 0 && numEls <= 0)
{
vtkErrorMacro(<<"Invalid stride");
return;
return 1;
}
float actingStride = stride;
......@@ -208,11 +229,27 @@ void vtkTensorReduceFilter::Execute(void)
}
}
// ****************************************************************************
// Method: vtkTensorReduceFilter::FillInputPortInformation
//
// ****************************************************************************
int
vtkTensorReduceFilter::FillInputPortInformation(int, vtkInformation *info)
{
info->Set(vtkAlgorithm::INPUT_REQUIRED_DATA_TYPE(), "vtkDataSet");
return 1;
}
// ****************************************************************************
// Method: vtkTensorReduceFilter::PrintSelf
//
// ****************************************************************************
void vtkTensorReduceFilter::PrintSelf(ostream &os, vtkIndent indent)
void
vtkTensorReduceFilter::PrintSelf(ostream &os, vtkIndent indent)
{
this->Superclass::PrintSelf(os, indent);
os << indent << "Stride: " << this->stride << "\n";
os << indent << "Target number of tensors: " << this->numEls << "\n";
}
......@@ -57,12 +57,21 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define __vtkTensorReduceFilter_h
#include <visit_vtk_exports.h>
#include "vtkDataSetToPolyDataFilter.h"
#include "vtkPolyDataAlgorithm.h"
class VISIT_VTK_API vtkTensorReduceFilter : public vtkDataSetToPolyDataFilter
// ***************************************************************************
// Class: vtkVisItCutter
//
// Modifications:
// Eric Brugger, Thu Jan 10 12:02:36 PST 2013
// Modified to inherit from vtkPolyDataAlgorithm.
//
// ***************************************************************************
class VISIT_VTK_API vtkTensorReduceFilter : public vtkPolyDataAlgorithm
{
public:
vtkTypeMacro(vtkTensorReduceFilter, vtkDataSetToPolyDataFilter);
vtkTypeMacro(vtkTensorReduceFilter, vtkPolyDataAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
......@@ -76,7 +85,10 @@ protected:
vtkTensorReduceFilter();
~vtkTensorReduceFilter() {};
void Execute();
virtual int RequestData(vtkInformation *,
vtkInformationVector **,
vtkInformationVector *);
virtual int FillInputPortInformation(int port, vtkInformation *info);
int stride;
int numEls;
......@@ -87,5 +99,3 @@ private:
};
#endif
......@@ -46,6 +46,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <vtkDataSet.h>
#include <vtkDoubleArray.h>
#include <vtkFloatArray.h>
#include <vtkInformation.h>
#include <vtkInformationVector.h>
#include <vtkObjectFactory.h>
#include <vtkPointData.h>
#include <vtkPolyData.h>
......@@ -67,28 +69,28 @@ vtkVectorReduceFilter::vtkVectorReduceFilter()
origOnly = true;
}
void vtkVectorReduceFilter::SetStride(int s)
void
vtkVectorReduceFilter::SetStride(int s)
{
numEls = -1;
stride = s;
}
void vtkVectorReduceFilter::SetNumberOfElements(int n)
void
vtkVectorReduceFilter::SetNumberOfElements(int n)
{
stride = -1;
numEls = n;
}
void vtkVectorReduceFilter::SetLimitToOriginal(bool lto)
void
vtkVectorReduceFilter::SetLimitToOriginal(bool lto)
{
origOnly = lto;
}
// ****************************************************************************
// Modifications:
//
// Kathleen Bonnell, Fri Feb 8 11:03:49 PST 2002
// vtkVectors has been deprecated in VTK 4.0, use
// vtkDataArray and vtkFloatArray instead.
......@@ -112,12 +114,30 @@ void vtkVectorReduceFilter::SetLimitToOriginal(bool lto)
// Kathleen Biagas, Wed Sep 5 13:24:11 MST 2012
// Preserve coordinate and vector data types.
//
// Eric Brugger, Thu Jan 10 10:13:10 PST 2013
// Modified to inherit from vtkPolyDataAlgorithm.
//
// ****************************************************************************