00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkStructuredPointsSource.h 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 =========================================================================*/ 00025 #ifndef __vtkStructuredPointsSource_h 00026 #define __vtkStructuredPointsSource_h 00027 00028 #include "vtkSource.h" 00029 00030 class vtkStructuredPoints; 00031 00032 class VTK_FILTERING_EXPORT vtkStructuredPointsSource : public vtkSource 00033 { 00034 public: 00035 vtkTypeMacro(vtkStructuredPointsSource,vtkSource); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 00039 00040 void SetOutput(vtkStructuredPoints *output); 00041 vtkStructuredPoints *GetOutput(); 00042 vtkStructuredPoints *GetOutput(int idx); 00044 00045 protected: 00046 vtkStructuredPointsSource(); 00047 ~vtkStructuredPointsSource() {}; 00048 00049 // Default method performs Update to get information. Not all the old 00050 // structured points sources compute information 00051 void ExecuteInformation(); 00052 00053 virtual int FillOutputPortInformation(int, vtkInformation*); 00054 private: 00055 vtkStructuredPointsSource(const vtkStructuredPointsSource&); // Not implemented. 00056 void operator=(const vtkStructuredPointsSource&); // Not implemented. 00057 }; 00058 00059 #endif 00060 00061