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.
56 lines
1.9 KiB
56 lines
1.9 KiB
/*=========================================================================
|
|
|
|
Program: Visualization Toolkit
|
|
Module: $RCSfile: vtkStructuredPointsToUnstructuredGridFilter.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 vtkStructuredPointsToUnstructuredGridFilter - abstract filter class
|
|
// .SECTION Description
|
|
// vtkStructuredPointsToUnstructuredGridFilter is an abstract filter class
|
|
// whose subclasses take on input structured points and generate unstructured
|
|
// grid data on output.
|
|
|
|
// .SECTION See Also
|
|
// vtkClipVolume
|
|
|
|
#ifndef __vtkStructuredPointsToUnstructuredGridFilter_h
|
|
#define __vtkStructuredPointsToUnstructuredGridFilter_h
|
|
|
|
#include "vtkUnstructuredGridSource.h"
|
|
|
|
class vtkImageData;
|
|
|
|
class VTK_FILTERING_EXPORT vtkStructuredPointsToUnstructuredGridFilter : public vtkUnstructuredGridSource
|
|
{
|
|
public:
|
|
vtkTypeRevisionMacro(vtkStructuredPointsToUnstructuredGridFilter,vtkUnstructuredGridSource);
|
|
void PrintSelf(ostream& os, vtkIndent indent);
|
|
|
|
// Description:
|
|
// Set / get the input data or filter.
|
|
void SetInput(vtkImageData *input);
|
|
vtkImageData *GetInput();
|
|
|
|
protected:
|
|
vtkStructuredPointsToUnstructuredGridFilter();
|
|
~vtkStructuredPointsToUnstructuredGridFilter();
|
|
|
|
void ComputeInputUpdateExtents(vtkDataObject *output);
|
|
virtual int FillInputPortInformation(int, vtkInformation*);
|
|
|
|
private:
|
|
vtkStructuredPointsToUnstructuredGridFilter(const vtkStructuredPointsToUnstructuredGridFilter&); // Not implemented.
|
|
void operator=(const vtkStructuredPointsToUnstructuredGridFilter&); // Not implemented.
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|