You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
2.0 KiB
61 lines
2.0 KiB
/*=========================================================================
|
|
|
|
Program: Visualization Toolkit
|
|
Module: $RCSfile: vtkDataSetToPolyDataFilter.h,v $
|
|
|
|
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 vtkDataSetToPolyDataFilter - abstract filter class
|
|
// .SECTION Description
|
|
// vtkDataSetToPolyDataFilter is an abstract filter class whose subclasses
|
|
// take as input any dataset and generate polygonal data on output.
|
|
|
|
// .SECTION See Also
|
|
// vtkContourFilter vtkCutter vtkEdgePoints vtkExtractEdges
|
|
// vtkGeometryFilter vtkGlyph3D vtkHedgeHog vtkHyperStreamline
|
|
// vtkMaskPoints vtkOutlineFilter vtkStreamer vtkTensorGlyph
|
|
// vtkThresholdPoints vtkVectorTopology
|
|
|
|
#ifndef __vtkDataSetToPolyDataFilter_h
|
|
#define __vtkDataSetToPolyDataFilter_h
|
|
|
|
#include "vtkPolyDataSource.h"
|
|
|
|
class vtkDataSet;
|
|
|
|
class VTK_FILTERING_EXPORT vtkDataSetToPolyDataFilter : public vtkPolyDataSource
|
|
{
|
|
public:
|
|
vtkTypeRevisionMacro(vtkDataSetToPolyDataFilter,vtkPolyDataSource);
|
|
void PrintSelf(ostream& os, vtkIndent indent);
|
|
|
|
// Description:
|
|
// Set / get the input data or filter.
|
|
virtual void SetInput(vtkDataSet *input);
|
|
vtkDataSet *GetInput();
|
|
|
|
// Description:
|
|
// Do not let images return more than requested.
|
|
virtual void ComputeInputUpdateExtents( vtkDataObject *output );
|
|
|
|
protected:
|
|
vtkDataSetToPolyDataFilter();
|
|
~vtkDataSetToPolyDataFilter();
|
|
|
|
virtual int FillInputPortInformation(int, vtkInformation*);
|
|
|
|
private:
|
|
vtkDataSetToPolyDataFilter(const vtkDataSetToPolyDataFilter&); // Not implemented.
|
|
void operator=(const vtkDataSetToPolyDataFilter&); // Not implemented.
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|