00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkDataSetToStructuredPointsFilter.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 =========================================================================*/ 00040 #ifndef __vtkDataSetToStructuredPointsFilter_h 00041 #define __vtkDataSetToStructuredPointsFilter_h 00042 00043 #include "vtkStructuredPointsSource.h" 00044 00045 class vtkDataSet; 00046 00047 class VTK_FILTERING_EXPORT vtkDataSetToStructuredPointsFilter : public vtkStructuredPointsSource 00048 { 00049 public: 00050 vtkTypeRevisionMacro(vtkDataSetToStructuredPointsFilter,vtkStructuredPointsSource); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00054 00055 virtual void SetInput(vtkDataSet *input); 00056 vtkDataSet *GetInput(); 00058 00059 protected: 00060 vtkDataSetToStructuredPointsFilter(); 00061 ~vtkDataSetToStructuredPointsFilter(); 00062 00063 // All the DataSetToStructuredPointsFilters require all their input. 00064 void ComputeInputUpdateExtents(vtkDataObject *output); 00065 00066 virtual int FillInputPortInformation(int, vtkInformation*); 00067 00068 private: 00069 vtkDataSetToStructuredPointsFilter(const vtkDataSetToStructuredPointsFilter&); // Not implemented. 00070 void operator=(const vtkDataSetToStructuredPointsFilter&); // Not implemented. 00071 }; 00072 00073 #endif 00074 00075 00076 00077 00078