00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkStructuredPointsToUnstructuredGridFilter.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 =========================================================================*/ 00026 #ifndef __vtkStructuredPointsToUnstructuredGridFilter_h 00027 #define __vtkStructuredPointsToUnstructuredGridFilter_h 00028 00029 #include "vtkUnstructuredGridSource.h" 00030 00031 class vtkImageData; 00032 00033 class VTK_FILTERING_EXPORT vtkStructuredPointsToUnstructuredGridFilter : public vtkUnstructuredGridSource 00034 { 00035 public: 00036 vtkTypeRevisionMacro(vtkStructuredPointsToUnstructuredGridFilter,vtkUnstructuredGridSource); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00040 00041 void SetInput(vtkImageData *input); 00042 vtkImageData *GetInput(); 00044 00045 protected: 00046 vtkStructuredPointsToUnstructuredGridFilter(); 00047 ~vtkStructuredPointsToUnstructuredGridFilter(); 00048 00049 void ComputeInputUpdateExtents(vtkDataObject *output); 00050 virtual int FillInputPortInformation(int, vtkInformation*); 00051 00052 private: 00053 vtkStructuredPointsToUnstructuredGridFilter(const vtkStructuredPointsToUnstructuredGridFilter&); // Not implemented. 00054 void operator=(const vtkStructuredPointsToUnstructuredGridFilter&); // Not implemented. 00055 }; 00056 00057 #endif 00058 00059