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.1 KiB
61 lines
2.1 KiB
/*=========================================================================
|
|
|
|
Program: Visualization Toolkit
|
|
Module: $RCSfile: vtkStructuredPointsToStructuredPointsFilter.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 vtkStructuredPointsToStructuredPointsFilter - abstract filter class
|
|
// .SECTION Description
|
|
// vtkStructuredPointsToStructuredPointsFilter is an abstract filter class
|
|
// whose subclasses take on input structured points and generate
|
|
// structured points on output.
|
|
|
|
// .SECTION See Also
|
|
// vtkExtractVOI vtkImageDifference vtkSweptSurface
|
|
// vtkTransformStructuredPoints
|
|
|
|
#ifndef __vtkStructuredPointsToStructuredPointsFilter_h
|
|
#define __vtkStructuredPointsToStructuredPointsFilter_h
|
|
|
|
#include "vtkStructuredPointsSource.h"
|
|
|
|
class vtkImageData;
|
|
|
|
class VTK_FILTERING_EXPORT vtkStructuredPointsToStructuredPointsFilter : public vtkStructuredPointsSource
|
|
{
|
|
public:
|
|
vtkTypeRevisionMacro(vtkStructuredPointsToStructuredPointsFilter,vtkStructuredPointsSource);
|
|
void PrintSelf(ostream& os, vtkIndent indent);
|
|
|
|
// Description:
|
|
// Set / get the input data or filter.
|
|
void SetInput(vtkImageData *input);
|
|
vtkImageData *GetInput();
|
|
|
|
protected:
|
|
vtkStructuredPointsToStructuredPointsFilter();
|
|
~vtkStructuredPointsToStructuredPointsFilter();
|
|
|
|
// Since input[0] and output are of same type, we can create this
|
|
// method that defaults to just copying information.
|
|
void ExecuteInformation();
|
|
|
|
void ComputeInputUpdateExtents(vtkDataObject *output);
|
|
virtual int FillInputPortInformation(int, vtkInformation*);
|
|
|
|
private:
|
|
vtkStructuredPointsToStructuredPointsFilter(const vtkStructuredPointsToStructuredPointsFilter&); // Not implemented.
|
|
void operator=(const vtkStructuredPointsToStructuredPointsFilter&); // Not implemented.
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|