Find file
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (49 sloc) 2.24 KB
/*=========================================================================
Program: Visualization Toolkit
Module: vtkPolyDataToPolyDataFilter.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
// .NAME vtkPolyDataToPolyDataFilter - abstract filter class
// .SECTION Description
// vtkPolyDataToPolyDataFilter is an abstract filter class whose subclasses
// take as input polygonal data and generate polygonal data on output.
// .SECTION Warning
// This used to be the parent class for most polydata filter in VTK4.x, now
// this role has been replaced by vtkPolyDataAlgorithm. You should consider
// using vtkPolyDataAlgorithm instead of this class,
// when writing filter for VTK5 and above.
// This class was kept to ensure full backward compatibility.
// .SECTION See Also
// vtkCleanPolyData vtkDecimate vtkFeatureEdges
// vtkMaskPolyData vtkPolyDataNormals vtkSmoothPolyDataFilter vtkStripper
// vtkTransformPolyDataFilter vtkTriangleFilter vtkTubeFilter
// vtkLinearExtrusionFilter vtkRibbonFilter vtkRotationalExtrusionFilter
// vtkShrinkPolyData
// vtkPolyDataAlgorithm
#ifndef __vtkPolyDataToPolyDataFilter_h
#define __vtkPolyDataToPolyDataFilter_h
#include "vtkPolyDataSource.h"
class vtkPolyData;
class VTK_FILTERING_EXPORT vtkPolyDataToPolyDataFilter : public vtkPolyDataSource
{
public:
vtkTypeMacro(vtkPolyDataToPolyDataFilter,vtkPolyDataSource);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Set / get the input data or filter.
virtual void SetInput(vtkPolyData *input);
vtkPolyData *GetInput();
protected:
vtkPolyDataToPolyDataFilter();
~vtkPolyDataToPolyDataFilter() {};
virtual int FillInputPortInformation(int, vtkInformation*);
private:
vtkPolyDataToPolyDataFilter(const vtkPolyDataToPolyDataFilter&); // Not implemented.
void operator=(const vtkPolyDataToPolyDataFilter&); // Not implemented.
};
#endif