Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

IO/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 =========================================================================*/
00043 #ifndef __vtkOBJReader_h
00044 #define __vtkOBJReader_h
00045 
00046 #include "vtkPolyDataSource.h"
00047 
00048 class VTK_IO_EXPORT vtkOBJReader : public vtkPolyDataSource 
00049 {
00050 public:
00051   static vtkOBJReader *New();
00052   vtkTypeRevisionMacro(vtkOBJReader,vtkPolyDataSource);
00053   void PrintSelf(ostream& os, vtkIndent indent);
00054 
00056 
00057   vtkSetStringMacro(FileName);
00058   vtkGetStringMacro(FileName);
00060 
00061 protected:
00062   vtkOBJReader();
00063   ~vtkOBJReader();
00064   
00065   void Execute();
00066 
00067   char *FileName;
00068 private:
00069   vtkOBJReader(const vtkOBJReader&);  // Not implemented.
00070   void operator=(const vtkOBJReader&);  // Not implemented.
00071 };
00072 
00073 #endif
00074 
00075