Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkOBJReader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkOBJReader.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
00031 #ifndef __vtkOBJReader_h
00032 #define __vtkOBJReader_h
00033 
00034 #include "vtkPolyDataSource.h"
00035 
00036 class VTK_IO_EXPORT vtkOBJReader : public vtkPolyDataSource 
00037 {
00038 public:
00039   static vtkOBJReader *New();
00040   vtkTypeRevisionMacro(vtkOBJReader,vtkPolyDataSource);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044 
00045   vtkSetStringMacro(FileName);
00046   vtkGetStringMacro(FileName);
00048 
00049 protected:
00050   vtkOBJReader();
00051   ~vtkOBJReader();
00052   
00053   void Execute();
00054 
00055   char *FileName;
00056 private:
00057   vtkOBJReader(const vtkOBJReader&);  // Not implemented.
00058   void operator=(const vtkOBJReader&);  // Not implemented.
00059 };
00060 
00061 #endif
00062 
00063