00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPointSetSource.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 =========================================================================*/ 00034 #ifndef __vtkPointDataSource_h 00035 #define __vtkPointDataSource_h 00036 00037 #include "vtkSource.h" 00038 00039 class vtkPointSet; 00040 00041 class VTK_FILTERING_EXPORT vtkPointSetSource : public vtkSource 00042 { 00043 public: 00044 vtkTypeRevisionMacro(vtkPointSetSource,vtkSource); 00045 void PrintSelf(ostream& os, vtkIndent indent); 00046 00048 00049 vtkPointSet *GetOutput(); 00050 vtkPointSet *GetOutput(int idx); 00051 void SetOutput(vtkPointSet *output); 00053 00054 protected: 00055 vtkPointSetSource(); 00056 ~vtkPointSetSource() {}; 00057 00058 virtual int FillOutputPortInformation(int, vtkInformation*); 00059 private: 00060 vtkPointSetSource(const vtkPointSetSource&); // Not implemented. 00061 void operator=(const vtkPointSetSource&); // Not implemented. 00062 }; 00063 00064 #endif 00065 00066