00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkStructuredPointsToPolyDataFilter.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00042 #ifndef __vtkStructuredPointsToPolyDataFilter_h 00043 #define __vtkStructuredPointsToPolyDataFilter_h 00044 00045 #include "vtkPolyDataSource.h" 00046 00047 class vtkImageData; 00048 00049 class VTK_FILTERING_EXPORT vtkStructuredPointsToPolyDataFilter : public vtkPolyDataSource 00050 { 00051 public: 00052 vtkTypeRevisionMacro(vtkStructuredPointsToPolyDataFilter,vtkPolyDataSource); 00053 void PrintSelf(ostream& os, vtkIndent indent); 00054 00056 00057 virtual void SetInput(vtkImageData *input); 00058 vtkImageData *GetInput(); 00060 00061 protected: 00062 vtkStructuredPointsToPolyDataFilter(); 00063 ~vtkStructuredPointsToPolyDataFilter(); 00064 00065 void ComputeInputUpdateExtents(vtkDataObject *output); 00066 virtual int FillInputPortInformation(int, vtkInformation*); 00067 00068 private: 00069 vtkStructuredPointsToPolyDataFilter(const vtkStructuredPointsToPolyDataFilter&); // Not implemented. 00070 void operator=(const vtkStructuredPointsToPolyDataFilter&); // Not implemented. 00071 }; 00072 00073 #endif 00074 00075