VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkSimplePointsReader.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 =========================================================================*/ 00029 #ifndef __vtkSimplePointsReader_h 00030 #define __vtkSimplePointsReader_h 00031 00032 #include "vtkIOLegacyModule.h" // For export macro 00033 #include "vtkPolyDataAlgorithm.h" 00034 00035 class VTKIOLEGACY_EXPORT vtkSimplePointsReader : public vtkPolyDataAlgorithm 00036 { 00037 public: 00038 static vtkSimplePointsReader* New(); 00039 vtkTypeMacro(vtkSimplePointsReader,vtkPolyDataAlgorithm); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 00044 vtkSetStringMacro(FileName); 00045 vtkGetStringMacro(FileName); 00047 00048 protected: 00049 vtkSimplePointsReader(); 00050 ~vtkSimplePointsReader(); 00051 00052 char* FileName; 00053 00054 int RequestData(vtkInformation*, 00055 vtkInformationVector**, 00056 vtkInformationVector*); 00057 private: 00058 vtkSimplePointsReader(const vtkSimplePointsReader&); // Not implemented. 00059 void operator=(const vtkSimplePointsReader&); // Not implemented. 00060 }; 00061 00062 #endif