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.
59 lines
1.9 KiB
59 lines
1.9 KiB
/*=========================================================================
|
|
|
|
Program: Visualization Toolkit
|
|
Module: $RCSfile: vtkUnstructuredGridToPolyDataFilter.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 vtkUnstructuredGridToPolyDataFilter - abstract filter class
|
|
// .SECTION Description
|
|
// vtkUnstructuredGridToPolyDataFilter is an abstract filter class whose
|
|
// subclasses take as input datasets of type vtkUnstructuredGrid and
|
|
// generate polygonal data on output.
|
|
|
|
// .SECTION See Also
|
|
// vtkContourGrid
|
|
|
|
#ifndef __vtkUnstructuredGridToPolyDataFilter_h
|
|
#define __vtkUnstructuredGridToPolyDataFilter_h
|
|
|
|
#include "vtkPolyDataSource.h"
|
|
|
|
class vtkUnstructuredGrid;
|
|
|
|
class VTK_FILTERING_EXPORT vtkUnstructuredGridToPolyDataFilter : public vtkPolyDataSource
|
|
{
|
|
public:
|
|
vtkTypeRevisionMacro(vtkUnstructuredGridToPolyDataFilter,vtkPolyDataSource);
|
|
void PrintSelf(ostream& os, vtkIndent indent);
|
|
|
|
// Description:
|
|
// Set / get the input data or filter.
|
|
virtual void SetInput(vtkUnstructuredGrid *input);
|
|
vtkUnstructuredGrid *GetInput();
|
|
|
|
// Description:
|
|
// Do not let datasets return more than requested.
|
|
virtual void ComputeInputUpdateExtents( vtkDataObject *output );
|
|
|
|
protected:
|
|
vtkUnstructuredGridToPolyDataFilter();
|
|
~vtkUnstructuredGridToPolyDataFilter();
|
|
|
|
virtual int FillInputPortInformation(int, vtkInformation*);
|
|
|
|
private:
|
|
vtkUnstructuredGridToPolyDataFilter(const vtkUnstructuredGridToPolyDataFilter&); // Not implemented.
|
|
void operator=(const vtkUnstructuredGridToPolyDataFilter&); // Not implemented.
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|