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