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 =========================================================================*/ 00026 #ifndef __vtkDataSetToStructuredPointsFilter_h 00027 #define __vtkDataSetToStructuredPointsFilter_h 00028 00029 #include "vtkStructuredPointsSource.h" 00030 00031 class vtkDataSet; 00032 00033 class VTK_FILTERING_EXPORT vtkDataSetToStructuredPointsFilter : public vtkStructuredPointsSource 00034 { 00035 public: 00036 vtkTypeRevisionMacro(vtkDataSetToStructuredPointsFilter,vtkStructuredPointsSource); 00037 void PrintSelf(ostream& os, vtkIndent indent); 00038 00040 00041 virtual void SetInput(vtkDataSet *input); 00042 vtkDataSet *GetInput(); 00044 00045 protected: 00046 vtkDataSetToStructuredPointsFilter(); 00047 ~vtkDataSetToStructuredPointsFilter(); 00048 00049 // All the DataSetToStructuredPointsFilters require all their input. 00050 void ComputeInputUpdateExtents(vtkDataObject *output); 00051 00052 virtual int FillInputPortInformation(int, vtkInformation*); 00053 00054 private: 00055 vtkDataSetToStructuredPointsFilter(const vtkDataSetToStructuredPointsFilter&); // Not implemented. 00056 void operator=(const vtkDataSetToStructuredPointsFilter&); // Not implemented. 00057 }; 00058 00059 #endif 00060 00061 00062 00063 00064