00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPointSetSource.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 =========================================================================*/ 00021 #ifndef __vtkPointSetSource_h 00022 #define __vtkPointSetSource_h 00023 00024 #include "vtkSource.h" 00025 00026 class vtkPointSet; 00027 00028 class VTK_FILTERING_EXPORT vtkPointSetSource : public vtkSource 00029 { 00030 public: 00031 vtkTypeMacro(vtkPointSetSource,vtkSource); 00032 void PrintSelf(ostream& os, vtkIndent indent); 00033 00035 00036 vtkPointSet *GetOutput(); 00037 vtkPointSet *GetOutput(int idx); 00038 void SetOutput(vtkPointSet *output); 00040 00041 protected: 00042 vtkPointSetSource(); 00043 ~vtkPointSetSource() {}; 00044 00045 virtual int FillOutputPortInformation(int, vtkInformation*); 00046 private: 00047 vtkPointSetSource(const vtkPointSetSource&); // Not implemented. 00048 void operator=(const vtkPointSetSource&); // Not implemented. 00049 }; 00050 00051 #endif 00052 00053