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 =========================================================================*/ 00041 #ifndef __vtkStructuredPointsToUnstructuredGridFilter_h 00042 #define __vtkStructuredPointsToUnstructuredGridFilter_h 00043 00044 #include "vtkUnstructuredGridSource.h" 00045 00046 class vtkImageData; 00047 00048 class VTK_FILTERING_EXPORT vtkStructuredPointsToUnstructuredGridFilter : public vtkUnstructuredGridSource 00049 { 00050 public: 00051 vtkTypeRevisionMacro(vtkStructuredPointsToUnstructuredGridFilter,vtkUnstructuredGridSource); 00052 void PrintSelf(ostream& os, vtkIndent indent); 00053 00055 00056 void SetInput(vtkImageData *input); 00057 vtkImageData *GetInput(); 00059 00060 protected: 00061 vtkStructuredPointsToUnstructuredGridFilter(); 00062 ~vtkStructuredPointsToUnstructuredGridFilter(); 00063 00064 void ComputeInputUpdateExtents(vtkDataObject *output); 00065 virtual int FillInputPortInformation(int, vtkInformation*); 00066 00067 private: 00068 vtkStructuredPointsToUnstructuredGridFilter(const vtkStructuredPointsToUnstructuredGridFilter&); // Not implemented. 00069 void operator=(const vtkStructuredPointsToUnstructuredGridFilter&); // Not implemented. 00070 }; 00071 00072 #endif 00073 00074