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 =========================================================================*/ 00042 #ifndef __vtkStructuredPointsSource_h 00043 #define __vtkStructuredPointsSource_h 00044 00045 #include "vtkSource.h" 00046 00047 class vtkStructuredPoints; 00048 00049 class VTK_FILTERING_EXPORT vtkStructuredPointsSource : public vtkSource 00050 { 00051 public: 00052 vtkTypeRevisionMacro(vtkStructuredPointsSource,vtkSource); 00053 void PrintSelf(ostream& os, vtkIndent indent); 00054 00056 00057 void SetOutput(vtkStructuredPoints *output); 00058 vtkStructuredPoints *GetOutput(); 00059 vtkStructuredPoints *GetOutput(int idx); 00061 00062 protected: 00063 vtkStructuredPointsSource(); 00064 ~vtkStructuredPointsSource() {}; 00065 00066 // Default method performs Update to get information. Not all the old 00067 // structured points sources compute information 00068 void ExecuteInformation(); 00069 00070 private: 00071 vtkStructuredPointsSource(const vtkStructuredPointsSource&); // Not implemented. 00072 void operator=(const vtkStructuredPointsSource&); // Not implemented. 00073 }; 00074 00075 #endif 00076 00077