Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

vtkAsciiSurfaceReader.h

Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 * 00003 * $Id: vtkAsciiSurfaceReader.h,v 1.3 2004/08/10 07:37:22 xpxqx Exp $ 00004 * 00005 * Copyright (c) 2004 Sean McInerney 00006 * All rights reserved. 00007 * 00008 * See Copyright.txt or http://vtkextensions.sourceforge.net/Copyright.html 00009 * 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 */ 00016 #ifndef VTK_ASCII_SURFACE_READER_H_ 00017 # define VTK_ASCII_SURFACE_READER_H_ 00018 # include "vtkExtensionsIOConfigure.h" // vtkExtensions configuration 00019 // VTK Filtering 00020 # include "vtkPolyDataSource.h" 00021 00022 VTK_EXTENSIONS_IO_NAMESPACE_BEGIN 00023 00040 class VTK_EXTENSIONS_IO_EXPORT vtkAsciiSurfaceReader 00041 : public vtkPolyDataSource 00042 { 00043 public: 00044 static vtkAsciiSurfaceReader* New (void); 00045 vtkTypeRevisionMacro (vtkAsciiSurfaceReader, vtkPolyDataSource); 00046 void PrintSelf (ostream&, vtkIndent); 00047 00050 vtkSetStringMacro (FileName); 00051 vtkGetStringMacro (FileName); 00054 protected: 00055 vtkAsciiSurfaceReader (void); 00056 ~vtkAsciiSurfaceReader(); 00057 00058 void Execute (void); 00059 00060 char* FileName; 00061 00062 void ReadGeometryFile (FILE*, int& nvertices); 00063 00064 private: 00065 vtkAsciiSurfaceReader (const vtkAsciiSurfaceReader&); // Not implemented. 00066 void operator= (const vtkAsciiSurfaceReader&); // Not implemented. 00067 }; 00068 00069 VTK_EXTENSIONS_IO_NAMESPACE_END 00070 00071 #endif /* VTK_ASCII_SURFACE_READER_H_ */ 00072 /* 00073 * End of: $Id: vtkAsciiSurfaceReader.h,v 1.3 2004/08/10 07:37:22 xpxqx Exp $. 00074 * 00075 */

Generated on Tue Aug 10 03:37:04 2004 for vtkExtensions by doxygen 1.3.7