00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkStructuredPointsSource.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00029 #ifndef __vtkStructuredPointsSource_h 00030 #define __vtkStructuredPointsSource_h 00031 00032 #include "vtkSource.h" 00033 00034 class vtkStructuredPoints; 00035 00036 class VTK_FILTERING_EXPORT vtkStructuredPointsSource : public vtkSource 00037 { 00038 public: 00039 vtkTypeRevisionMacro(vtkStructuredPointsSource,vtkSource); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 00044 void SetOutput(vtkStructuredPoints *output); 00045 vtkStructuredPoints *GetOutput(); 00046 vtkStructuredPoints *GetOutput(int idx); 00048 00049 protected: 00050 vtkStructuredPointsSource(); 00051 ~vtkStructuredPointsSource() {}; 00052 00053 // Default method performs Update to get information. Not all the old 00054 // structured points sources compute information 00055 void ExecuteInformation(); 00056 00057 private: 00058 vtkStructuredPointsSource(const vtkStructuredPointsSource&); // Not implemented. 00059 void operator=(const vtkStructuredPointsSource&); // Not implemented. 00060 }; 00061 00062 #endif 00063 00064